Use the following APIs to connect the file manager to SharePoint:
- Specify the ProviderType property as "SharePoint".
- Specify the FileManagerSharePointProviderSettings.AccountName property.
- Use the AccountManager.RegisterOneDrive method to register the SharePoint account in the global.asax file.
In this demo, the RequestEvent event allows you to trace request to the SharePoint Azure Active Directory application account in an event monitor.