web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Book A Room: Error wit...
Power Apps
Unanswered

Book A Room: Error with connection to calendars

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

 

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

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Bumping for visibility 

     

    @Anonymous 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 893

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 482

Last 30 days Overall leaderboard