Microsoft Graph Teams refers to the Microsoft Teams APIs from Microsoft Graph. This tag should always be used in conjunction with the [microsoft-graph] tag.
Questions tagged [microsoft-graph-teams]
999 questions
10
votes
3 answers
How can I update Presence/Status/Availability in MS Teams via an API call?
I am aware of the beta Graph Presence API. However, this currently only allows retrieving Presence data. I would like to be able to change a Teams user's status availability using an api call. The most recent information that I could find is…

dda
- 309
- 1
- 3
- 15
8
votes
2 answers
Microsoft Teams access policy - New-CsApplicationAccessPolicy returns 404
I am trying to use the Microsoft Graph API to create OnlineMeetings here
https://learn.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=http
But when configuring application access policy as instructed…

Hoang Phan
- 2,146
- 1
- 15
- 16
8
votes
0 answers
How to get aadObjectId of Microsoft Personal Accounts which uses MS Teams
We work on MS Teams bots. Each bot notification contains aadObjectId in request body by which we identify the user.
Sample Bot…

Hari Prasandh
- 467
- 2
- 13
7
votes
2 answers
Teams listChannel Graph API resulting in "Unauthorized error - "Failed to execute Aad backend request GetUsersByObjectIdsRequest"
The teams list channel Graph API has started throw Unauthorized error as below. It use to work fine until yesterday. We are using "ServicePrincipal" for authentication and it has all necessary graph permission. In this case - Group.Read.All
Sample…

KSP
- 91
- 1
- 5
7
votes
2 answers
Microsoft Teams: List all Chats regardless of users
We would like to achieve an eDiscovery integration that can track all past and new chat & channel messages.
But we observed that with Delegated Permissions, the app can only list Chats that the user (admin or not) is a member of; while with…

Frank Chen
- 178
- 5
6
votes
1 answer
Difference between PnP Core SDK and PnP Framework
Today I read an article about the two PnP libraries "PnP Core SDK" and "PnP Framework".
PnP Core SDK seems to be a framework that is totally abstracting CSOM, Graph or REST Apis of SharePoint/Teams.
So I can just use the Pnp-Context and dont have to…

David Mason
- 915
- 1
- 9
- 27
6
votes
1 answer
Sending an MS Teams message using the Microsoft Graph API or BOT API
I'm trying to implement the following solution: a web application that subscribes to all MS teams chat messages. If a message contains forbidden text, the application should somehow warn the user (Ideally by replying to the same message, or, if not…

danbar2304
- 130
- 5
6
votes
3 answers
Create a 'event as online meeting' or only the onlineMeeting using Microsoft Graph API
Any user who logged into our system (IdentityServer as Auth) under a specific tenant should be able to create an event as an online meeting (MS Teams).
We followed Build ASP.NET Core MVC apps with Microsoft Graph and Create and enable an event as an…

Gopi
- 5,656
- 22
- 80
- 146
6
votes
2 answers
microsoft graph BETA add Microsoft Teams channel with isfavoritebydefault
I am trying to create channels in Microsoft Teams using the Microsoft Graph Beta API. In the docs, it says that the channel entity has a property IsFavoriteByDefault that indicates
Whether the channel should automatically be marked 'favorite' for…

Yannick Plenevaux
- 73
- 4
5
votes
1 answer
Takes a few minutes until tabs endpoint is available after creating a private channel using Graph
I am creating a new private channel in an existing team using Graph. After this, I want to create a new tab in that channel. When doing a POST to the tabs endpoint I almost always get a 404 NotFound with the message No active channel found with…

Patrik Hellgren
- 51
- 5
5
votes
1 answer
How to know if the user has blocked the bot in Teams
I have created a bot using Bot framework V4 and hosted in Teams.
My bot is available for all the users in the organization.
I want to know if someone blocked the bot.
Is there any API or any event from the bot to know the user ID if the Bot has been…

Krishna089
- 101
- 20
5
votes
1 answer
Microsoft Teams Graph api - getting call id
I'm testing some scenarios with Microsoft Teams Communications api (via Graph API), but I got stuck with one thing. I would like to retrieve participants from particular call, but I don't know from where can I get call id for existing call…

user12960493
- 51
- 3
4
votes
2 answers
Cant create Microsoft Teams online meetings for some users (Defaults to OnlineMeetingProvider.Unknown) via Graph Api
I have 5 users, they all look the same in Office 365 (from what I can see anyway) and have Teams Exploratory licences. I am able to create online meetings (OnlineMeetingProvider="teamsForBusiness" and IsOnlineMeeting=true) for 2 of them. For the…

matt sharp
- 326
- 3
- 11
4
votes
1 answer
Add Bot to MS Teams private channels
Is there any workaround to be able to create, update and delete conversation on private channels using code?

chiaDev
- 389
- 3
- 17
4
votes
2 answers
Is there any Microsoft API to get the group Id from channel id?
I have list of channel id of particular group, I want the group Id and name from channel Id.
Is there any such api in Microsoft graph api?

varsha
- 63
- 5