Questions tagged [microsoft-graph-teams]
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.
831
questions
0
votes
0
answers
3
views
How to implement non-teams auth for teamsfx created react app?
Is there an example of adding authentication to a teamsfx created react app for when accessed directly with the browser, no teams? The teamfx specific mgt-element version is giving me trouble when ...
-1
votes
0
answers
11
views
Microsoft graph api for creating event in reactjs
Is there any documentation realted to this.
given documentation by mircosoft doesn't clarify the solution.
https://docs.microsoft.com/en-us/azure/active-directory/develop/single-page-app-quickstart?...
0
votes
2
answers
42
views
Bot Framework v4 C# - Proactive messages
I'm using Microsoft Graph in C# to interact with the Azure AD, now I need to build a teams bot that sends a welcome message to the user that was added to the directory, even if the user hasn't had a ...
-1
votes
0
answers
41
views
Connect Microsoft Teams chat with other chat service
My company is providing a platform to connect all the messaging channels to chat. Is there a way I can connect Microsoft Teams chat to our platform using any chatbots or other method?
2
votes
1
answer
28
views
Read Microsoft Teams channel messages (Microsoft graph API, C#)
Our organization need to read Microsoft teams messages from customers tenant, but we cannot do this without request access to Protected API, but this is not good for all customers to write the request ...
0
votes
0
answers
18
views
Unable to Export All Channels Conversations from a Team using Graph-PowerShell
I'm using the below script to export channel conversations. It works fine per channel. But I want to be able to export all channel conversations in a Team. I tried using ForEach ($Channel in $Channels)...
0
votes
1
answer
43
views
Error "invalid_grant" AADSTS65001 when trying to exchange access token
I am trying to get an access token by exchanging it using this https://login.microsoftonline.com/common/oauth2/v2.0/token
These are the parameters which are valid:
And when I add another permission ...
0
votes
0
answers
20
views
Not able to add the bot to a channel through microsoft graph API
While adding the bot to a channel through microsoft graph API, getting the below error
"error": {
"code": "BadGateway",
"message": "...
0
votes
0
answers
41
views
Get Teams Graph API id from bot framework request
Bot framework .Activity.TeamsGetTeamInfo().Id Docs gives Ids in the format of 19:pmwblabla-DU6Cjf25Fblablabla@thread.tacv2, but Graph API takes Ids in the form of GUIDs 1be44bc0-02cb-4715-9ecc-...
0
votes
0
answers
10
views
How to use MS graph api to access emails of private orphan group
How to use MS graph api to access emails of private orphan group.
Currently, using EWS we can access mails of group mailboxes. But for this, I need to connect to member user mailbox. And this entity ...
0
votes
1
answer
34
views
Trying to create team with owner using principal name, gives error "Failed to find users with user principal name" but user is owner of 365 account
Request URL
https://graph.microsoft.com/v1.0/teams
Request Body
{
"template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')",
"displayName&...
-1
votes
0
answers
24
views
Online Meetings GET calls do not contain all data anymore
We have been using the graph API /onlineMeetings get calls to retrieve the meeting data successfully for the past few months. Unfortunately, since about two days, we now get incomplete information ...
0
votes
0
answers
24
views
Everytime I change my Microsoft Teams Tab's code the content of the tab does not change
I am making a teams channel tab and everytime I update the code, the content loaded in the tab stays the same. I tried deleting the app and installing it again, rebuilding the manifest, nothing works.
...
0
votes
0
answers
8
views
How can I list the channels an MS Teams member can access?
I am looking for an MS Graph API to list all the channels a member can access, similar to what Slack provides in https://api.slack.com/methods/users.conversations
I looked in the MS Graph API ...
0
votes
1
answer
22
views
How to tell the difference between a SP Online drive and a Teams channel-drive?
Using the MSFT Graph API, is there a way to differentiate Drives (which are documentLibraries) that are used for Team-Channels versus those that are "simply" documentLibraries created WRT a ...
0
votes
1
answer
41
views
Sending only push notifications to users on Microsoft Teams without bot messages
I am building a third party Microsoft Teams app and wanted to know if our app can trigger a push notification without it sending any actual messages to user through chat?
We have a chat tab for our ...
0
votes
1
answer
68
views
MS Teams Graph API: Get all teams user(s) are apart of
I want to use the graph api to get the teams a list of users is a member/owner of. I am using this endpoint to pass the list of users, then select the properties of the group that I am interested in:
/...
0
votes
1
answer
30
views
How can I know if an entity is a queue or an auto attendand in Teams?
I am querying a Teams customer via Graph, and when I download a record for a call through the Call Record API, I see many participants, each of them referenced by their ID.
Some of them appear to be ...
0
votes
1
answer
83
views
Is there any way to export the contents of my Teams Chats for one day, by chat and time?
Is there any way to get and list out all my conversations in teams chats for one day? When I'm logging time, I lose track of what I worked on when I'm helping others, and the find function just gives ...
0
votes
0
answers
26
views
Updating isOnlineMeeting in M365 event via MS Graph
What I'm doing is creating a calendar event in M365 via the EWS API. I want to set isOnlineMeeting and onlineMeetingProvider, but those properties are not writable in EWS. So my idea was to take the ...
0
votes
1
answer
49
views
Is possible use Microsoft Graph API in a UWP app on HoloLens in order to initiate a video call through Microsoft Teams?
I would like to use Microsoft Teams to start a video call using HoloLens device with another people (using a PC).
I have and UWP app that I can install on HoloLens device, I would like to use ...
0
votes
0
answers
42
views
How to get MSTeam channels of a particular user have access by passing User ID or User Principal Name
I have tried to specific user joined teams by using query it worked
https://graph.microsoft.com/v1.0/users/{User ID or User Principal Name}/joinedteams
now how to get channels from the particular team ...
1
vote
1
answer
31
views
Is there a way to search for federated Teams users in Microsoft graph?
In the Teams client, you can search for any open federated users using the top search box. It'll give an option to search externally, which will return a federated user if the address matches. I'm ...
0
votes
0
answers
55
views
Failed to find user in SharePoint after the user is added to a team in MS Teams using Microsoft Graph API
We added a user to a team using MS Graph API
POST https://graph.microsoft.com/v1.0/teams/<team-id>/members
Content-type: application/json
{
"@odata.type": "#microsoft.graph....
0
votes
1
answer
49
views
Microsoft Graph - Proper way to retrieve attendance report from an Event
CONTEXT
Using application permission i'm creating an event and then retrieve the attendance report from it.
CODE TO ADD EVENT
public static async Task<Event> CreateEventAsync(string emailUser, ...
0
votes
0
answers
111
views
Getting message "Hmm… looks like this file doesn't have a preview we can show you" when trying to open a file from SharePoint or from MS Teams
Getting message "Hmm… looks like this file doesn't have a preview we can show you" When I am trying to open a file from SharePoint or from teams. I have tried using teams client as well as ...
0
votes
0
answers
39
views
Is it possible to ingest live captions from Microsoft Teams into a Bot?
I am trying to develop a Bot that can ingest live captions from a Teams meeting and parse for certain words / phrases in real time. I.e. if a user in the meeting says "hello" then the bot ...
0
votes
0
answers
34
views
Teams tab does not update its content even though it has been changed
I am creating a teams tab addon. I just created the project using yeoman, teams creator. Now the problem I have is that after I execute the command gulp serve, the project is served and is openable, ...
0
votes
1
answer
37
views
MS Graph API: How to get webUrl to student submission page for teacher
I can easily get webUrl for the Teams assignment page:
How can I get similar property (or some workaround) for the submission page:
?
I can't see it in properties of the submission.
Thank you!
0
votes
0
answers
47
views
Teams Graph Calls API, how make a Consultative Transfer
I can make a call from a BOT to a teams user, and can carry out a "blind" transfer of that call to another teams user using
public async Task TransferCallAsync(string replaceCallId, ...
0
votes
1
answer
52
views
Usecases for PowerShell 'MicrosoftTeams' module and 'Microsoft.Graph.Teams'
Maybe someone can explain to me why there are two separate modules (understanding that the regular module is on top of the graph module anyway) and when to use one or the other.
0
votes
0
answers
100
views
Calling microsoft graph api returns with 'InvalidAuthenticationToken' error
This is how I exchange the OBO token:
public static async Task<string> ExchangeForOBOToken(ExchangeOBORequest request)
{
var contentData = new Dictionary<string, string>();
...
0
votes
1
answer
98
views
Problem with getting SSO Auth token from Microsoft Teams
I would like to get the access token from Microsoft teams, when executing it in postman with the same data it works perfectly, when making the post request in react app, it does not work.
This is my ...
0
votes
1
answer
178
views
Profile Picture fails to sync in Teams and Sharepoint Online
bit of a strange one so I hope someone has some ideas.
We have updated several hundred user's profile photos through the Graph API and have also pushed the same photo to Active Directory (...
0
votes
1
answer
78
views
Microsoft Teams SSO Authentication method getAuthToken() returns 'resourceDisabled'
I am trying to get the AuthToken from Microsoft team and I get an error despite doing everything by book.
I know there is a similar question on S.O, but I tried every suggestion, still didn't work.
...
0
votes
0
answers
125
views
Find all existing online meetings via MS Graph API
I want to get attendance reports for historic online meetings in MS Teams (e.g. of the last day) that where created via UI (not via API). I have a client (service) with the required permissions to do ...
0
votes
0
answers
27
views
Sending custom text notifications to users on Microsoft Teams
I have spent quite a long time trying to figure out if I can send custom activity notifications using the graph API and I have come across the 'POST https://graph.microsoft.com/v1.0/users/{userId}/...
0
votes
1
answer
44
views
Where can i find all files shared within a team in Microsoft Teams using the teams API?
I would like to get the files within a team, just like they have them in the files tab.
I would like to replicate this on my own tab, just can't find anything where to start from.
I would also like ...
0
votes
1
answer
66
views
Getting Error in Unit Testing TeamsFx app
Is there any recommended framework to be used for unit testing the application built using TeamsFx tab app that can be integrated in a CI/CD pipeline.
I've tried using Jest and Enzyme but was getting ...
0
votes
1
answer
87
views
How to send a message from a Microsoft Teams bot using Microsoft Graph?
I a building a bot that should engage a 1 on 1 conversation with every user in a company using teams.
I would like to use the post chat message method:
https://docs.microsoft.com/en-us/graph/api/...
2
votes
2
answers
57
views
Channel Global Admin Microsoft Teams
I have heard of cases where Microsoft teams channels have different permission roles.
Roles like
Team Owner
App Admin or Global Admin.
Am currently building a feature in Microsoft teams bot, I want ...
0
votes
1
answer
58
views
Compose extension task module does not work on chat not initiated peoples
We have a app with compose extension,, compose extension to open a task module it working as expected with the already started conversation users, but throws an error for the people whom i did not ...
0
votes
1
answer
153
views
Teams Calling Bot - OnMessageActivityAsync return null value and AdaptiveCard not working
Trying to create and debug Teams calling and meeting bot from Bot Framework v4 for CPI project. found here: CallingBotSample
I have gone through all the steps correctly But I have some problems which ...
0
votes
0
answers
51
views
"Request Authorization Tenant Mismatch" when creating Teams Call and notification is not working?
I am using Microsoft graph API "https://graph.microsoft.com/beta/communications/calls" to make calls to teams but it gives me tenant error as per multiple answer available here I tried to ...
0
votes
1
answer
133
views
Teams Graph API, how to place an outgoing call on Hold
I am using the graph API to place an outgoing call from a BOT to a Teams user, with this API :
ret = await graphServiceClient.Communications.Calls
.Request()
.AddAsync(...
0
votes
2
answers
79
views
Microsoft Graph API Activity Feeds Notification does not push to mobile app
I'm POST-ing to MS Teams Activity Feed Notifications via the Microsoft Graph API. However, the notifications are only being pushed through to the desktop and browser applications
With the Microsoft ...
0
votes
1
answer
52
views
GraphAPI not returning user chat reactions
I am using users/{id}/chats/getAllMessages to get all user chat messages.
But this does not give us the reactions to the chat. The reaction field count is always 0.
1
vote
2
answers
292
views
Sending proactive messages from an outside process to organizational users via Teams chat bot
I have an Azure Bot installed in my organization through Teams. Interactions with the bot are properly functioning.
We have a scenario where we need to send notifications to our users from an external ...
1
vote
0
answers
9
views
Graph Explorer - Add Guest to Team
i have a problem to add guests to a team. I receive an 403 forbidden when i'm not the owner of a team.
i found similar issues with that like Add Team Member via Graph API. Response: 403
So here what i ...
0
votes
0
answers
38
views
Microsoft Graph Api createCall throws Unknown internal server error
I'm creating a Java application which create a call between participants.
According to the documentation (https://docs.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/registering-...