Where is located Anonymous users in Azure

Luc Messier 61 Reputation points

Hello guys,

I'm investigating a strange situation. I found a lot of requests are not authorized in one API my team is supporting. In users details, I found that an anonymous user seems the root cause of this situation but I don't find his configuration.

I added the following screen where you can see the Administrator and Anonymous users.


Where can I find the Anonymous parameters?

Thank you very much

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,952 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 23,651 Reputation points

    Hi @Luc Messier Thanks for reaching out. From the description in understand that you have noticed unauthorized calls for an api when you analyzed further you got to know that the requests are made by the anonymous users under analytics blade, and you wanted to know the configurations of anonymous users

    You can log the user activity in API Management by enabling Azure Diagnostics please refer this doc for more information https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?WT.mc_id=Portal-Microsoft_Azure_Monitoring&tabs=portal

    The Analytics blade in its current implementation is only capable of identifying users based on the Subscription key provided with the incoming API call. If there is no subscription key or its not associated to an API Management developer account (In Azure Portal, go to "Users" , select a user and click on 'Subscriptions" to see subscriptions associated with a user), the request will be considered anonymous.

    If the incoming request is using a subscription key that belongs to a user, APIM will emit userId to Log Analytics. If the subscription key of incoming request is not tied to a user, no user id is emitted.




    let me know incase of any clarifications i would be glad 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.

    1 person found this answer helpful.