api
10 TopicsMS Teams Graph API @Mention a Bot
We're doing some work with a bot that's been added as a member to a Teams channel, and are attempting to send a message to the bot through the at_mention function to have the bot take some action. Below is the full JSON request that we're posting to the Messages API. The post appears to at_mention the bot, but the bot doesn't respond. Have tested this with multiple bots in this channel, and doesn't appear that the problem is specific to the particular bot we're working with. Any help would be greatly appreciated! POST https://graph.microsoft.com/beta/teams/<team-id>/channels/<channel-id>/messages Content-type: application/json { "body": { "contentType": "html", "content": "<div><div><at id=\"0\">Cisco Webex Meetings</at> site test.webex.com</div>\n</div>" }, "mentions": [ { "id": 0, "mentionText": "Cisco Webex Meetings", "mentioned": { "application": { "displayName": "Cisco Webex Meetings", "id": "<bot-id>", "applicationIdentityType": "bot" } } } ] }3.5KViews0likes2CommentsAPI for MS Teams Apps in Teams Admin Center
Hello Team I need to validate what apps are currently allowed, blocked and submitted in my Teams tenant. i know that there is no direct method to export them from Teams Admin centre, however we can do get some information from GRAPH API I need to export to file that list all apps with the following Name Publisher Status Custom app (optional) With help of https://docs.microsoft.com/en-us/graph/api/appcatalogs-list-teamsapps?view=graph-rest-1.0&tabs=http i could manage to get the information except "STATUS" and CUSTOM APP parameter , on which i could see whether the apps are allowed or BLOCKED https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$expand=AppDefinitions https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=distributionMethod eq '1' https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=distributionMethod eq '0' Also, from the graphAPI explorer, how can i export to an file (CSV) or any another options your timely help would be much appreciated4.1KViews0likes1CommentGet Microsoft Teams transcript api or sdk
Hi - does anyone know if Microsoft Teams has an API to retrieve a meeting transcript after the meeting has ended or if the teams SDK allows it? I haven't been able to find an API or a way to do it through the SDK, but just wanted to make sure in case I overlooked something. Thanks!Solved6.8KViews2likes4CommentsMake a call through teams
Hello, Is there an API to make a call through teams? I would like to develop something on a web page that when you click a number it calls a teams API and dials that number. We had this functionality with our legacy PBX but I can't seem to find a way to get it working with teams. I saw you can link teams to the tel: protocol in windows 10 but this causes about 3 clicks before the call is actually placed, I was looking for something more straight forward from the end user point of view. Thank you, JamesSolved1.4KViews1like2CommentsGenerate Team/Channel link via API
Hi everyone, I would like some help with the Microsoft API Graph - Teams product. I'm creating a new app in my Azure Directory to be able to interact with the Teams and groups that exists within this directory. I was able to create a group, some users, a team and some channels via API. I was wondering if there's any way to generate or get the channel link from any team/channel related endpoint. I saw that from the "me/joinedTeams" details there's a field named webUrl, but it's always empty for any teams I'm in. Another thing I was trying to achieve is to get some "pre-authenticated" link for a specific user, with a direct access to a joined team or a team in general. Let me explain this : - I'm able to authenticate my app on behalf of a user - I'm able to refresh and renew authentication via the auth/refresh token for a given user Now at this point, I can act as a user. But how can I generate/get some sort of deep link or authenticated deep link where anyone ( who possess this link ) can click and via this link, be logged as given/chosen user automatically, causing the load/open of the team (web/app) directly with the selected user on the proper/provided team channel? ThanksSolved7.8KViews0likes4CommentsClosing a Tab Configuration Dialog Orphans Authentication Pop-up Window
Hi there, Our team has encountered a bug with MS Teams handling of an authentication popup window when launched through a Tab Configuration dialog. Repro steps: 1) Go to a Team channel and click the + button to add a new tab. 2) Select an app that requires authentication as part of the tab configuration process. 3) Initiate the authentication process. The authentication pop-up window should appear. 4) Before the authentication pop-up completes, close the Tab configuration dialog. Expected results: The authentication pop-up window should be closed/cancelled when the tab configuration dialog is closed, or closed when the notifySuccess/notifyFailure events are triggered. Actual results: The authentication pop-up continues running, and doesn't close on completion (likely because Teams is no longer listening for the notifySuccess/notifyFailure events).1.5KViews0likes1CommentInterconnection with Zapier shows ErrorInsufficientPermissionsInAccessToken
Hi, I try to interconnect with other services (namely RocketChat) via Zapier. Everything works fine so far, just the connection to Teams throws an error. I'm on the freemium version of teams for now until i know everything works as expected. I tried two accounts (one admin one not) and the Login shows up as "Authentication Failed" in Zapier. When Connecting to Teams I see it working and can grant access. I also get the mail that a new app has connected. I also wrote with the Zapier support and they routed me here and gave me this from their logs: { "error": { "code": "ErrorInsufficientPermissionsInAccessToken", "message": "Exception of type 'Microsoft.Fast.Profile.Core.Exception.ProfileAccessDeniedException' was thrown.", "innerError": { "request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx", "date": "2019-09-09T13:59:43" } } I am wondering if this occurs because its the freee version I use? Maybe it has some restrictions in the API? Can someone of you point me into a direction? Zapier guys claim everything is right on their side.908Views0likes0CommentsMS Teams Graph API : Is there a way to edit messages/replies via API?
Hi, Im trying to edit messages/replies via Api in Teams but i can not find any documentation about it. I've found other documentation for the same purpose with mail: https://docs.microsoft.com/sv-se/graph/api/message-update?view=graph-rest-beta&tabs=http PATCH /me/messages/{id} so i was trying the same logic in graph explorer for messages: PATCH https://graph.microsoft.com/beta/teams/{teamId}/channels/{channelId}/messages/{messageId} { "body": { "content": "Trying to update messages!" } } but i just get UnknownError back. Does anyone know how to do this? is it possible in any way? Thanks in advance!2.1KViews0likes0Comments