You can use these credentials to authenticate the following nodes:
Refer to the linked Microsoft API documentation below for more information about each service’s API:
Some Microsoft services require extra information for OAuth2. Refer to Service-specific settings for more guidance on those services.
For self-hosted users, there are two main steps to configure OAuth2 from scratch:
Follow the detailed instructions for each step below. For more detail on the Microsoft OAuth2 web flow, refer to Microsoft authentication and authorization basics.
Register an application with the Microsoft Identity Platform:
Refer to Register an application with the Microsoft Identity Platform for more information.
With your application created, generate a client secret for it:
Refer to Microsoft’s Add credentials for more information on adding a client secret.
The following services require extra information for OAuth2:
Dynamics OAuth2 requires information about your Dynamics domain and region. Follow these extra steps to complete the credential:
Refer to the Microsoft Datacenter regions documentation for more information on the region options and corresponding URLs.
The general Microsoft OAuth2 also requires you to provide a space-separated list of Scopes for this credential.
Refer to Scopes and permissions in the Microsoft identity platform for a list of possible scopes.
Outlook OAuth2 supports the credential accessing a user’s primary email inbox or a shared inbox. By default, the credential will access a user’s primary email inbox. To change this behavior:
SharePoint OAuth2 requires information about your SharePoint Subdomain.
To complete the credential, enter the Subdomain part of your SharePoint URL. For example, if your SharePoint URL is https://tenant123.sharepoint.com
, the subdomain is tenant123
.
Here are the known common errors and issues with Microsoft OAuth2 credentials.
When attempting to add credentials for a Microsoft360 or Microsoft Entra account, users may see a message when following the procedure that this action requires admin approval.
This message will appear when the account attempting to grant permissions for the credential is managed by a Microsoft Entra. In order to issue the credential, the administrator account needs to grant permission to the user (or “tenant”) for that application.
The procedure for this is covered in the Microsoft Entra documentation.