Showing results for 
Search instead for 
Did you mean: 
New Member

Book a room template broken?


Played around with the new MS PowerApps template Book a room. Promising and just what i've been looking for.

Unfortunately I get a warning message on the ButtonMeeting located at the LandingScreen. At the OnSelect-field there is an warningtriangle and if I hover over it it says (freely translated from Swedish) Office365.GetEventsCalendarViewV2 failed: The GetEventsCalendarViewV2 method has an invalid value in the calendarID parameter. Sort of.

This probably is the reason that the PowerApp does not work:

When I click the Book for an existing meeting none of my meetings show up.

If I click the Book without a meeting and proceed with a booking of a room (all our rooms are listed perfectly), the booking gets confirmed in the PowerApp, but it doesn't show up in the room calendar in Outlook.

Help. Please.


Community Support
Community Support

Hi @Karlin,


Just from the error message, it should be related to the Calendar parameter passed into the Office365.GetEventsCalendarViewV2 function.


Please check more details for the connector:


I will check it from my side and update here if I have more findings.





Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the pointer @v-micsh-msft

Unfortunately I do not have the time to dive deep into any code troubleshooting.

Since I use the template OOTB with no alterations made, It's odd that it throws this error.

It's a pitty though, since the template seems to be very promissing.


do you find the solution?



Hi there, I've been unable to reproduce your issue, but I've got a few solutions you might try:


1st: Check to make sure all of your connections are working. 'View' > 'Data sources' in the ribbon should open up the data panel. 


If any of your data sources look like this:




Remove and reconnect them.


2nd: The code where the invalid value is being generated comes from the OnStart property of the app. Specifically the 3rd line from the bottom:



Set(MyCalendar, Lookup(Office365.CalendarGetTables().value, DisplayName = "Calendar").Name);

You may try turning that single statement into two lines. One to get the info from the API, and one to properly parse it:

Set(MyCalendars, Office365.CalendarGetTables().value);
Set(MyCalendar, LookUp(MyCalendars, DisplayName = "Calendar").Name);

And finally, if neither one of those solves your issue:


3rd: Add a refresh button on the start page of the app. Just add some kind of refresh icon and copy + paste the code from the OnStart property into the OnSelect property of your refresh icon. If the red banner flashes up, you can press the refresh button to force the app to grab your CalendarId, and then try again.

I had the same error and posted it in a different thread. Please check your O365/EOL language. We're working in a Dutch tenant and "Calendar" is called "Agenda". so changing the string worked for me.

Not applicable

Mine works but only presents 20 rooms - how can I increase that number?

Hi Jonas,


See attached images. In the phone version, if you scroll to the bottom of the rooms list, there should be a 'More Rooms' button that you can press to grab another set of 20 rooms. In the tablet version, that button is on the right corner above the rooms gallery.


Let me know if you have any questions

Not applicable

Really strange, both me and my collegue gets 20 rooms when there should be many more during that time... 

Ahh yes, I'm pretty sure I know what the issue is... Give me a few days to get together a solution

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,871)