<aside> 💡 Note: First, you need to set up integration with OneDrive. And then make these settings.
</aside>
Add [Site.Readwrite.All] to API permissions in Azure App.
Locate a unique site ID by browsing the URL: [https://<tenant>.sharepoint.com/sites/<site-url>/_api/site/id]
In OneDrive service page add [https://graph.microsoft.com/v1.0/sites/<unique site ID>] to the [Web service URL] field.
Add [site.readwrite.all] scope to [OAuth Settings] to the [Scopes] detail.
Clear the field [Shared user] and then click the button [Log In].