Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
»client_id.png 93.9 kB 1 05-Dec-2023 05:32 krivacsz
png
»ms_graph_app_permission.png 81.4 kB 1 05-Dec-2023 05:32 krivacsz
png
»ms_graph_delegated.png 107.3 kB 1 05-Dec-2023 05:32 krivacsz
png
»new_registration.png 81.9 kB 3 05-Dec-2023 05:32 krivacsz
png
»new_secret.png 81.9 kB 2 05-Dec-2023 05:32 krivacsz
png
»permission_final.png 165.2 kB 1 05-Dec-2023 05:32 krivacsz
png
»permission_microsoft_graph.png 182.9 kB 2 05-Dec-2023 05:32 krivacsz
png
»register_app.png 230.6 kB 2 05-Dec-2023 05:32 krivacsz
png
»remote_item_app_permission.png 101.1 kB 1 05-Dec-2023 05:32 krivacsz
png
»remote_item_done.png 193.7 kB 1 05-Dec-2023 05:32 krivacsz
png
»remote_item_settings.png 176.3 kB 1 05-Dec-2023 05:32 krivacsz
png
»secret_value.png 42.7 kB 1 05-Dec-2023 05:32 krivacsz

This page (revision-117) was last changed on 19-May-2025 09:59 by krivacsz

This page was created on 05-Dec-2023 05:32 by krivacsz

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

-
Difference between version and

At line 3 changed one line
__Version 10 feature.__\\
It is Microsoft Graph REST API-based integration.\\
__Proxy__: If your server's internet connection uses a proxy server. You need to whitelist domains: login.microsoftonline.com, graph.microsoft.com\\
At line 5 changed one line
__Constraint__: Upload file max size limit: __10 MB__\\
You will start at the Microsoft Azure portal:\\
[https://azure.microsoft.com/en-us/features/azure-portal/]\\
At line 7 changed one line
It is Microsoft Graph REST API based integration.\\
__Ondrive Personal__ and __OneDrive Business__ have different settings.\\
At line 9 changed 2 lines
You will start at the Microsoft azure portal:\\
[https://azure.microsoft.com/en-us/features/azure-portal/]\\
__Application registration: __Go to the App registrations and click on New registration:\\
At line 12 changed one line
__Application registration: __Go to the App registrations and click on New Registration:\\
Name it. Select the Microsoft account types. The redirect URL must end with register_microsoft_graph_api/. Then click on register.\\
At line 14 changed one line
[attachments|new_registration.png]\\
[attachments|register_app.png]\\
At line 16 changed one line
Name it. Select the Multitenant and personal Microsoft accounts type. The redirect url must ends with :custom_callback_onedrive/. The click on register.\\
Under the redirect URL configuration enable the __Access Token__ to be issued by the authorization endpoint:\\
At line 18 changed one line
[attachments|register_app.png]
[attachments|SMTP Microsoft Graph XOAUTH 2 Integration/enable_access_token.png]\\
At line 20 changed one line
__API permission :__ You also need to provide permission for the Microsoft Graph. Go to the Api permission. Click on Add permission, select Microsoft Graph. Choose Delegated permission and add the "Files.ReadWrite.All" permission:\\
__API permission:__ You must also provide permission for the Microsoft Graph. Go to the Api permission. Click on Add permission, and select Microsoft Graph. Choose Delegated permission and add the "Files.ReadWrite.All" permission:\\
At line 24 added 36 lines
\\
!!!1. OneDrive Business Type\\
\\
__Available on Version 10.5.1 Build : 14+__\\
\\
About __Microsoft Graph Permission__ see more details at [https://learn.microsoft.com/en-us/graph/permissions-overview?tabs=http] (it explains Application Permission and Delegated Permission).\\
\\
[attachments|ms_graph_app_permission.png]\\
__Client id : __ You can find it at Azure portal -> App Registration -> Overview:\\
\\
[attachments|client_id.png]\\
\\
__Secret key:__ A new client secret needs to be created as well. Go to the "Certificate & secrets" and generate a new secret key. Click on New client secret:\\
\\
[attachments|new_secret.png]\\
[attachments|secret_value.png]\\
\\
__OneDrive remote item settings:__\\
\\
__User name:__ Itt must start with "app_permission", then the Client ID separated with tilda.\\
{{{
app_permission~<<Client ID>>
}}}\\
__Password:__ Client Secret.\\
__Tennant:__ The tenant id.\\
__User id or User principal name:__ Provide the user's Id or the user's principal name.\\
\\
[attachments|remote_item_app_permission.png]\\
\\
!!!2 Ondrive Personal Type\\
\\
__!!!Constraint:__ Microsoft Graph REST API does not support stream upload. In order to integrate with CrushFTP the files are temporarily stored as a local file (CrushFTP install folder/onedrive/) during the upload. It has a 10 MB upload limit.\\
About __Microsoft Graph Permission__ see more details at [https://learn.microsoft.com/en-us/graph/permissions-overview?tabs=http] (it explains Application Permission and Delegated Permission).\\
\\
[attachments|ms_graph_delegated.png]\\
\\
At line 29 changed one line
__Secret key :__ A new client secret needs to be created as well. Go to the "Certificate & secrets" and generate a new secret key. Click on New client secret:\\
__Secret key:__ A new client secret needs to be created as well. Go to the "Certificate & secrets" and generate a new secret key. Click on New client secret:\\
At line 69 added one line
[attachments|secret_value.png]\\
At line 34 removed one line
Select OneDrive item type click on "Get Refresh Token" button. Provide the Client ID and Client Secret, and Tenant (in almost all case it is just :common) : \\
At line 73 added 4 lines
__!!! The CrushFTP admin page URL must match the redirect URL.__ In our example: http://localhost:9090\\
\\
Select the OneDrive item type and click on the "Get Refresh Token" button. Provide the Client ID, Client Secret, and Tenant. Tenant: See your App registration -> Overview -> EndPoints. Based on the App Registration Account type it can be an id, common, or consumer.\\
\\
At line 38 changed one line
Click on "OK" button, log in with your azure credentials, allow CrushFTP to have access to your OneDrive files. After that the form will disappear and the username and password will be filled. Done.\\
Click on the "OK" button, log in with your Azure credentials, and allow CrushFTP to have access to your OneDrive files. After that the form will disappear and the username and password will be filled. Done.\\
Version Date Modified Size Author Changes ... Change note
117 19-May-2025 09:59 4.444 kB krivacsz to previous
116 19-May-2025 04:19 4.447 kB krivacsz to previous | to last
115 15-May-2025 05:28 4.467 kB krivacsz to previous | to last
114 15-May-2025 05:23 4.469 kB krivacsz to previous | to last
113 12-May-2025 02:47 4.47 kB krivacsz to previous | to last
112 07-May-2025 03:00 4.51 kB krivacsz to previous | to last
111 07-May-2025 02:58 4.476 kB krivacsz to previous | to last
110 07-May-2025 02:47 4.341 kB krivacsz to previous | to last
109 03-May-2025 02:23 4.196 kB krivacsz to previous | to last
108 03-May-2025 02:22 4.151 kB krivacsz to previous | to last
107 03-May-2025 02:21 4.113 kB krivacsz to previous | to last
106 03-May-2025 02:20 4.113 kB krivacsz to previous | to last
105 02-May-2025 11:10 4.079 kB krivacsz to previous | to last
104 02-May-2025 11:08 4.048 kB krivacsz to previous | to last
103 02-May-2025 11:07 3.861 kB krivacsz to previous | to last
102 02-May-2025 11:04 3.987 kB krivacsz to previous | to last
101 02-May-2025 11:02 3.862 kB krivacsz to previous | to last
« This page (revision-117) was last changed on 19-May-2025 09:59 by krivacsz
G’day (anonymous guest)
CrushFTP11 | What's New

Referenced by
CrushOIDC
LeftMenu

JSPWiki