api
18 TopicsHow to get teams channel message from reply of a message id in ms graph?
Hi, I'm currently using the Microsoft Graph API to develop an app. I use https://graph.microsoft.com/v1.0/search/query to search for messages. I receive the results, which include both the original message and reply message. I want to use the message ID to retrieve the detailed message using this API: /teams/{team-id}/channels/{channel-id}/messages/{message-id}. If the message is the main message, it returns the details. However, if it's a reply, it returns a 404 error. Does this mean I need to obtain the main message ID from the reply? Is there any API or practical way I can use to retrieve it? Thank you!297Views1like3CommentsIs there a way to get live transcript in Microsoft Teams?
I am trying to find a way in Microsoft Teams to get the live transcript, I want to be able to subscribe to a meeting/call that it is still running and to get the transcript from it. I understand that there is an Graph API that allows me to get the transcript for a meeting/call that ended, but that's not what I need. I am alright even with faking the subscription and do a HTTP call every 2-5/seconds. After I get the transcript I would like to do some live processing on the text. I am aware that I can connect a bot to a meeting/call and then the bot can interact with the audio stream and use Azure AI Speech Service to convert the Speech-To-Text and get the live text. I found a sample in Microsoft Github repos: https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/PublicSamples/EchoBot This is a good solution, but if possible I would like to do be able to do one of the following, if possible: get the transcript without a bot that needs to be connected to a session. connect a bot that can interact with the live transcript in order to get all additional metadata, like speaker name.841Views0likes1CommentMS 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.5KViews0likes2CommentsList of a Tenant's future online meetings in Teams
Newbie here! We're looking to leverage the Microsoft Graph API to pull a list of all the future online meetings created in Teams within a tenant for display in our app. Alternatively, a list of all future online meetings for a particular organizer would be great, too. Any recommendations on how we'd get there?Solved2KViews1like3CommentsAPI 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.8KViews2likes4CommentsPrivate Chats APIs
As a developer, from a custom application, can I create a Private Chat Group and post messages to the same? Are there any APIs to achieve this functionality? Please note that my requirement is related to Private Chats and not Private Channels. Sample Business Use Case: the "Initiate Private Chat" button should create a private chat between selected participants and give the private group name "CEO Hiring" and post the initial message "Whats the status of......."2.1KViews0likes3CommentsError creating application access policy
I'm trying to create online meetings using Microsoft Graph API, but it is not working as expected. The cmdlet Connect-MicrosoftTeams with an MFA enabled account seems to work fine. It outputs: Account | Environment | Tenant | TenantId <MY-ACCOUNT> | AzureCloud | <TENANT> | <TENANTID> However, when I run the command to create an application access policy: New-CsApplicationAccessPolicy -Identity Test-policy -AppIds "<MY-APP-ID>" -Description "Test policy" I get the following error: Get-CsOnlineSession: C:\Users\fadc8\OneDrive\Documentos\PowerShell\Modules\MicrosoftTeams\2.5.0\netcoreapp3.1\SfBORemotePowershellModule.psm1:273 Line | 273 | $remoteSession = (Get-CsOnlineSessionCommand) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Run Connect-MicrosoftTeams before running cmdlets. Invoke-Command: C:\Users\fadc8\OneDrive\Documentos\PowerShell\Modules\MicrosoftTeams\2.5.0\netcoreapp3.1\SfBORemotePowershellModule.psm1:113 Line | 113 | -Session $session ` | ~~~~~~~~ | Cannot validate argument on parameter 'Session'. The argument is null or empty. Provide an argument | that is not null or empty, and then try the command again. I found the source script: https://www.powershellgallery.com/packages/MicrosoftTeams/2.5.0/Content/net472%5CSfBORemotePowershellModule.psm1 It is looking for an implicit remote session... I don't know if it is relevant, but the MSA I'm using has Global Administator privillege. Could you help me to understand what is wrong? Workstation configuration: Windows 10 PowerShell 7.1.4 PowerShellGet 2.2.5 MicrosoftTeams 2.5.0Solved2.7KViews0likes4CommentsAPI to access recordings / streams of Teams calls
Our app is trying to connect with the recordings of Teams calls. Does anyone have experience with accessing the recordings/streams for a given user for both playback and metadata. For example, getting from oAuth —> videoTeleconferenceId —> microsoftstream —> mp4 source (if that's possible) Also, experience controlling an embedded player: play, pause, seek, get_time type of calls.Solved2.7KViews1like2Comments