Integration of ServiceNow With Azure Cloud
Integration of ServiceNow With Azure Cloud
Integration Steps
1. Pre-requisites
• Azure AD Setup:
o Ensure you have an Azure AD tenant set up with the necessary subscriptions and
permissions to manage users.
• ServiceNow Configuration:
2. Integration Configuration
• Azure Configuration
1. Once inside the app, note down the "Client ID" (Application ID).
2. Remember that the "Tenant ID" is common for the ServiceNow instance
3. In the app settings, go to "Certificates & secrets."
4. Create a new client secret with a description and expiration.
5. Store the generated client secret securely.[Important]
o Add API Permissions:
5. After adding the required permission, click on to the “Grant admin consent for default
directory”.
o Complete Configuration:
1. Save your changes and ensure all required configurations are completed on the Azure portal
side.
• ServiceNow Configuration
o Create Connections
Note:- Use your App Registration’s Client Id and Client Secret which was copy from app registration.
1. Profile: Choose the default Graph profile as referred to in the Step - Verify OAuth Entity
Profile Table
2. Scope: Choose the Graph scope created in the OAuth Entity Scopes configuration
• REST Message
6. After hitting on the related link (Get Oauth Token) you will be redirect to the azure portal and got
the token.
1. We will test for getting all the users from Azure AD with GET method.
2. By Clicking on the new button in the HTTP Method section we can create methods.
3. Name: Name of your Method
4. HTTP Method: Method name (eg. POST, GET,PUT,DELETE,PATCH)
5. Endpoint: Complete URL of the graph api: https://graph.microsoft.com/v1.0/users
6. Click on to the Test Related Link
Click here to test your API for fetch all the users from Azure AD
{
"accountEnabled": true,
"displayName": "${displayName}",
"mailNickname": "${mailNickname}",
"userPrincipalName":
"${userPrincipalNameSuffix}#EXT#@deepchauhan9758gmail.onmicrosoft.com",
"mail":"${mail}",
"surname":"${surname}",
"givenName":"${givenName}",
"mobilePhone":"${mobilePhone}",
"department":"${department}",
"passwordProfile" : {
"forceChangePasswordNextSignIn": true,
"password": "xWwvJ]6NMw+bWH-d"
}
}
8. Click on to the “Auto Generated Variables” related link
Write down your user principal
name which is mentioned in
your azure portal.
o Centralized Management
o Efficiency and Automation
o Enhanced Security
o Improved User Experience
o Analytics and Reporting
integrating Azure Portal with ServiceNow for user management in Azure AD represents a strategic
investment in IT efficiency, security, and user experience, enabling organizations to better align their digital
operations with business objectives.