I am building a tab and Stage app used in meetings for Microsoft Teams. How can I have the app post a card to the meeting conversation?
I am able to get the conversation ID for the meeting and have the Tenant ID - but I don't know how to the auth information.
I have created a PowerApp in Teams and added it into a Teams Channel. I have added some users into my Teams Channel as Owners and some users as Members. I have added a tab at the top of the Teams Channel. When some of the users click on the tab, they able to view the app and when other users click on the tab they will receive a message saying that they need access. Any ideas of what may be causing this?
I'm new to Power Automate. I have a group in Microsoft teams and inside that group there is a Channel "Leave".
Is there any ways, to send one automatic emails to the owners (group owners) each time someone post a message about their leave in the channel? Will Power Automate help here? Are any tutorials available for this?
Here is a flow template specifically for your case
https://flow.microsoft.com/en-us/galleries/public/templates/4289ec53edec430b8b760234bcc87267/send-an-email-when-a-new-message-is-added-in-microsoft-teams/
I would like to implement the following Scenario:
Within a Meeting that should take place in the real world in a room (not necessarily within MS Teams), I want a Microsoft Azure Chat bot to post a message to the meeting-chat, without someone having to add the bot to that meeting chat.
I noticed, that real proactive messaging to MS Teams is still not possible, a workaround is necessary: Catching a conversation reference including the users teams-chat-id while he adds the bot e.g. via personal teams app. This works good, if the teams app is pushed to all users within an organization via policies.
This workaround however is not possible within a meeting-chat, that might not exist at the time the bot should write to it. So, no possibility to catch a conversation reference to post to.
Also, I noticed that there does not even exist a MS Graph endpoint neither a connector within Logic apps to post a teams message to several users without cannel-context.
Do you see any workaround for this scenario, or is it simply not supported?
To my knowledge, you're right on both accounts - a bot can't proactively message a chat that it's not part of, and I don't think Graph supports messaging to group chats altogether, which is your scenario.
Just on a point of correctness though, a bot can proactively message (a) individual users (1-1), (b) group chats, and (c) Team channels, each separately (i.e. it does not need to be installed by each user, and message each user privately, unless that is the desired scenario. All that's required for each of these is the relevant "conversationid" that represents the specific conversation, and the ServiceUrl.
When a bot chat with a user individually or in a group, the API returns different user ids. How can I know it's the same person?
Skype user's information fields looks like the following "from": { "id": "29:1DwlGVzj.....", "name": "My Skype Name" } (and bot's id is "28:appId").
This user id is a specific to your bot, it is a hash but the way it is generated is not known (not open-source). But this id is identidical for a unique user when talking individually with the bot or inside a group conversation with the same bot.
See sample here, I just checked:
Direct message between user and bot:
Group conversation including same user and same bot:
I've hidden some characters of the id in case of... but I confirm they are exactly the same values.
See also questions around the same problems:
For more details about the different channels and the ID format: Authenticate user across channels in Microsoft bot Framework
Get Skype ID from Activity object Bot Framework V3
Getting Skype Identity In Bot Framework?