Microsoft Graph Api
14 TopicsHow to Implement OAuth for a Bot-Based Message Extension App in Microsoft Teams for Graph API?
I have created a bot-based message extension app using the Teams Toolkit and need to call the Microsoft Graph API, which requires OAuth implementation. So far, I have created the app in the Teams Developer Portal, registered the app in Azure App registration, and registered the bot in the Bot Framework Developer Portal (dev.botframework.com). However, I am unclear about the OAuth flow and the specific configurations required. Can someone provide a detailed guide on how the OAuth flow works for a bot-based message extension in Microsoft Teams, the specific configurations needed in the Azure app registration, how to configure permissions and consent for accessing the Microsoft Graph API, and any additional settings required in the Teams Developer Portal or Bot Framework Developer Portal? Any guidance, code examples, or references to detailed documentation would be highly beneficial.324Views0likes0CommentsJust as we created an onlineMeeting in an application using the Graph API, is it possible to create
Hi, I confirmed the announcement that Teams Live Events would be discontinued in September last year. In addition, it was confirmed in the roadmap that Town Hall Graph APIs will be rolled out in May 24. It was possible to grant permission for applications to create Live Events. (Currently changed to Not supported after the announcement in September last year.) Is it possible to grant creation permission to an application for Teams Town Hall? If this is not possible, I must prepare to change the structure of the application I have created. I don't see any mention of this anywhere, so I'm asking here.804Views0likes9CommentsNumber of participants is reported inaccurately on CallRecord endpoint
We have been pulling CallRecord data via Graph API for analysis. One particular record grabbed our attention. According to the JSON return from Graph API there were 40 participants and 60 sessions. However, the online CQD dashboards showed over 120 participants for the call. So we started to troubleshoot and noticed that our logic does not support the session "nextLink" and there were more than 60 sessions for this group call. We fixed it; so now we can support the pagination. However, the "participants" array field in the JSON return still shows 40 participants. We checked all the returns from Graph API. Only the first return that we made against the call-id has the participants section; the rest of the paginated returns for session does not even have a participants section. They only include the session and segment info. I think subsequent returns do not even have the stream metric details either. So is this a expected behavior? Do we need to call the link in nextLink section differently, so that the return includes all the participant data? Thanks1.4KViews0likes12CommentsAccess Teams Attendance using RSC permission
Objective When a teams video call finishes, get a list of users who attended the meeting. (ideally with the joined and left times) Approach In a teams app manifest file you can add Resource-specific consent (RSC) Application Permissions: ChannelMeetingParticipant.Read.Group Read the participants of this team's channel meetings. - Allows the app to read participant information, including name, role, id, joined and left times, of channel meetings associated with this team, without a signed-in user. OnlineMeetingParticipant.Read.Chat Read the participants of the meetings associated with this chat. - Allows the app to read participant information, including name, role, id, joined and left times, of meetings associated with this chat, without a signed-in user. Using a teams app with the ChannelMeeting.ReadBasic.Group and OnlineMeeting.ReadBasic.Chat permission I get a notification when a meeting ends. Using: var meetingInfo = await TeamsInfo.GetMeetingInfoAsync(turnContext); I can get the: meetingInfo.Details.MsGraphResourceId which gives me a value that looks like: MSpjY2VhZjE3My04MjBk...Truncated...ZWFkLnYy Questions/Help Needed How do I make use of the RSC permissions granted in the Teams App manifest to now request the participants who attended the meeting? What API call do I need to make? The documentation for this seems lacking? The RSC permission for getting meeting participants is referred to here: https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/rsc/resource-specific-consent but I am unable to find out how I can make use of this permission to make graph calls? Other comments and posts refer to getting Online Meeting Artifacts (Giving access to recordings, transcripts and attendance report) however this requires the Teams Admin to grant the very broad permission to OnlineMeetingArtifact.Read.All whereas I believe I should be able to do this via permissions granted via RSC which would be granted on a per channel or meeting basis when a user adds the app rather than having access to all meetings. - Also I only want access to the attendees and avoid asking for permissions that give access to meeting recordings which could contain sensitive information. Can you please advise or direct me to where I can find help on how to make use of the ChannelMeetingParticipant.Read.Group and OnlineMeetingParticipant.Read.Chat permission to access the meeting attendees. Many thanks, Daniel Mitchell1.5KViews0likes6CommentsTeams onlinemeeting recording file creating and saving error
Hello team I created an online meeting on the specified group\channel via MS Graph API: Create onlineMeeting When a group user join the meeting, starts meeting recording, and after the meeting ends, the recording file can be correctly created and stored in the Sharepoint file library. But when a non-group user join the meeting, after the meeting ends, we received a message that an error occurred while saving the recording file. I would like to know what is the problem of this error, is there a way to solve it. grateful. Teams group users permission: Group:TeamsMeetingReservation Channel:General Users admin organizer shawn Role Owner Member Example request to create meeting: { "subject" : "{subject}", "startDateTime" : "{StartDateTime}", "endDateTime" : "{endDateTime}", "Participants":{ "Organizer":{ "Identity":{ "User" :{ "Id" : "{OrganizerId}" } } } }, "ChatInfo":{ "ThreadId" : "{ChannelId}" } }Solved3.3KViews0likes16CommentsAbout subscription teams channel to get change notifications
I subscribed to teams channel through the Graph API: Create subscription In the normal processing case below: I can correctly parse the change notification chat message content by the following code. But when the following error occurs in the program, i get chatMessage.EventDetail is empty. When this error message appears, how should I get the chatMessage.EventDetail content correctly ? Thanks.Solved1.7KViews0likes7CommentsIs it not supported to create an online meeting in a private channel
Hello team I created an online meeting on the specified group\channel via MS Graph API: Create onlineMeeting When testing from graph api explorer, i can successfully create an online meeting in standard channel, But an error occurs when creating in private channel. Does this API not support creating online meeting in private channels, or require other settings or permissions ? Thanks.Solved898Views0likes1Commentasked for scope 'OnlineMeetings.ReadWrite.All' that doesn't exist on the resource
I'm trying to get Auth. code for OnlineMeetingsReadWrite.All scope. But it returns an error said: "The application 'HSR Teams Integration' asked for scope 'OnlineMeetings.ReadWrite.All' that doesn't exist on the resource '00000003-0000-0000-c000-000000000000'. Contact the app vendor.". I checked everthing triple times and I can't still figure out where is the problem. Here is my request: https://i.hizliresim.com/m3r21ek.png Here is my api permissions: https://i.hizliresim.com/gsa73fe.png We also have application access policy for this application. Why I'm getting this error ? I checked that client id is correctSolved3.5KViews0likes8CommentsRetrieving MS Teams Favorite Contacts with the MS Graph API
Hi, I'm working on developing an application using information from MS Teams. And I'm looking for the MS Graph API to get a list of contacts from MS Teams favorites and also add / remove from MS Teams favorites via the MS Graph API. I was unable to find information about the required API in the MS Graph documentation. Is there an API that I can use for this purpose? Added images of what I'm looking for in the MS Graph API. Thank you in advance.977Views0likes0CommentsCreate Event and linked to Group(Teams) Channel (as Add channel)
Hello. I am using microsoft graph api v1 to create event. It done. But I can not add channel of Group(Teams) to it. I have seen it on Microsoft Teams. Do you know it? Please tell me about it or for me some documents. Thanks you very much!Solved1.1KViews0likes3Comments