<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
Change [Web service URI] in OneDrive service page to https://graph.microsoft.com/v1.0/sites/<unique site ID>
Add [site.readwrite.all] scope to [OAuth Settings].
Clear the field [Shared user] and then click the button [Log In]