cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gazzo1967
Impactful Individual
Impactful Individual

Any Takers? - Teams Meeting Calendar id shows error

Hi All
im having an issue with a formula which is onselect button for  sending an online meeting request to multiple email addresses.

The error keeps saying 
the method Createteamsmeeting has invalid value for parameter 'calendarid'
The formula is based on one of Shane Youngs video's ((Here) 

Set(varShowSpinner,true);
Set(varMeeting,
MicrosoftTeams.CreateTeamsMeeting(

LookUp(Office365Outlook.CalendarGetTablesV2().value, DisplayName = "Calendar").name,

ses_name.Text,

{content: body.HtmlText, contentType: "html"},

Dropdown2.Selected.Value,

{dateTime: DateTimeValue(ses_time.Text)},

{dateTime: DateAdd(DateTimeValue(ses_time.Text),Value(min_dur.Text),Minutes)},

true,
"teamsforbusiness",

{
requiredAttendees: Concat(Gallery2.AllItems, attendee.Email, "; ")}
));

Set(varShowSpinner,false);


Any help i would be grateful 🙂
Gary 🙂

ps i have tested the teams meeting calendar by using power automate create teams meeting on button and even looking at the peekcode it states "Calendar" is the parameter (Confused) 😞

1 ACCEPTED SOLUTION

Accepted Solutions
last_attempt
Frequent Visitor

Hello @gazzo1967 ,

 

Calendarid should be 

LookUp(
Office365Outlook.CalendarGetTables().value,
DisplayName = "Calendar"
).Name

 

let me know, if it is resolved or not, Microsoft usually changes action names.

 

Office 365 Outlook - Connectors | Microsoft Docs

Check above link for latest actions.

 

Thank you

View solution in original post

4 REPLIES 4
gazzo1967
Impactful Individual
Impactful Individual

Hi All Still struggling to work this out 😞
Gary 🙂

last_attempt
Frequent Visitor

Hello @gazzo1967 ,

 

Calendarid should be 

LookUp(
Office365Outlook.CalendarGetTables().value,
DisplayName = "Calendar"
).Name

 

let me know, if it is resolved or not, Microsoft usually changes action names.

 

Office 365 Outlook - Connectors | Microsoft Docs

Check above link for latest actions.

 

Thank you

gazzo1967
Impactful Individual
Impactful Individual

@last_attempt 
yep that worked.
but i was always under the impression use the latest version but every thing works fine 
Thank You
Gary

Dorinda
Impactful Individual
Impactful Individual

I am trying to create a recurring Team Meeting on a specific Calendar, I have it working to a point, as long as I am logged in as that user I can create the events, however this will be available to everyone to make a meeting specific to their area.  I have the Calendar ID I have also set it up so everyone has access to the calendar I just need to know how to set the Calendar ID in this formula

MicrosoftTeams.CreateTeamsMeeting(
LookUp(Office365Outlook.CalendarGetTables().value, DisplayName = "Calendar").Name

I was told to try this LookUp(Office365Outlook.CalendarGetTables().value, ID= InsertIDHere).Name but it didnt work.

 

Any suggestions?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,361)