Azure AD Connection - Access token validation failure. Invalid audience
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2024 12:30 PM
I've been trying to get SN connected with Azure AD.
We've setup our servicenow instance, configured exactly as laid out in https://www.youtube.com/watch?v=3sfeAB7rXHI
We can see on the Azure side, SN is connecting successfully to it, but despite the app permissions set and the oauth token looking good, I'm consistently getting: "Insufficient Permissions. Please Check Oauth Token and scope permission." errors,
When I look at the steps of my flow, I see the response body coming back with the message:
{"error":{"code":"InvalidAuthenticationToken","message":"Access token validation failure. Invalid audience.","innerError":{"date":"2024-02-09T16:14:10","request-id":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","client-request-id":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}}}
This happens regardless of if I trigger it through the Azure AD Spoke of IntegrationHub or if I build out a rest call and use the Azure AD credential alias.
Has anyone gotten past this? What am I missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 11:29 AM
I had a similar error, but that was due to the scopes not matching the registered app. Did you select the appropriate scopes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 11:28 AM
From everything I can measure, we have the correct scopes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 09:10 AM
Were you able to resolve the issue? I think you are missing vso.graph