Forum Widgets
Latest Discussions
setReaction and softDelete for channel messages broken?
Hi, I have some issues using the setReaction and softDelete APIs for channel messages in MS Teams. It’s relatively easy to reproduce for me from the the MS Graph explorer. I have a message in a channel, that I programmatically want to set a reaction for (or delete it). The user calling the setReaction API is actually also the owner of the message. This can be seeing by the first screenshot, where updating the message succeeds without problems. But if I either try to set a reaction on the message, or delete it, I’m getting a weird ACL related error message (see second and third screenshot). The fourth screenshot is the relevant part of the decoded access token used by graph explorer, showing that I do have both the ChannelMessage.Send and ChannelMessage.ReadWrite permissions set for the token that are required for the setReaction and softDelete API calls according to the docs. I’ve also tried the same on a chat channel. There setReaction does work as it is supposed to, but softDelete also fails with an error message. Any help here would be appreciated.LarsKnollMay 20, 2025Copper Contributor26Views0likes1CommentUsing PowerApps "Send a Microsoft Graph HTTP request"
Hello I am trying to send a activity to Teams activity feed. The idea is to have a SharePoint list and if a new event or update event accurse on the SharePoint list to send a notification to Teams Activity. I started with he following code but it was not working when I updated the TeamID: Method: POST URI: https://graph.microsoft.com/v1.0/teams/{teamId}/sendActivityNotification HEADER: Content-Type: application/json BODY: { "topic": { "source": "entityUrl", "value": "https://graph.microsoft.com/v1.0/teams/{teamId}" }, "activityType": "systemDefault", "previewText": { "content": "Take a break" }, "recipient": { "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" }, "templateParameters": [ { "name": "systemDefaultText", "value": "You need to take a short break" } ] } The idea is to trigger the flow by SharePoint event Update & new. Then using the HTTP Request to Graph API and send an information with the URL of the new ITEM or FILE. In the moment some user have issues to be informed by he activity feed and it works by others. But the users who have issues get by other user informed. Its really a weird situation. The users are creating in the SitePages library ASPX files and want to inform others about the updated and new pages. Thanks in advance for the help. Kind regards MichaelMikel2024May 20, 2025Copper Contributor20Views0likes1CommentSmall icon for Power App uploaded to Teams
Hi everyone I've just uploaded a Power App to Teams for the first time and I have a slight issue with the way the icon looks once it's in Teams. In my app settings the icon size looks normal: However, when I add it to Teams, the icon looks really small: Is there anything that can be done about this? It's not the end of the world but it would look nicer if the icon on my custom app was the same size as the other app icons in Teams.gcjuw84May 19, 2025Brass Contributor5.9KViews0likes10CommentsGetting “Meeting Id is corrupted” error while trying to fetch meeting details from Graph API
Below is the screenshot of the teams context object, When we try to get the meeting details from the Graph API with the meeting id obtained from the teams context object (Refer the above screenshot), we get “Meeting Id is corrupted” error. Below is the screenshot of the Graph API request, Please let us know how to get the meeting details. Please note that we have created the meeting directly from the calendar.pksukeshpkMay 16, 2025Copper Contributor1.7KViews0likes11CommentsOwners are getting 403 when trying to delete bot posts
Hello, we have a notifications bot, and the customer noticed that he can't delete the bot's posts via mobile or desktop/web. The user is the owner and has updated policies that allow deletion of all posts in the channel. However, requests to delete bot posts return 403 status with "AclCheckFailed-Delete Message: Initiator (x:xxxx:xxxx-xxxx-x...) is not allowed to delete message" error message. MS Teams handles these requests, but I'm wondering if there is anything we can do on the bot side to help change the response and allow posts to be deleted (changing permissions, adding new functionality, etc.)? Would appreciate any suggestions!PipedriveDeveloperMay 16, 2025Copper Contributor139Views0likes1CommentHow to enable a Microsoft Teams bot to work in private channels?
We have developed a bot for Microsoft Teams that can send messages to: Team members' personal chats Public channels within the team However, when we attempt to install the bot in a private channel, we encounter the following error: "App isn't supported in the private channel. Select another channel." We would like to enable our bot to: Be installed in private channels. Send messages in the private channel where it is installed. Send messages to team members who are part of that private channel. Is there a way to configure the bot or update its app manifest to support private channels? If so, what steps are required? Are there any limitations or additional permissions needed to achieve this?608Views0likes4CommentsGetting a 401 when trying to create a conversation
Hello ! Using the node botbuilder SDK, I am trying to setup my bot to proactively create a conversation in a public channel on Teams. However, I keep getting 401 responses from the API, with no further details. You can find my code attached bellow: const adapter = new CloudAdapter( new ConfigurationBotFrameworkAuthentication( { MicrosoftAppId: process.env.MS_BOT_APP_ID, MicrosoftAppTenantId: process.env.MS_CLIENT_ID, }, new ConfigurationServiceClientCredentialFactory({ MicrosoftAppId: process.env.MS_BOT_APP_ID, MicrosoftAppPassword: process.env.MS_BOT_CLIENT_SECRET, MicrosoftAppTenantId: process.env.MS_CLIENT_ID, }), ), ); await adapter.createConversationAsync( process.env.MS_BOT_APP_ID!, Channels.Msteams, "https://smba.trafficmanager.net/teams/", null, { activity: { type: "message", text: "This is a test message", textFormat: "markdown", }, bot: { id: `28:${process.env.MS_BOT_APP_ID}`, name: "Zygon" }, isGroup: true, tenantId: process.env.MS_TENANT_ID, channelData: { channel: { id: channelId } }, }, console.log, );EureganMay 15, 2025Copper Contributor124Views0likes7CommentsUnable 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 install apps and tabs 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 this issue in our logs but it is apparently resolved now.CedricZimmermannMay 15, 2025Brass Contributor235Views2likes9CommentsCompliance recording bot call establishment delay
Hello, I have a compliance recording bot, running for US companies, declared in my tenant. Customers are complaining about long call establishement delays. When looking for Microsoft IP that channel the invites, I notice they are coming from all around the world, from Japan or Ireland for instance. During bot creation I've set up its region to "Gobal", as my tenant allows me only to select "Gobal", "West Europe", and "Central India". I don't know if this is related to this configuration or not. Is there a way to lower these delays, and how ? Thank you for your answer !119Views1like4CommentsFirewall whitelist rule/s for Teams custom app bot
I have a custom app that implements a bot in Teams, the bot url points to a server hosted within my local network. All works fine when my firewall is turned off. So my question is - what ip address needs to be whitelisted to allow the teams bot in?Alwin_LatMay 15, 2025Copper Contributor31Views0likes2Comments
Resources
Tags
- microsoft teams1,700 Topics
- developer1,323 Topics
- meetings229 Topics
- Chat221 Topics
- Administrator139 Topics
- Settings106 Topics
- Calling103 Topics
- files65 Topics
- teams54 Topics
- devices52 Topics