Microsoft Graph API for external users

Daniel 1 Reputation point
2022-07-04T11:42:12.997+00:00

In my application, I need to get user data like user name and email, also using API, I use find meeting tiem and create calendar event. Users those will use application will not be in my AD group.

Is there some scenario for making API workable for external users?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shivam Dhiman 6,086 Reputation points
    2022-07-04T16:10:36.143+00:00

    Hi @Daniel

    To get the external user you need to invite user in your tenant. To get guest users(external) you can use https://graph.microsoft.com/v1.0/users?$filter=userType eq 'Guest' Graph API endpoint. This will give you all external users details in response.

    Find Meeting Time and Create Event API will only work for the user within tenant. For external users who does not have license it will not work.

    Hope this helps.

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


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.