SharePoint connector configuration relies on the Credentials OAuth2 flow for access, which, in turn, requires an application to be configured within your Microsoft Azure tenant/directory. In addition, SharePoint connector configuration requires information you must collect as you configure your Azure application.
Setting up your Azure application
The steps necessary to set up your Azure application are provided in Quickstart: Register an application with the Microsoft identity platform. You need to follow the steps to Register and application and add a client secret.
Setting Up Permissions
After you register your application and add a client secret, you must set up the necessary API permissions for access. The steps are as follows:
- In the application you created, navigate to the API Permissions section.
- Add one of the following MicrosoftGraph Application permissions.
Note: They must be Application type and not Delegated type.
- You need to grant admin consent for the permission. This can be done by an admin clicking the Grant admin consent for ... button on the permissions page for the application. See Introduction to permissions and consent for more information.
Required Connector information
When you set up a SharePoint connector, you must provide the following information provided to you when you register your Azure application:
- Azure Tenant ID
- Application ID
- Application Secret - Note: This piece of data is only available as you go through the Azure application registration process and is never displayed again. Be sure to capture this data when it is displayed during registration.