microsoft teams
1785 TopicsWeb Notifications API from Personal Tab app doesn't work
I have a client-side web application that we're trying to get to run as a Teams personal tab app. I have the app working as a teams app, as long as we "open in new window" so that the app doesn't get put to sleep as it needs a permanently up session with something else. Our app uses Web Notifications API (https://developer.mozilla.org/en-US/docs/Web/API/Notification) to create desktop notificiations, but this does not seem to work when running as a Teams tab app popped out into a new window. No notifications are displayed. Permissions have been requested correctly and given and Windows is set to allow notifications, but these web notifications never make it out of teams to the desktop. There are no errors in the browser console to say the web notifications are not supported in Teams. Is this not supported as a teams app? The inbuilt activity feed is useless for our purpose (for a few reasons), so please don't suggest I use graph to make use of that instead.28Views0likes2CommentsSSO for a Python Teams Bot (M365 Agents SDK + FastAPI) — Single-Tenant, Multi-Tenant, and UAMI
We're building, a Teams bot (Python / FastAPI) that uses the M365 Agents SDK (microsoft-agents-hosting-fastapi + microsoft-agents-authentication-msal, v0.8.0) with a CloudAdapter and MsalConnectionManager. The bot is currently scoped to personal only and runs behind an Azure Bot resource. We are trying to implement SSO to authenticate users, so far we are not successful. The main blocker is that we failed to authenticate users from tenant different than the Azure Bot resource of our app. If anyone has successfully managed to authenticate users on Teams using a setup similar than ours please do share your experience. We would love to learn from your experience. So far this was our main source of documentation: https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/authentication/bot-sso-overview Many thanks25Views0likes1CommentBot not receiving message events in shared channels (RSC)
Hi folks, Running into an issue with a bot in Microsoft Teams shared channels. I've configured RSC permissions to listen for new messages. This works as expected in standard channels - I receive events for every new message. However, in shared channels, the behavior is different: I only receive events when the bot is explicitly tagged Regular messages in the channel don’t trigger any events Permissions currently granted: Channel.ReadBasic.All (Application) ChannelMember.Read.All (Application) ChannelMessage.Read.All (Application) Has anyone faced this with shared channels? Is this expected behavior or am I missing something in setup? Thanks!175Views0likes5CommentsError ColdStoreNotSupportedForMessageException when sending message MS Teams via Graph API.
I'm using the Graph API to send a message to a Microsoft Teams channel, but I'm getting the following error. Endpoint: https://graph.microsoft.com/v1.0/teams/{team_id}/channels/{channel_id}/messages Reference: https://learn.microsoft.com/ja-jp/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http#http-request Error response: { "code": "NotFound", "message": "NotFound", "innerError": { "code": "1", "message": "MessageNotFound-Message does not exist in the thread: ColdStoreNotSupportedForMessageException:ColdStoreMessageOperations is not supported if cutOffColdStoreEpoch is not provided. (msgVersion:1773201279001, cutoff:1773137924398)", "date": "2026-03-17T10:18:44", "request-id": "7e4d1acd-05d0-4ff6-82ac-4cf0549bfa56", "client-request-id": "7e4d1acd-05d0-4ff6-82ac-4cf0549bfa56" } } I couldn't find any documentation related to ColdStoreNotSupportedForMessageException. Has anyone encountered this before or have any insight into what's causing it?77Views0likes3CommentsQuestion about barCode.scanBarCode
Dear sir I'm developing Teams mobile application, static tab(Personal app Tab). We need a QR scan feature. However I can't use that. barCode.isSupported() is always false. Is there any restriction on static tab app? Here are my conditions. -. "import { app, authentication, barCode } from '@microsoft/teams-js';" . version : 2.37.0 -. manifest.json : "devicePermissions": ["media"], -. app.initialize() is sucessfully done. I can see the barCode object Unfortunatly, barCode.isSupported() shows false. Android, iOS has the same result. Can you advise how I can use the barCode camera.? Many thanks75Views0likes3CommentsGet all AA/CQ with Resource Accounts
Hello Is it possible to have a script that pulls out all AA/CQ with resource accounts. I would like to pull it to find out which of the AA/CQ do not have resource account. If there is no resource account the field would be empty. Regards JFM_12Solved93Views0likes4CommentsHow do I send a message to myself with PowerAutomate?
I am developing a PowerAutomate flow, I want to use the function "post message in chat or channel", I can send messages to anyone in "one to one" private chats but not on the private chat I have with myself. Has somebody found a way to message himself via power automate? I can't create it as a "new chat" in PA because it says users cannot be duplicate. Then I figured out I had to find the ID of the chat with myself. I tried using the microsoft graph api to retrieve the id from "me/chats" but the chat with myself is not shown. I tried many different filters and expansions with no success. I also tried analyzing the id itself and discovered that, in the case of "one to one" chats, it's made of {the sender id} and {the receiver id} I then tried constructing an id that contains 19:{myuserid}_{myuserid}@{domain} but it responds that there is no record. I tried many combinations, thanks for the help.18KViews0likes3CommentsCannot create new subscription to resource
APP BACKGROUND I have an app that integrate with Microsoft Graph API in order to create subscriptions for some resources. In order to keep subscriptions valid for a long period, I have to update it to continue receiving change notifications on these resources. Basically my workflow for refresh a subscription is: First I try to patch the subscription through this endpoint: PATCH https://graph.microsoft.com/v1.0/subscriptions/{subscription_id} If something fails and I couldn't update it I have a fallback process that deletes it and recreate the subscription after. To delete the subscription I call this endpoint: DELETE https://graph.microsoft.com/v1.0/subscriptions/{subscription_id} And right after I call the endpoint to create the subscription again: POST https://graph.microsoft.com/v1.0/subscriptions/ ISSUE This process works well the most part of the time, but during some hours ( generally during 1~3h) on random days, it stop to work for some random resources. Basically I receive a 404 status from Microsoft when trying to patch or delete the subscription (which is expected on this case), but when I attempt to create a new subscription it returns a 403 error saying: Operation: Create; Exception: [Status Code: Forbidden; Reason: App 'aaaa-bbbb-cccc-dddd-ffff' has reached its limit of '1' 'USERS/AAAAA-BBBB-CCCC-DDDD-EEEE/CHATS/GETALLMESSAGES' subscription on tenant 'aaaaa-hhhhhh-jjjj-uuuu-zzzz How could the subscription already exists if previously it returned a 404 saying that it doesn't exists? SAMPLE REQUEST ID Following the request id a sample of this issue: PATCH https://graph.microsoft.com/v1.0/subscriptions/{subscription_id} date: 2024-07-15T17:08:03 request-id: f5504a6c-b571-4ee4-893c-b96aae64a759 client-request-id: f5504a6c-b571-4ee4-893c-b96aae64a759 result: 404 - Not found DELETE https://graph.microsoft.com/v1.0/subscriptions/{subscription_id} date: 2024-07-15T17:08:03 request-id: 1d3c601d-f761-43f2-8260-c30bf7a3540e client-request-id: 1d3c601d-f761-43f2-8260-c30bf7a3540e result: 404 - Not found POST https://graph.microsoft.com/v1.0/subscriptions/ date: 2024-07-15T17:08:03 request-id: c06196f7-d3c2-4a7d-8e7b-6fc9d63ec496 client-request-id: c06196f7-d3c2-4a7d-8e7b-6fc9d63ec496 result: 403 - Forbidden - App 'aaa-bbb-cc' has reached its limit of '1' 'USERS/DDD-FFF-GGG/CHATS/GETALLMESSAGES' subscription on tenant 'bbb-dddd-aaa-eeeee'629Views1like2Comments