How to connect a custom Microsoft Graph app

If you want to use a custom app to authenticate users in the Onedrive tab of the uploader, you will need to create it and connect it to your Uploadcare project. This tutorial will show you how to create and configure your Microsoft Graph app.

Go to Azure App registrations page and click New registration.

Give your app a name, choose supported account types, set the app type to Web, and set the Redirect endpoint to https://social.uploadcare.com/onedrive/endpoint.

If you're going to use a custom social CNAME, replace social.uploadcare.com in the redirect URL with it.

Click Register. On the next screen, find your application ID at the top and save it to a text file.

Now you need to create an app secret. Head over to Certificates & Secrets, and click New client secret

Give it a description and choose the expiry (we recommend you set it to Never, but depending on your security requirements, you may want to set it to 1 year or 2 years). Click Add.

Copy the secret's value and save it along with your client ID. You won't be able to reveal the secret's value after you leave this page.

Now head to API Permissions and add the following permissions

  • offline_access
  • Files.Read.All
  • Sites.Read.All
  • User.Read

Now you can connect the app with your Uploadcare project. Go to your Uploadcare dashboard, open a project you'd like to connect the app with, head to Uploading, scroll down to Custom OAuth applications, click Connect Apps, choose SkyDrive, then fill out App key and App secret (you saved them previously), and click Add.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.