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 Automate
Suggested Answer

Get rooms bookings

(0) ShareShare
ReportReport
Posted on by 118
Hello,
 
The goal of my flow is to have all the rooms booking in a sharepoint list.
 
I've already another flow with getRooms and have now every room in a shpt list with the email address.
 
Now, in my flow, for each room, I make an http request with this URI:
 
concat(
  'https://graph.microsoft.com/v1.0/users/',
  items('Apply_to_each')?['AdresseOutlook'],
  '/calendar/events?$filter=start/dateTime ge ''',
  variables('Début jour'),
  ''' and start/dateTime le ''',
  variables('Fin du jour'),
  ''''
)
 
 
It works fine but as soon as there is a private appointment, it fails with the error "Resource not found".
 
I search for solutions since 1 week with Copilot but we turn around and find any no premium solution.
 
Is there any way without premium connectors to avoid private appointment at least?
Categories:
I have the same question (0)
  • Suggested answer
    chiaraalina Profile Picture
    2,425 Super User 2026 Season 1 on at
    Hi 
     
    It's because private appointments in Outlook calendars require special mailbox level permissions that are not automatically granted by Graph API permissions alone.
     
    In that box.
     
    Even if your app registration has Calendars.Read or Calendars.Read.All application permissions, Graph will fail when it encounters a private event.
     
    The caller needs:
     
    1. FullAccess mailbox permission (via Add-MailboxPermission cmdlet)
    or 
    2. Delegate + CanViewPrivateItems flags (via Add-MailboxFolderPermission cmdlet)
     
    Example:
    Connect-ExchangeOnline
    and then
    Add-MailboxPermission -Identity "room@domain.com" -User "<ServicePrincipalAppId>" -AccessRights FullAccess -InheritanceType All
     
    If you don't need private bookings you can skip them using "Run After" settings to skip failed HTTP requests and continue processing other rooms.
     
    Let me know if it worked!
  • RH-07080703-0 Profile Picture
    118 on at
     
    Of course, I can make a treatment in a run after but it's not a solution to obtain the public bookings for the same room when it fails.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard