Share via

ApIm Policy to configure during authentication

Upasana Ghosh 351 Reputation points
2022-10-24T09:57:43.59+00:00

Hello
I need to understand what are the policies will be applicable for the following scenarios :

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

Answer accepted by question author
  1. JananiRamesh-MSFT 29,446 Reputation points Moderator
    2022-10-25T18:05:58.937+00:00

    Hi @Upasana Ghosh Thanks for reaching out. To log a call with failed authentication you can use trace policy. The trace policy adds a custom trace into the API Inspector output, Application Insights telemetries, and/or Resource Logs. please refer: https://learn.microsoft.com/en-us/azure/api-management/api-management-advanced-policies#Trace

    OAuth 2 based authentication and authentication with client certificate are two different things this can't be achieved using single policy please refer: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates-for-clients#certificate-validation-with-context-variables

    rest of the scenarios can be achieved using a validate JWT policy please refer for more information: https://learn.microsoft.com/en-us/azure/api-management/api-management-access-restriction-policies#ValidateJWT

    let me know incase of further queries, I would be happy to assist you.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.