Get MeetingId via Param Function in PowerApps Canvas App

%3CLINGO-SUB%20id%3D%22lingo-sub-2898366%22%20slang%3D%22en-US%22%3EGet%20MeetingId%20via%20Param%20Function%20in%20PowerApps%20Canvas%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2898366%22%20slang%3D%22en-US%22%3E%3CP%3EI%20developed%20an%20app%20to%20put%20it%20on%20the%20meeting%20side%20panel.%20I%20need%20to%20get%20the%20current%20meeting%20url%20or%20Id%20via%20Param%20function%20in%20Canvas%20App.%20Is%20there%20any%20way%20to%20get%20this%20value%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2898366%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eembededapp%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2898913%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20MeetingId%20via%20Param%20Function%20in%20PowerApps%20Canvas%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2898913%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242533%22%20target%3D%22_blank%22%3E%40erdi%20kudu%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20check%20using%26nbsp%3B%3CSPAN%3E%26nbsp%3BParam(%22APP%20ID%22)%20%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EUsing%26nbsp%3B%26nbsp%3BParam(%22APP%20ID%22)%20we%20can%26nbsp%3Bretrieve%20the%20App%20ID%20of%20the%20app%20whichever%20you%20are%20currently%20in.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2906370%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20MeetingId%20via%20Param%20Function%20in%20PowerApps%20Canvas%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2906370%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1183910%22%20target%3D%22_blank%22%3E%40Nivedipa-MSFT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWhy%20did%20you%20recommend%20me%20to%20get%20the%20App%20ID%3F%20But%20I%20tried%20it.%20It%20didn't%20work%20out.%20I%20would%20like%20to%20get%20the%20meeting%20Id%20that%20I%20attended%20on%20Microsoft%20Teams%20via%20Canvas%20App%20like%20below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22aa.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F321983i86B9BB72110675D9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22aa.png%22%20alt%3D%22aa.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2919273%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20MeetingId%20via%20Param%20Function%20in%20PowerApps%20Canvas%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2919273%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242533%22%20target%3D%22_blank%22%3E%40erdi%20kudu%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECould%20you%20please%20share%20some%20repro%20steps%20for%20how%20to%20use%20Canvas%20App%20in%20meeting%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2954730%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20MeetingId%20via%20Param%20Function%20in%20PowerApps%20Canvas%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2954730%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242533%22%20target%3D%22_blank%22%3E%40erdi%20kudu%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20meeting%20context%20(user%20role%2C%20meeting%20id%2C%20meeting%20members%2C%20etc)%20is%20only%20available%20via%20Teams%20Client%20SDK%20(based%20on%20JavaScript).Power%20Apps%20doesn%E2%80%99t%20allow%20the%20use%20of%20custom%20JavaScript%20code%20in%20applications%2C%20so%20you%E2%80%99re%20unable%20to%20detect%20the%20user%20role%2C%20get%20the%20meeting%20id%2C%20and%20obtain%20other%20information%20from%20the%20context.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20go%20through%20below%20doc%20for%20more%20details.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftech-peanuts.com%2F2020%2F12%2F10%2Fpower-apps-with-teams-meetings-extensibility%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EPower%20Apps%20with%20Teams%20Meetings%20Extensibility%20%E2%80%93%20techpeanuts%20(tech-peanuts.com)%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I developed an app to put it on the meeting side panel. I need to get the current meeting url or Id via Param function in Canvas App. Is there any way to get this value?

8 Replies

@erdi kudu 

Could you please check using  Param("APP ID") ?

Using  Param("APP ID") we can retrieve the App ID of the app whichever you are currently in.

@Nivedipa-MSFT 

Hi,

Why did you recommend me to get the App ID? But I tried it. It didn't work out. I would like to get the meeting Id that I attended on Microsoft Teams via Canvas App like below.

 

aa.png

 

@erdi kudu 

Could you please share some repro steps for how to use Canvas App in meeting?

Hi,
I created a new canvas app via Powerapps. Then I used the add to teams option. But I didn’t added it directly to the team or channel. I exported it. Then I uploaded it via teams apps section. Then I created a meeting and I could see that app in the meeting page in teams. When I opened the app, it shows me that app in the side panel like the image that I sent you in the previous email. But it can not get the meetingid or app id in the app.

@erdi kudu 

The meeting context (user role, meeting id, meeting members, etc) is only available via Teams Client SDK (based on JavaScript).Power Apps doesn’t allow the use of custom JavaScript code in applications, so you’re unable to detect the user role, get the meeting id, and obtain other information from the context.

 

You can go through below doc for more details.

Power Apps with Teams Meetings Extensibility – techpeanuts (tech-peanuts.com)

@Nivedipa-MSFT 

Might it be possible through a custom PCF ?

@FlorentG 

Could you please go through below doc if its help you in any way.
https://taerimhan.com/consuming-microsoft-graph-api-from-pcf-control/

@Nivedipa-MSFT 

It seems to be a real cool article, thx a lot.

www.000webhost.com