How to make a Microsoft Teams call using azure logic-app - azure

I am working on a requirement where I am using azure logic-app to create following flow.
Using azure logic-app, I have to create Microsoft Teams.
Add members to Microsoft Teams
Create a new Channel within newly created MS Teams.
Post a message into a channel.
It should call to all the members within the teams using "Meet Now" option in MS Team.
I am able to achieve all the above till 4th step but I am not getting any way to make a call to the members in MS team using "Meet Now" option in azure logic-app.
If anybody can suggest how to achieve the task mentioned in 5th point that would be very helpful.

For your scenario you can use deeplink to call to invoke audio only or audio-video calls to a single user or a group of users, by specifying the call type, as audio or av, and the participants.
https://teams.microsoft.com/l/call/0/0?users=<user1>,<user2>&withvideo=true
Please go through documentation for more info.

Related

2 way communication between external app and MS Teams

Problem statement: As a user I want to be able to share information quickly to MS teams from external web application.
For e.g. I am on an application and found some news that might be useful for the team so, I click on share and MS graph apis gets called that lists my teams and channels and I can select a channel to which I wish to share.
And I want this to be 2-way communication i.e. someone from my team can share something from MS Teams with be me that will be visible to me on the web application.
Now as a developer I wish to integrate MS Teams to my webapp such that when a user shares a news to teams, that message is posted by a bot on the teams channel.
And if someone #mentions the bot and provides some text then the bot sends that text to the external web app.
I am aware that this functionality can be achieved even without using a bot by creating webhooks.
But this approach is not viable for me as a outgoing webhook is created at a team level and not on app level according to documentation. So multiple teams will have multiple outgoing webhooks.
I believe this is possible by using bots or message extensions but I can't find a resource that tells how to build this and MS documentation is not very clear to me.

Bot Framework Composer DirectLine

I hope you can help me in this problem
I have created a chatbot in the azure framework
Bot Framework Composer and I want to use it in WhatsApp Bussines
. My problem comes for the reason that bot framework composer
It still does not have a direct channel to whatsapp or any
platform like Twilio or Gupshup. I was recommended to use
the azure "DirectLine" channel that comes integrated, to take
the endpoint of my chatbot produced by azure when deploying it
in my group of resources and so with the keys of the channel that I
provides "DirecLine" to be able to interact with my chatbot. try
do the tests with the endpoint of my chatbot through Postman
but I have not been successful, despite following the documentation as indicated
microsoft, gives me an answer that is not authorized
I folow this steps
step 1
step 2
step 3
step 4
This is regarding the authentication error. To rectify the problem, here is the road map to follow.
Goto portal.azure.com
Search for Azure bot
Give the details of bot handle name and subscription. Mention the valid resource group name.
3. After creating the bot. Click on Channels where we need to create Direct Line access
Select the Direct Line
Click on New Site
Create a new site and key the key information
Now, using those keys we need to perform authentication operation.
Under the version in the above image, need to select 3.0, as Azure Direct Line authentication is functioning with REST API with 3.0 version of Direct line API
To enhance the authentication option, you can enable the Enhanced Authentication Option which is not functioning according to the current requirement in the case mentioned in question.

Create user story using Microsoft teams

Is there a way to automatically create a User Story in Azure Boards, based on messages in a Microsoft Teams channel?
So, whenever any message is posted in Teams, a User Story should be created.
Yes,
first you'll need a bot that can be created using Microsoft Bot Framework.
https://learn.microsoft.com/en-us/azure/bot-service/channel-connect-teams?view=azure-bot-service-4.0#:~:text=To%20add%20the%20Microsoft%20Teams,Get%20bot%20embed%20code%20dialog.
Then, use the Azure Devops Rest API to create the user story:
https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work%20items/create?view=azure-devops-rest-6.0
PS: note the ${type} in the url, it's where you set 'User Story'

Dynamically change Microsoft Teams bot name and icon

We have a bot service running in MS Azure and a corresponding Teams app. This bot service is used by multiple customers. Requirement is to allow customers to change the bot name/icon that is shown in the Teams chat (please refer image below).
We can change the name and icon by changing it in the Teams App. However, this will require creating a separate Teams app for each customer. Is it possible to control this via the bot service code running in Azure? We want to do it programmatically based on logged-in user's domain. Is there anyway to do it?
Edit: Found a related post
Thanks
Vivek
This is not possible within a single bot - it's set at the level of the the bot registration, in Azure, and so can't be changed tenant by tenant in Teams, for example. You'd need to create a bot for every customer (tenant), or go with a generic name and image. You can of course customize the welcome message, responses from the bot, etc.

Microsoft Teams - read out channel messages (ReactJS, NodeJS)

in Microsoft Teams we have a Team called "BD" and this team has a channel named "Global".
Now I have a ReactJS app with a NodeJS backend and I would like to
display all the messages that are written in the Global Channel of the Team "BD"
I only need to show which messages are written in the channel (so readonly would be sufficient).
What is the easiest way to achieve this ? Even an iFrame would be ok, if somehow possible.
Please take a look at List channel messages Graph API. First try these APIs in Graph Explorer.
To implement this in a code, you need to follow either Get access on behalf of a user or Get access without a user
Before calling this API with application permissions (access without a user), you must request access. For details, see Protected APIs in Microsoft Teams.

Resources