User ID is NULL in APIM Analytics Overview

Jeruel Bautista 0 Reputation points
2024-10-08T06:37:55.8566667+00:00

Hi,

I created a user in the APIM Developer Portal using Basic Auth. I tried sending a request while logged in as that user, but in the analytics overview, both the User and User ID columns are showing as null. Any ideas on how can this be resolved?User's image

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,130 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 27,256 Reputation points
    2024-10-08T08:40:56.24+00:00

    @Jeruel Bautista Thanks for reaching out. 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. please refer below

    User's image

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

    0 comments No comments

Your answer

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