<aside> 💡 Note: First, you need to set up integration with OneDrive. And then make these settings.

</aside>

  1. Add [Site.Readwrite.All] to API permissions in Azure App.

    Untitled

  2. Locate a unique site ID by browsing the URL: [https://<tenant>.sharepoint.com/sites/<site-url>/_api/site/id]

    Untitled

  3. Go to the [Studio] workplace → [OneDrive integration] section → [Drives] tab. Open the drive [Default] (or create a new drive for specific sections) and paste the unique site ID to the [Site ID] field. Leave [Drive ID] empty to use the default document library of the site.

    <aside> 💡

    Note: Since version 3.0.1 you don't need to change the [Web service URL] of the OneDrive service. The site is set on the drive record, so different sections can store files on different SharePoint sites. See Managing drives.

    </aside>

  4. Add [sites.readwrite.all] scope to [OAuth Settings] to the [Scopes] detail.

    Untitled

  5. Clear the field [Shared user] and then click the button [Log In].

    Untitled