Step 1 – Create an application in Microsoft Azure
This application can be created in your own Azure AD, it is irrelevant to the customer (tenant’s) own Azure AD
When prompted, use “Add an application my organization is developing”. This way, when customers seeing who/which application is accessing their OneDrive account, your app will show up
Pick Web Application and give it a friendly name
The Sign-on URL and the APP ID can be the same to point to your web page’s LoginPage URL
Now when the Application is created, use the “Configure” button to see the details
You can see the property mapping between Azure AD application and CentreStack field.
The Callback URL will need to be hard-coded to your own CentreStack instance’s SkYDriveCallback.aspx URL
For the application, you will need to assign “Delegated Permissions” and also the “Application Permissions”
Here is a look at the Application Permissions
Here is a look at the “Delegated Permissions”
Step 2 – How to use it as a normal user
As a user, you will need to be able to access the “Storage Manager” under “Collaboration” in the management scope to be able to add “One Drive”.
First Click on Attach Storage button
After that, click on “Microsoft OneDrive for Business”
Now give it a name
Next Click on “Get Authorization Code”
You will then be directed back to Microsoft web portal login to log in and authorize the app to be able to access the OneDrive account
Now paste the Authentication Code into CentreStack
Click on 'Finish' to complete the configuration
Now the OneDrive will show up as a folder inside CentreStack
We have a video documentation as well. OneDrive permission requirement changed from the time we documented via Video. The Application Permission is now required.