BookingBusiness Customers GetAsync returns error

Conan Dufour 31 Reputation points

When calling graph api to get customers for a certain calendar, I get a service exception that does not tell me much.

This is from a calendar from which I can get the availability and the staffmembers without any issue, yet the following code returns the error below


Calendar is the email of the calendar, and getGraphClient looks like this:

Application has the correct permissions:

Microsoft.Graph.ServiceException: 'Message: An error has occurred.
Inner error:
date: 2022-11-02T09:16:14
request-id: 2d05a5e0-efd1-4694-b221-1648a526ebc3
client-request-id: 2d05a5e0-efd1-4694-b221-1648a526ebc3
ClientRequestId: 2d05a5e0-efd1-4694-b221-1648a526ebc3

Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
565 questions
Microsoft Graph Customer Booking API
Microsoft Graph Customer Booking API
A Microsoft API that lets enterprise organization and small business owners manage customer bookings and information with minimal setup.
197 questions
0 comments No comments
{count} votes

Accepted answer
  1. Srinivasa Rao Darna 6,461 Reputation points

    Hello @Conan Dufour ,

    Thanks for reaching Microsoft Q&A!

    It appears you are using Application permission (client secret credential flow), currently GET /solutions/bookingBusinesses/{id}/customers supported only with delegated permissions, please refer to bookingbusiness-list-customers.


    Also, refer to Get access on behalf of a user.

    Hope this helps.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful