Client OAuth Flow With A Certificate
All permissions related to the client oauth flow require admin consent. This means the app embedded with the SharePoint Adapter cannot be used in the client oauth flow. You must create your own OAuth app in order to use client credentials. See
Creating a Custom OAuth App for more details.
In your App Registration in portal.azure.com, navigate to API Permissions and select the Microsoft Graph permissions. There are two distinct sets of permissions - Delegated and Application permissions. The permissions used during client credential authentication are under Application Permissions. Select the applicable permissions you require for your integration.
To use client credentials flow with a certificate you must set the following connection properties:
• AuthScheme Set this to OAUTHJWT.
• OAuthGrantType: Set this to REFRESH.
• AzureTenant: Set this to the tenant you wish to connect to.
• OAuthJWTCert: Set this to the JWT Certificate store.
• OAuthJWTIssuer: Set this to the OAuth Client ID.
• OAuthJWTCertType: Set this to the type of the certificate store specified by OAuthJWTCert.
Authentication with client credentials will take place automatically like any other connection, except there will be no window opened prompting the user. Because there is no user context, there is no need for a browser popup. Connections will take place and be handled internally.