Showing results for 
Search instead for 
Did you mean: 
Not applicable

Book A Room: Error with connection to calendars



I am trying to use the Book a Room app to book meetings in the calendar of a resource.

I have several problems.

First, Office365.GetRooms() does not recognize the calendars/rooms in resources, but only shows the rooms available in the folder All Rooms, and those are not what I am trying to reach. How can I get the rooms from resources?


Second, I can't book meetings even on the  rooms showed, because there is a problem with the calendar_id in the function Office365.V2CalendarPostItem. The calendar_id in this function reffers to the MyCalendar variable:

Office365.V2CalendarPostItem(MyCalendar, User().FullName & "'s Skype Meeting", StartDateTimeUTC, EndDateTimeUTC, {Body:"<a href="&SkypeMeeting.JoinUrl&">Join Skype Meeting</a>", 
            IsHtml:true, Location: "Online Meeting", Importance: "Normal", ShowAs: "Busy"})),

The MyCalendar variable is defined in the OnStart property of the App like this:

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

I have tried putting the name of the calendars I want to reach in the DisplayName, but nothing works, I always end up with a variable without value in it, which is probably why the following functions that reffer to this variable doesn't work.


I have also tried to use the function Office365.V3CalendarPostItem on a blank app just to test if I could write in the calendar that I want as I wish, but I can't figure out what to put on the calendar_id parameter. I have tried the name of the calendars and their e-mail address but nothing works.


I couldn't find solutions to my problem either by looking on the forum. I have began to program not too long ago so I may be doing some dumb mistakes. Hope someone can help me!


Best regards

Not applicable

Bumping for visibility 



Not applicable

Thank you.

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,910)