Set up Microsoft Entra ID spoke
Integrate the ServiceNow instance and your Microsoft Entra account by creating a custom OAuth application in Microsoft Entra ID to authenticate ServiceNow requests.
Hinweis:
This video is made using ServiceNow instance of the Utah version and Flow Designer UI is shown. If you are using ServiceNow instance of the Washington DC version or later, perform the same steps and navigate to Workflow Studio instead of Flow Designer.
Vorbereitungen
- 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.
Vorbereitungen
- 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
Warum und wann dieser Vorgang ausgeführt wird
Prozedur
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.
Vorbereitungen
Prozedur
Ergebnisse
Hinweis:
By
default, the grant type of the application registry record is set to Authorization Code.
- 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.
Vorbereitungen
Role required: admin.