Is it possible to show "current meeting attendees" via an Adaptive Card? - microsoft-teams

I have somewhat of a unique use case where my team needs a 24-hour conference bridge. To keep the Teams chat threads from getting too long, I currently re-create the conference bridge via a Flow once each month. The Flow creates a new meeting invitation and posts an adaptive card with a "join" button that has a direct link into the current meeting.
One feature we're missing from the "meet now" or "schedule a meeting" feature in our team channel is the faces of the people that are currently present in the meeting. Is it possible to recreate this via the adaptive card? Or, is there another way for me change to flow to maybe post a "meet now" message once per month instead of a custom adaptive card?
Please let me know if you want some more detail or if my request doesn't make sense for some reason.
Thanks ahead of time!

You can create a deeplink to schedule a meeting using
https://teams.microsoft.com/l/meeting/new?subject=<meeting subject>&startTime=<date>&endTime=<date>&content=<content>&attendees=<user1>,<user2>,<user3>,...
and you can specify this as the URL target in your card's button or tap action through the openUrl action type. For more details please go through the documentation.

Related

Mark an Adaptive card posted via Incoming webhook in MS Teams as done

We get messages/tasks from an external PHP-server via incoming webhook in a Teams channel. They are posted in the Adaptive Card format using the 'message with attachments' method.
I would like to find a possibility to mark these messages as done.
My idea would be that the message has a button, that turns green and maybe changes the text when clicked. This has to be permanent. Also the text of the card should be hidden.
I tried to implement a button that toggles the visibility of the card, but it turns out the toggle is not persistent but gets reset every time the channel is opened.
As a workaround we are using reactions at the moment, but I would like to find a more obvious way.
Obviously an incoming webhook does not support the use of Action.Submit (as stated in the link above). So I cannot obviously update the card with this method.
I was thinking to use the Post adaptive card and await answer -method from Flow, but it cannot post an answer to a post, but only post a new card, so the context is missing, which of the posts in the channel you ant to mark as done.
A Power automate Flow could achieve this, if it could be told to alter the posted message.
I realize that it is actually a Task I want to post, not necessarily a message/card in a Teams channel. But there seems no way to post a new task directly to a Tasks tab in a Teams channel via an incoming webhook?
Has anybody an idea what technique could be used to achieve my goal?
This is possible using Actions with O365 connector card format, and is not a currently supported feature in Adaptive cards,
Ref Doc: ⁠Create and send messages - Teams | Microsoft Docs
Could you please raise an User Voice

How to add a call in phone number to an existing Microsoft Teams Meeting?

Since recently, I can add a call-in phone number to Microsoft Teams meetings. For new meetings, this works fine. But I have a meeting with a large number of customers for which I sent the invitation before I had the phone number. So currently, there is no phone number to call in to that meeting. How can I add one, without cancelling the old meeting and creating a new one?
What I tried without success so far:
Using a number from another meeting (seem to be different "rooms")
Deleting the link block by hand and trying to add a new one (not possible, the button still says "join the meeting")
Trying to find out whether the numeric meeting ID can be derived from the one in the link
You can add phone number to the meeting using Update online meeting API. You can get the meeting Id by subcribing to notification API please check the docs for more info.

Get show status from a conversation in Teams

I've developed a messaging extension for Teams and successfully sending card in a conversation. But I want a data for my Action Cards.
When a user sends an action card to another user, another user might not be online and my action card be "not seen" status. But I want a custom action for my card to be "seen" from other person (not sender) to get my action card's usage data statistics.
How can I get another person's uid and my card's id to match without clicking anywhere?
At present we don't have the feature of knowing seen/unseen status of card/messages of others. Microsoft will always focus on customer’s feedback and experience, some new features would be added to the services based on customers' feedback in the future, we also recommend you give your new idea in Teams User Voice.

External link to existing Microsoft Teams chat

I have developed a Microsoft Teams app, and I'm using 'deep linking' to create named chats (chats with topic names) with selected users, as per the docs:
https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links#deep-linking-to-a-chat
An example of a 'deep link' to create a chat would be:
https://teams.microsoft.com/l/chat/0/0?users=joe#contoso.com,bob#contoso.com,dave#contoso.com&topicName=Prep%20For%20Meeting%20Tomorrow&message=Hi%20folks%2C%20kicking%20off%20a%20chat%20about%20our%20meeting%20tomorrow
This works fine - and if I save the portion of the link minus the 'message' portion, this again works fine, and links the user to the existing chat:
https://teams.microsoft.com/l/chat/0/0?users=joe#contoso.com,bob#contoso.com,dave#contoso.com&topicName=Prep%20For%20Meeting%20Tomorrow
However, if another user is added to the chat from inside Teams itself, the link above will not link to the existing chat any more, rather create a brand new chat instance with the same topicName and originally specified users.
Is there a way of 'deep linking' to a chat by it's topicName or some kind of ID only? Without having to get clever with the Microsoft Graph API?
https://teams.microsoft.com/l/chat/0/0?Prep%20For%20Meeting%20Tomorrow
just links to the chat 'home screen', where a user can start a new chat through Teams
I might be wrong, but I'm pretty sure you can't achieve this directly. As soon as you add a new person, it's no longer the "same" chat, so to speak (e.g. a chat with "Joe, Bob and Dave" is NOT the same as a chat with "Joe, Bob, Dave and Sue". The two ways I can think of that you can achieve what you're looking for though, are:
create a Meeting with that subject - the "meeting" chat seems to hang around forever, it has a title, and you can modify participants, even after the "meeting" is over.
Alternative to the above, if there's an ongoing initiative, maybe it's just better as an actual Team or Channel anyway...?
I came here looking a solution to this same requirement.. a link that others can click on to dial into a normal MS Teams (multi-person) chat. I want to include this in my meeting invites in the case where I initially created the chat group manually within MS Teams (not originally via meeting invite).
I opened the chat in MS Teams Web (in my browser) to get the unique conversation identifier and then replaced that portion in a sample link that I would typically find in meeting invites. I also removed the context parameter. When I followed the resulting link in my browser it launched my MS Teams desktop application and joined the chat group meeting. An illustrative sample link is below:
https://teams.microsoft.com/l/meetup-join/*19:1235774810bf4d7086ada8e13c7c6c8a#thread.v2/0*
The portion "19:1235774810bf4d7086ada8e13c7c6c8a#thread.v2/0" is what I replaced.
And there is no need for something like "?context=%7b%22Tid%22%3a%22c9b9cb50-3544-4db4-a267-fa84df2f4ceb%22%2c%22Oid%22%3a%22663db54f-657a-407d-8a0b-45c76d8cdffd%22%7d" at the end either. I'm not sure what will happen if someone uses this link who has not been added to the chat by me though. You'll have to test that if that is a requirement.

Cortana Skill filtering time information when passing message to Bot Framework v4

When I invoke my Cortana skill and say "Ask MyBot find me a meeting room from 10:00 AM to 11:00 AM", it is understood correctly and shown on the Cortana canvas.
However, the message I receive on bot side is "find me a meeting room from 10".
The same happens when I say "Ask MyBot book me a room tomorrow 10:00 o'clock". Bot receives "book me a room tomorrow 10".
So all time related pieces of the utterance seem to be filtered out by Cortana and just the first number is appended.
When I type the above directly into the Cortana canvas instead of speaking it, then the full text is received by the bot.
Is the speech model of Cortana somehow filtering the input wrong? I've already checked my speech priming settings, but I haven't selected any model.
The only thing I can think of is that regional settings somehow interfere here, but I have not idea where it might come from. The device it self is all set to en-US.
Update
Did some more tests and speaking "Ask MyBot 9:30 AM" does result in "9" on bot site. So I think that somehow everything after : is removed and I believe it must be on the channel logic as it doesn't happen when using text, even over Cortana canvas directly.
Thus I've filed a bug report on the bot services GitHub page.
I've reproduced the defects and filed tickets on the appropriate teams. Thanks for reporting this.

Resources