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