question

KanothSiraj-4577 avatar image
0 Votes"
KanothSiraj-4577 asked azure-cxp-api edited

Create a team meeting using API

I am trying to create an MS team meeting.

followed steps: https://docs.microsoft.com/en-us/graph/api/team-post?view=graph-rest-beta&tabs=objc

I got user access token and app token

AADSTS50020: User account 'kabcD@gmail.com' from identity provider 'live.com' does not exist in tenant 'Default Directory' and cannot access the application 'feb2bs4f-aa4b-462e-ass3-ba546510088a'(App name) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

Do You think am I following the correct step .. anyone can be explained step by step or any better documentation?

My requirement: In my organization, if any asking for an appointment our app will create a meeting link automattically (MS team)

azure-ad-graph
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, the documentation you linked doesn't include making a meeting, but creating a team. Are you talking about a teams meeting? This document would be useful. You can integrate calendar items: - Use the isOnlineMeeting, onlineMeeting, and onlineMeetingProvider properties of the returned Outlook calendar event.

Please let me know what other questions I may assist you with!




0 Votes 0 ·

Hi, are there any updates with this case? If not, please select the appropriate response as "Answered." Otherwise please let us know how we can assist you.

0 Votes 0 ·

1 Answer

soumi-MSFT avatar image
0 Votes"
soumi-MSFT answered

@KanothSiraj-4577, Thank you for reaching out. The error "`AADSTS50020: User account 'kabcD@gmail.com' from identity provider 'live.com' does not exist in tenant 'Default Directory' and cannot access the application 'feb2bs4f-aa4b-462e-ass3-ba546510088a'(App name) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.`" is coming up as the user account used is not a Work or School account, and if you check the article that you shared "https://docs.microsoft.com/en-us/graph/api/team-post?view=graph-rest-beta&tabs=objc" and check the permission section in that article you would find that Delegated (personal Microsoft account) is Not supported. hence you get that error.

In order to get this API working, you would need a user account that is a part of your organization in Azure AD, like a Work or School account that needs to be used here.

Hope this helps.

Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.