Create an Authentication Provider for SharePoint Online Using Azure(Preferred Method)
- In Setup, enter Auth. Providers in the QuickFind box, then select Auth. Providers.
- Next to the authentication provider you created earlier, clickEdit.
- Change the following values.Consumer Key — Enter the Client ID you copied to a text file.Consumer Secret — Enter the key you copied to a text file.Authorize Endpoint URL — Enter: https://login.microsoftonline.com/common/oauth2/authorize?resource=https%3A%2F%2FYOUR_TENANT.sharepoint.com&prompt=loginToken Endpoint URL — Enter: https://login.microsoftonline.com/common/oauth2/tokenSharePoint Online examplehttps://login.microsoftonline.com/common/oauth2/authorize?prompt=consent&resource=https%3A%2F%2Fcontenthubblitz.sharepoint.com%2F
- Consumer Key — Enter the Client ID you copied to a text file.
- Consumer Secret — Enter the key you copied to a text file.
- Authorize Endpoint URL — Enter: https://login.microsoftonline.com/common/oauth2/authorize?resource=https%3A%2F%2FYOUR_TENANT.sharepoint.com&prompt=login
- Token Endpoint URL — Enter: https://login.microsoftonline.com/common/oauth2/token
- SharePoint Online examplehttps://login.microsoftonline.com/common/oauth2/authorize?prompt=consent&resource=https%3A%2F%2Fcontenthubblitz.sharepoint.com%2F
- Click Save.Your authentication provider is now ready touse.