microsoft teams
1751 TopicsUnable to Add Tabs to Chats Consistently in Teams via GraphAPI
Expected Behavior: Tabs should be consistently added to chats when using the Graph API, provided all necessary permissions and conditions are met.Description We are encountering an issue when using the Microsoft Graph API to create chats and https://learn.microsoft.com/en-us/graph/api/chat-post-installedapps?view=graph-rest-1.0&tabs=http and https://learn.microsoft.com/en-us/graph/api/channel-post-tabs?view=graph-rest-1.0&tabs=http in Microsoft Teams. While we have the necessary permissions, the process of adding a tab to a chat works intermittently. Sometimes the tab is successfully added, but most of the time it fails, even though the app is installed correctly, with the following error: Failed to execute MsGraph backend request GetUserLicenseDetailsS2SRequest. Workload MsGraph_DirectoryServices. Request Url: https://graph.microsoft.com/v1.0/users/c0cfdd6b-d64d-42e1-8111-0881725f68ff/licenseDetails?$select=skuId,skuPartNumber,servicePlans, Request Method: GET, Response Status Code: NotFound, Response Headers: Strict-Transport-Security: max-age=31536000\r\nrequest-id: c86b5fbd-4224-486b-8f3e-8ad3f561a377\r\nclient-request-id: c86b5fbd-4224-486b-8f3e-8ad3f561a377\r\nx-ms-ags-diagnostic: {\"ServerInfo\":{\"DataCenter\":\"North Europe\",\"Slice\":\"E\",\"Ring\":\"4\",\"ScaleUnit\":\"011\",\"RoleInstance\":\"DB1PEPF00075073\"}}\r\nx-ms-resource-unit: 1\r\nDate: Tue, 22 Apr 2025 09:47:03 GMT\r\n, Reason Phrase: Not Found, Request ID 1F9FFBD00A5F489E9B7CABDCFB857858. Reproduction steps: Create an AAD App registration with required application permissions (to install apps and manage tabs in chats), ie at least the following: TeamsAppInstallation.ReadWriteAndConsentForChat.All TeamsTab.ReadWriteForChat.All Create a Teams application with a static tab with "groupChat" scope Install app in chat: POST https://graph.microsoft.com/v1.0/chats/:chatId/installedApps with body below Add (pin) tab to chat: POST https://graph.microsoft.com/v1.0/chats/:chatId/tabs with body below {"email address removed for privacy reasons" : "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/{{AppId}}"} Expected Behavior: Tabs should be consistently added to chats when using the Graph API, provided all necessary permissions and conditions are met. Current Behavior: The process of adding tabs to chats is unreliable. Sometimes the tab is added, but most times, the request fails without clear reasoning. All required permissions appear to be in place since it works occasionally. Note that this issue started to occur at the beginning of the month, around the 8th of April apparently, has anything changed around this date? Also note I also found traces of https://learn.microsoft.com/en-us/answers/questions/2259024/add-tab-to-chat-request-stopped-working-now-it-ret?source=docs in our logs but it is apparently resolved now.406Views2likes12CommentsAgents Toolkit for Visual Studio - many bots in monorepo
I am using the Agents Toolkit for Visual Studio and I am thinking about hosting several Teams Bots in the same git repository. Each of them should be deployed in a different Tenant, so I am wondering about best practices to avoid a bot ending up in the wrong tenant. I am completely new to Agents Toolkit and Teams development. Any hints on upcoming events regarding these topics are highly appreciated.24Views0likes1CommentIssue with Deep Link to Meeting Side Panel in Microsoft Teams
Dear Team, I hope this message finds you well. We are currently experiencing an issue with the deep link to the meeting side panel in Microsoft Teams. Despite following the documentation provided at the link below, the functionality is not working as expected: https://learn.microsoft.com/en-gb/microsoftteams/platform/concepts/build-and-test/deep-link-workflow?tabs=teamsjs-v2#deep-link-to-meeting-side-panel When attempting to use the deep link, we encounter the following issue: Instead of opening our custom application in the side panel, the meeting window opens with the chat displayed on the right-hand side. And in the background, I am getting the below error. We would appreciate your assistance in resolving this matter, as the deep link is a critical component for our application integration within Microsoft Teams. Thank you for your prompt attention to this issue. Best regards, Sukesh PK910Views1like5CommentsDeleting AutoAttendants and CallQueue
Hello There are commands to delete AutoAttendants and CallQueue. But I get allways an error "Can't remove the Auto Attendant. Auto Attendant is still referenced by Endpoints Ids" Even if all Ressource Accounts are deleted a day before. These Auto Attendants and CallQueues are configured as Calling ID's When I manually delete them after removing there also an error that call queue time was to low. Is it possible to force the deletion. Regards JFM_12143Views0likes6CommentsAdaptive Card embedded audio doesn't play
Hi Everyone I have an adaptive card that was working until this week. I've got a workflow that sends an email when a voicemail is received, then saves the voicemail in SharePoint and sends the audio file embedded in an adaptive card in Teams. The code isn't complicated, I've just put the sharing link as a variable and then it's more or less like this: "type": "Media", "sources": [ { "mimeType": "audio/wav", "url": "@{variables('VoicemailLink')})" } ] It was working last week, and I didn't change anything. I've put a quick workaround in to put a hyperlink to the voicemail in the text of the adaptive card, and that seems fine so the variable link is working and the saved audio file is working, it's just not embedding the file nicely into the card. It opens up in a browser window instead. Has there been an update to adaptive cards or Teams that might break this sort of thing? Thanks for your help.29Views0likes1CommentVisibility of adaptive card element depending on value of a ChoiceSet?
So I 've been looking at how to show and hide elements on the card and I think I've worked out that it's not reactive to when the data changes. So can you have elements hide based on a value of a choiceset?8KViews0likes6CommentsTeams Adaptive card Textrun is rendering markdown
I am making bot alarm message using adaptivecard. It is important for me to print out the user name and email accurately. So I tried to use TextRun to prevent markdowns from being supported.(https://adaptivecards.io/explorer/TextRun.html) But there is a problem that textrun is being marked down on ios mobile, tablet. this is my adaptive card json. {"type":"AdaptiveCard","$schema":"http://adaptivecards.io/schemas/adaptive-card.json","version":"1.3","body":[{"type":"TextBlock","text":"**Microsoft Entra ID**","size":"Large","wrap":true},{"type":"TextBlock","text":"user 5","size":"Medium","wrap":true},{"type":"RichTextBlock","inlines":[{"type":"TextRun","text":"- ``Use `code` in your Markdown file.(~~hspark~~@aaa.co.kr)\n","size":"Small"},{"type":"TextRun","text":"- + First item(test'email address removed for privacy reasons)\n","size":"Small"},{"type":"TextRun","text":"- ** test12041432(test'''email address removed for privacy reasons)\n","size":"Small"},{"type":"TextRun","text":"- > test12041435(test''email address removed for privacy reasons)\n","size":"Small"},{"type":"TextRun","text":"- 1. adsfsdafsdf *{}*asdfadsf*_~ark~(test'''email address removed for privacy reasons)","size":"Small"}]},{"type":"TextBlock","text":"user 5","size":"Medium","wrap":true},{"type":"RichTextBlock","inlines":[{"type":"TextRun","text":"- ``Use `code` in your Markdown file.``(~~hspark~~@aaa.co.kr)\n","size":"Small"},{"type":"TextRun","text":"- + First item(test'email address removed for privacy reasons)\n","size":"Small"},{"type":"TextRun","text":"- ** test12041432(test'''email address removed for privacy reasons)\n","size":"Small"},{"type":"TextRun","text":"- > test12041435(test''email address removed for privacy reasons)\n","size":"Small"},{"type":"TextRun","text":"- 1ASDFASDFSADFASD asdfadsfsd *{}*adsfasdf*_~ark~(test'''email address removed for privacy reasons)","size":"Small"}]}]} I used \ to escape markdown on textblock, but there was a phenomenon where \ for escape was output together on mobile (Android, ios) even though it was properly rendered on pc. i want to know: Is there any way to output properly without markdown on adaptive card? PC, mobile, table should be supported in all environments. and I think it's a bug that textrun is rendered as a markdown in ios environment so please solve it. that's adaptive card json rendering exapmle pc: ios mobile: and escape \ example: mobile: pc:729Views0likes3CommentsTools in Teams AI Library
Hello Team, In LLM we use tools like DynamicTool, DynamicStructuredTool to determine when to call which function and with what parameters. How to do the same using Teams AI Library? My Use Case: I want to find the intent from the user query and based on that intent further call the respective function/tool to perform respective action. How can I achieve this using Teams AI Library? I went through the samples mentioned here: https://github.com/microsoft/teams-ai/blob/main/js/samples/04.ai-apps/ but couldn't find anything similar.1.4KViews0likes11CommentsAdaptive card is not getting updated in new Team client
We are working on bot framework (version 4) and using teams channel for bot communication. Currently teams client has updated to the newer versions with channel information. We are sending adaptive card to the teams and on button click the adaptive card will be getting updated. It was working fine in the old teams client But in new teams client web app , card is not getting updated every time. Either we need to change the channel or refresh the browser . Also we are not able to see any notifications of new messages that we are sending bot . We need to refresh or change the channel to see the notification message. Same behavior we have seen in teams client app also sometimes. Card was not getting updated exactly when we click on the button. We use the time stamp as a unique key for updating the card so that no conflict happens. Also there was no network issues while updating the card Is the issue with new teams web client or is there any suggestions that we can do to update the card at the same time we do button click.2.9KViews0likes12CommentsQuestions About Alternatives to Multi-Tenant Bots After July 31, 2025 Deprecation
Hello, As the ability to create multi-tenant bots in Azure will be discontinued after July 31, 2025, I’d like to ask if there are any viable alternatives available now? If I create a single-tenant bot and publish it to the Teams App Store, will users from other tenants still be able to interact with the bot? Additionally, will the bot be able to access their basic user profile information (only user name and aadObjectId) and conversation data? From my understanding, access tokens obtained using the client ID and client secret are tenant-scoped, meaning they are not valid across other tenants. As a result, the bot cannot access user information such as profile photos or email addresses from users in other tenants — is that correct? I'd really appreciate any clarification or recommended best practices on this. Thank you!792Views0likes3Comments