How to fix Error with ErrorCode ErrorItemNotFound when calling List Booking Appointments via HTTP Request

Tobias Lorenz 0 Reputation points
2023-03-17T16:17:11.05+00:00

Dear community,

I try to list all appointments from a Microsoft Bookings calendar via the Graph API (HTTP GET-Request). I tested this via Postman and Power Automate.

Our Azure App Registration has Bookings.ReadAll rights what is sufficient according to the documentation.

Documentation: https://learn.microsoft.com/en-us/graph/api/bookingbusiness-list-appointments?view=graph-rest-1.0

Before I tried to list our Booking Businesses via the respective endpoint and this worked well...

What can cause this error?

Error Message:

"message": "The specified object was not found in the store., Default folder Calendar not found.",

We know that the Booking Business ID does exist, so the booking business id was returned by the other endpoint.

Thank you in advance and kind regards

Tobias

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Siddharth Gautam 860 Reputation points
    2023-03-17T23:44:56.0633333+00:00

    Hello Tobias Lorenz,

    Thanks for posting!

    As per my testing and research, following are the reasons for getting "The specified object was not found in the store., Default folder Calendar not found." error message:

    • User is not the admin of booking page.
    • User is not added as staff in the specific booking page.

    User must have one of roles from below screenshot to access this Graph API

    GET /solutions/bookingBusinesses/{id}/appointments

    User's image

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.