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 29-Dec-2020 05:25 krivacsz
png
ms_graph_app_permission.png 81.4 kB 1 08-Sep-2023 07:47 krivacsz
png
ms_graph_delegated.png 107.3 kB 1 08-Sep-2023 07:48 krivacsz
png
new_registration.png 81.9 kB 3 24-Nov-2021 08:49 krivacsz
png
new_secret.png 81.9 kB 2 24-Nov-2021 09:51 krivacsz
png
permission_final.png 165.2 kB 1 29-Dec-2020 05:25 krivacsz
png
permission_microsoft_graph.png 182.9 kB 2 29-Dec-2020 05:25 krivacsz
png
register_app.png 230.6 kB 2 31-Mar-2021 13:00 krivacsz
png
remote_item_app_permission.png 101.1 kB 1 08-Sep-2023 08:17 krivacsz
png
remote_item_done.png 193.7 kB 1 29-Dec-2020 05:25 krivacsz
png
remote_item_settings.png 176.3 kB 1 29-Dec-2020 05:25 krivacsz
png
secret_value.png 42.7 kB 1 24-Nov-2021 09:52 krivacsz

This page (revision-79) was last changed on 08-Sep-2023 15:29 by krivacsz

This page was created on 29-Dec-2020 05:25 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.\\
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 35 changed one line
__!!! CrushFTP admin page url must match with the redirect url.__ In our example : http://localhost:8080\\
__!!! The CrushFTP admin page URL must match the redirect URL.__ In our example: http://localhost:9090\\
At line 37 changed 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) : \\
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 41 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
79 08-Sep-2023 15:29 3.909 kB krivacsz to previous
78 08-Sep-2023 15:29 3.907 kB krivacsz to previous | to last
77 08-Sep-2023 15:28 3.905 kB krivacsz to previous | to last
76 08-Sep-2023 08:30 3.513 kB krivacsz to previous | to last
75 08-Sep-2023 08:20 3.462 kB krivacsz to previous | to last
74 08-Sep-2023 08:18 3.383 kB krivacsz to previous | to last
73 08-Sep-2023 08:16 3.382 kB krivacsz to previous | to last
72 08-Sep-2023 08:13 3.244 kB krivacsz to previous | to last
71 08-Sep-2023 08:11 3.208 kB krivacsz to previous | to last {
70 08-Sep-2023 08:09 3.072 kB krivacsz to previous | to last
69 08-Sep-2023 08:02 3.029 kB krivacsz to previous | to last
68 08-Sep-2023 08:00 3.001 kB krivacsz to previous | to last
67 08-Sep-2023 07:59 2.922 kB krivacsz to previous | to last
66 08-Sep-2023 07:55 2.91 kB krivacsz to previous | to last
65 08-Sep-2023 07:53 2.937 kB krivacsz to previous | to last
64 08-Sep-2023 07:51 2.979 kB krivacsz to previous | to last
63 08-Sep-2023 07:49 2.579 kB krivacsz to previous | to last
62 08-Sep-2023 06:15 2.486 kB krivacsz to previous | to last
61 14-Oct-2022 06:28 2.41 kB krivacsz to previous | to last
« This page (revision-79) was last changed on 08-Sep-2023 15:29 by krivacsz
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
LeftMenu

JSPWiki