question

PraveenKumar34 avatar image
0 Votes"
PraveenKumar34 asked JamesHamil-MSFT answered

Create online meeting event or online meeting on behalf of user MS Graph API

In our project we are trying to integrate MS Teams with Web application using MS Graph API.use case is OnlineMeeting for Virtual Events.the attendees may or may not have microsoft account.

Created Azure Ad Account and created new tenant and created new user(given Global Administrator role) and registered new Application and given required API permission users.readWrite.all and onlineMreeting.readWrite.all to Application and Delegated Users.

Initially i was using UserCredientials flow(no manual authentication since its not in our usecase user should be authenticated automatically through java) to get accessToken.since its not recommended to use username and credientials(ROPC flow),so now trying to get accessToken only using clientId and clientSecret using adal4j and i am able to get accesstoken but not able to use token for endpoints with /me/onlineMeeting.since token doesnt contain required permission and scope.

so i had tried to reach endpoint with token got from clientid and secret using /users/{id}/onlineMeeting but it gives error like Application does not have permission to Create online meeting on behalf of this user

referred https://docs.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy
its mentioned to change access-policy.

is there any way to create online meeting on behalf of user without changing access policy?
to create onlinemeeting on behalf of user do we need skype business account?

onlinemeeting can created by two endpoint /onlineMeeting & /events

so does /event in calender api require any additional previlages like office365 license to create online meeting?

to implement these usecase whats the microsoft account Type,azure ad account
and what are all the license and azure subscription need?

to create onlinemeeting only with dialin do we need any special license

azure-active-directoryazure-ad-connectmicrosoft-graph-calendar
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.

JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered JamesHamil-MSFT commented

Hi @PraveenKumar34 , have you looked at this thread? Another user had a similar question which may be able to help you. Please let me know if you have any questions!

Best,
James


· 1
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.

@JamesHamil-MSFT need information aswhole for mentioned useCase and hurdles faced for different approach mentioned

0 Votes 0 ·
JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered

Hi @PraveenKumar34 , you don't need any special subscriptions to do this: https://docs.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=http

The only permissions or changes to access policies you need is to make sure that users can have meetings created for them. There's a good document for this here: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#scopes-and-permissions

If you have any questions or run into any problems with subscriptions or billing you can always talk to the billing team for free: https://azure.microsoft.com/en-us/overview/contact-azure-sales/

I hope this helps! If this answer helped you please mark it as "Verified" so other users may reference it.

Thank you,
James

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.