OneDrive integration#
Version 10 feature!!!
Constraint!!!: Upload file max size limit: 10 MB
It is Microsoft Graph REST API based integration.
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:
Name it. Select the Multitenant and personal Microsoft accounts type. The redirect url must ends with :custom_callback_onedrive/. The click on register.
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:
Client id : You can find it at Azure portal -> App Registration -> Overview:
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:
OneDrive remote item settings:
!!! CrushFTP admin page url must match with the redirect url. In our example : http://localhost:8080
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) :
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.
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 | 14-Oct-2020 17:41 | krivacsz | |
png |
new_registration.png | 83.3 kB | 2 | 14-Oct-2020 16:32 | krivacsz | |
png |
new_secret.png | 138.7 kB | 1 | 14-Oct-2020 17:31 | krivacsz | |
png |
permission_final.png | 165.2 kB | 1 | 14-Oct-2020 17:25 | krivacsz | |
png |
permission_microsoft_graph.png | 182.9 kB | 2 | 14-Oct-2020 17:19 | krivacsz | |
png |
register_app.png | 230.6 kB | 2 | 31-Mar-2021 12:56 | krivacsz | |
png |
remote_item_done.png | 193.7 kB | 1 | 14-Oct-2020 17:58 | krivacsz | |
png |
remote_item_settings.png | 176.3 kB | 1 | 14-Oct-2020 17:48 | krivacsz |
«
This particular version was published on 14-Oct-2020 18:06 by krivacsz.
G’day (anonymous guest)
Log in
JSPWiki