Microsoft Graph
9 TopicsHow to get access token for Graph API in Teams bot-based message extension?
I'm developing a Teams bot-based message extension application using the Teams Toolkit in TypeScript. I need to retrieve all the replies for a message in the current channel. According to the documentation, I need to use the Graph API to get the replies. However, to use the Graph API, I need an access token. My questions are: How can I implement OAuth to get the token in a bot-based message extension? Are there any specific permissions or configurations needed in the Azure portal to enable this? Is there an alternative way to get the access token or retrieve the replies without using the Graph API?1.6KViews0likes5Comments403 Forbidden on transcript content request
Hi. I have two apps with the same Microsoft Graph API Application permissions. In addition to those permissions, apps have the same Resource Specific permissions: - OnlineMeetingTranscript.Read.Chat - ChannelMeetingTranscript.Read.Group - OnlineMeetingParticipant.Read.Chat - OnlineMeeting.ReadBasic.Chat - Calls.JoinGroupCalls.Chat One app successfully gets responses from `/users/<user_id>/onlineMeetings/<onlineMeeting_id>/transcripts/<transcript_id>/content` Microsoft Graph API endpoint, but second app receives 403 error. What could I forget to do with the second app?590Views0likes1Commentasked 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.5KViews0likes8Comments"Teams" enabled for "GroupId", but same does not reflect in "Microsoft Teams" app.
"Teams" enabled in "Group", but same does not reflect in "Microsoft Teams" app. We created "channels" and "tabs" for teams (programmatically) using Microsoft graph API, and it does show all channels and tabs got created (when checked in Microsoft graph explorer), but same not reflecting in "Microsoft Teams".718Views0likes0CommentsUsing Microsoft Graph to Assign Team Custom Policies
The issue I'm having it's taking days many days to assign custom Team Policies to over 200000 users using the Cs Powershell module. What make even hard to assign these custom policies is the constant failure of the scripts, even with paging the process. I'm assigning each user the following polices: Grant-CsTeamsMeetingPolicy -Identity $User -PolicyName $Policy Grant-CsTeamsCallingPolicy -Identity $User -PolicyName $Policy Grant-CsTeamsMessagingPolicy -Identity $User -PolicyName $Policy Grant-CsTeamsMeetingBroadcastPolicy -Identity $User -PolicyName $Policy Grant-CSTeamsAppPermissionPolicy -Identity $User -PolicyName $Policy Grant-CSTeamsAppSetupPolicy -Identity $User -PolicyName $Policy Grant-CsTeamsCallParkPolicy -Identity $User -PolicyName $Policy Grant-CsTeamsChannelsPolicy -Identity $User -PolicyName $Policy I'm hoping it's possible to use Graph to assign custom Team policies to Users. If so, which API do I use and the url? Thank You, -LarrySolved7.2KViews0likes3CommentsUnable to post a message from Graph API Explorer to Teams
After following the documentation i am able to create a Channel but unable to post a message to a channel. POST Method: https://graph.microsoft.com/v1.0/teams/49fjfj570-0a14-40ff-abf6-d899adfdefafa/channels/19:3ea88b8d91f544cc96763786c28cd6010@thread.skype/messages/Hello Response: { "error": { "code": "BadRequest", "message": "Resource not found for the segment 'messages'.", "innerError": { "request-id": "729731a6-d7ce-4687-a00a-51eda380a705", "date": "2019-08-19T18:33:50" } } }3.9KViews0likes1Comment