Set up Microsoft Entra ID spoke
-
- UpdatedJan 30, 2025
- 5 minutes to read
- Xanadu
- Now Platform Capabilities
Integrate the ServiceNow instance and your Microsoft Entra account by creating a custom OAuth application in Microsoft Entra ID to authenticate ServiceNow requests.
Before you begin
- Request an Integration Hub subscription.
- Activate the Microsoft Entra ID spoke.
- Role required: admin.
Create an Microsoft Entra ID application
Create a custom app using your Azure portal to enable OAuth 2.0 authentication with the Microsoft Entra ID spoke.
Before you begin
- Request Integration Hub subscription.
- Activate the Microsoft Entra ID spoke.
- Microsoft Entra ID spoke requirements:
- Microsoft Entra ID account
- Microsoft Entra ID administrator credentials
- Role required: admin
About this task
Procedure
Configure a connection for the Microsoft Entra ID spoke
Configure a connection to your Microsoft Entra ID account. The Microsoft Entra ID spoke connection and credential aliases use these connections to perform actions in the Microsoft Entra ID.
Before you begin
Procedure
Result
- If you want to use credentials of an Azure user to obtain the OAuth token and run all flows with that user delegation, use Authorization Code. Currently, delegation of permission to each logged in ServiceNow user isn't supported.
- If you want to grant permission to an app instead of an individual user, change the grant type to Client Credentials. This ensures that all flows, either interactive or background, will use the app permissions to execute the flows. For more information on how to use Client Credentials, see KB0993701.
- In situations where you can't use one grant type but require both the Authorization Code and Client Credentials grant types to perform the actions, create a child alias.
Regenerate Entra ID OAuth token
Regenerate the Entra ID OAuth token when it expires.
Before you begin
Role required: admin.
Procedure