Share via

Graph API returns User Not Found 401

Dominik 5 Reputation points
2024-07-22T20:43:27.79+00:00

Hello, I try to post a question regarding an issue with my Entra ID license in connection to an App Registration via Azure. However, despite following the rules of posting, it still keeps deleting my question:

User's image

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
0 comments No comments

2 answers

Sort by: Most helpful
  1. Vasil Michev 126.8K Reputation points MVP Volunteer Moderator
    2024-07-23T06:52:12.7366667+00:00

    Does the user whose presence you are trying to retrieve have a valid Teams license assigned? If you are testing this with your own subscription, have in mind that Entra ID Premium licenses do not include Teams. You can sign up for a free trial for Microsoft 365 to get this functionality.

    Was this answer helpful?

    0 comments No comments

  2. Anonymous
    2024-07-23T01:47:14.3133333+00:00

    Hi @Dominik

    We have checked the issue you published, the error may be caused by the user does not have the MS 365 License, please check whether the user has a valid License in Azure AD, as shown below:

    User's image

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    Was this answer helpful?

    0 comments No comments

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.