An API that connects multiple Microsoft services, enabling data access and automation across platforms
Getting error from APIM while calling a simple health check API after enabling JWT validation
I have created an App registration for my APIM with the required configurations such as Exposing API, Application ID Uri is noted and also added custom App Roles
Then i have created a Client App registration providing the right permission to APIM App including the role
I have configured the APIM by following below steps
· Navigate to APIMà API à Operations where the JWT token validation to be implemented
· Click Design and Go To Inbound Processing
· Click Add Policy à Click Validate JWT
· Give following values
o Header name as Authorization
o Failed validation HTTP Code as 401-UnAuthorized
o Failed Validation Message as Login Failed
· Audience à Add Audience à Use the Application ID Uri created for the app (Az-GERNAS-APIM-APP) in the Step Number 7 of section 1
· Add Required Claims à Name as aud, Match as Any Claim, Value à Click + and add same Uri value for the app (Az-GERNAS-APIM-APP) in the Step Number 7 of section 1
· Add Open ID URL’s and give login URL with FAB tenant Id which is
· Click Save
Issue is - After generating the token by using Client ID, Client Secret, Role - I am getting the custom error from APIM
Moved from Microsoft 365 and Office | Other