OAuth authentication using Microsoft Azure Oauth details for ServiceNow - 3rd Party Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2025 02:23 AM
Hello team,
I have a below scenario:
If client doesn't want to use OAuth from ServiceNow and wants ServiceNow to connect with 3rd Party tool via the OAuth creds created in Microsoft Azure. How can we make this possible? That means OAuth authentication should happen via Microsoft Azure for ServiceNow and Other 3rd party tool integration.
Please let me know if anyone of you have configured in this scenario.
Any quick help is much appreciated.
Thanks,
Pranita Bahuguni

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2025 03:07 AM
Follow the steps to integrate ServiceNow with a third-party tool using OAuth authentication via Microsoft Azure, without using OAuth directly from ServiceNow, you can configure OAuth on Microsoft Azure and then pass the credentials to ServiceNow to authenticate and communicate with the third-party tool.
- Set up the OAuth Application in Microsoft Azure to obtain OAuth credentials.
- In Azure Active Directory, go to App registrations > New registration.
- Provide the name for the app, and configure any redirect URIs if needed.
- Go to the Certificates & secrets section and create a new client secret (OAuth credentials). Make sure to copy this client secret immediately as it will not be shown again.
- Configure ServiceNow to use the OAuth credentials via the Azure OAuth provider.
- Go to System OAuth > Providers in ServiceNow and click new and fill in the necessary details: Name, client ID, client secret, Token Url etc.
Create an OAuth Application in ServiceNow: All -> System OAuth > Application Registry, then Create an OAuth API endpoint for external client, Provide the OAuth Provider you created earlier and other fields.
- Finallym use the OAuth token from ServiceNow to authenticate calls to the third-party tool using REST or other integration methods.
- Ensure the third-party tool supports OAuth with the OAuth credentials obtained from Azure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2025 03:32 AM
@Community Alums Thankyou so much for your detailed answer and quick response. Truly appreciate it. But when i navigate to OAuth > Application Registry > OAuth API endpoint for external client. I am unable to provide the OAuth Provider created earlier in Step 1. I am just getting the Client ID auto generated and Client Secret which will auto populate. Can you please let me know where i should be the providing the OAuth provider created in Step 1.
Will truly appreciate your help here.. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2025 03:36 AM
You need go to the Certificates & secrets section and create a new client secret (OAuth credentials). Make sure to copy this client secret immediately as it will not be shown again, Under API permissions, ensure that the application has the appropriate permissions to interact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2025 04:03 AM
@Community Alums Apologies as i may not have understood correctly but my query is in ServiceNow configurations:
1. We need to create OAuth provider (navigating as System OAuth > Application registry > Connect to a third party OAuth Provider) with provided OAuth credentials from Microsoft Azure first.
2. Second navigate as System OAuth > Application registry > Create an OAuth API endpoint for external clients . Here i am unable to understand how to provide the OAuth provider details i created in Step 1 in ServiceNow like you have mentioned.
3. Do we need to create both Application registries (Step 1 and Step 2)?
Please help me in understanding this correctly as accordingly i can configure it further.
Thanks a lot!