How to start a call within the existing MS Teams channel using azure logic app

%3CLINGO-SUB%20id%3D%22lingo-sub-2386589%22%20slang%3D%22en-US%22%3EHow%20to%20start%20a%20call%20within%20the%20existing%20MS%20Teams%20channel%20using%20azure%20logic%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2386589%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20requirement%20where%20our%20azure%20Logic%20App%20will%20create%20a%20new%20MS%20Teams%2C%20add%20members%20into%20MS%20Teams%20and%20add%20channel%20into%20same%20MS%20Teams.%20Now%20my%20next%20requirement%20is%20I%20want%20to%20start%20a%20call%20immediately%20in%20the%20same%20channel%20which%20we%20have%20created%20using%20Logic%20App%20and%20also%20this%20should%20be%20done%20in%20the%20same%20logic%20app%20job%20which%20we%20have%20build%20for%20creating%20MS%20Teams%20and%20channel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20I%20know%20there%20is%20no%20separate%20connector%20available%20in%20Azure%20logic%20app%20to%20achieve%20this%20functionality.%20So%2C%20I%20dig%20a%20little%20bit%20and%20I%20found%20below%20approach.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20Register%20a%20new%20application%20using%20the%20Azure%20portal.%3C%2FP%3E%3CP%3E2.%20Get%20the%20token%20from%20application.%3C%2FP%3E%3CP%3E3.%20Use%20below%20rest%20API%20method.%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FonlineMeetings%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FonlineMeetings%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E4.%20Provide%20details%20in%20the%20body%20like%20start%20time%2C%20end%20time%20etc.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E5.%20Call%20above%20rest%20API%20using%20azure%20logic%20app.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ESo%2C%20from%20the%20above%20steps%20my%20question%20is%2C%20in%20the%20body%20section%20where%20we%20have%20included%20start%20time%2C%20end%20time%20etc.%20can%20we%20include%20same%20participants%20which%20we%20have%20added%20in%20MS%20Teams%20while%20creating%20azure%20logic%20app.%20If%20yes%2C%20then%20how%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIf%20it%20is%20possible%20then%20the%20flow%20of%20my%20Azure%20Logic%20App%20will%20be%20as%20follow.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECreate%20MS%20Teams%20--%26gt%3B%20Add%20Members%20into%20Teams%20--%26gt%3B%20Create%20Channel%20--%26gt%3B%20Post%20the%20messages%20into%20channel%20--%26gt%3B%20Call%20the%20Graph%20API%20(%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FonlineMeetings)%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FonlineMeetings)%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3ENote%3A-%20As%20soon%20as%20Azure%20Logic%20App%20execution%20is%20completed%20it%20should%20start%20a%20call%20immediately.%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi All,

 

I have a requirement where our azure Logic App will create a new MS Teams, add members into MS Teams and add channel into same MS Teams. Now my next requirement is I want to start a call immediately in the same channel which we have created using Logic App and also this should be done in the same logic app job which we have build for creating MS Teams and channel.

 

As I know there is no separate connector available in Azure logic app to achieve this functionality. So, I dig a little bit and I found below approach.

 

1. Register a new application using the Azure portal.

2. Get the token from application.

3. Use below rest API method.

https://graph.microsoft.com/v1.0/me/onlineMeetings

4. Provide details in the body like start time, end time etc.

5. Call above rest API using azure logic app.

 

So, from the above steps my question is, in the body section where we have included start time, end time etc. can we include same participants which we have added in MS Teams while creating azure logic app. If yes, then how?

 

If it is possible then the flow of my Azure Logic App will be as follow.

 

Create MS Teams --> Add Members into Teams --> Create Channel --> Post the messages into channel --> Call the Graph API (https://graph.microsoft.com/v1.0/me/onlineMeetings)

 

Note:- As soon as Azure Logic App execution is completed it should start a call immediately.

0 Replies