MS Graph API - Cannot List Booking Businesses

Pablo 20 Reputation points
2023-04-14T15:09:48.4933333+00:00

Microsoft Graph API v1 for Bookings states that you can list booking business: https://learn.microsoft.com/en-us/graph/api/bookingbusiness-list?view=graph-rest-1.0

{
    "error": {
        "code": "",
        "message": "An error has occurred.",
        "innerError": {
            "date": "2023-04-14T14:45:40",
            "request-id": "f1adc4f7-fd7e-4ecf-bd4b-b8b71b907151",
            "client-request-id": "f1adc4f7-fd7e-4ecf-bd4b-b8b71b907151"
        }
    }
}

I'm just making the authenticated call using postman: https://graph.microsoft.com/v1.0/solutions/bookingBusinesses

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,772 questions
0 comments No comments
{count} votes

Accepted answer
  1. HarmeetSingh7172 4,811 Reputation points
    2023-04-14T15:26:35.3533333+00:00

    Hello Pablo,

    Thanks for reaching out!

    As per my testing, it seems you are trying to list bookingBusinesses using Application Permissions in Postman, which is not supported as per the documentation. The endpoint is only supported to work with delegated permissions (with signed-in user present).

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Pablo Veliz 0 Reputation points
    2023-05-04T18:46:59.1733333+00:00

    Hi HarmeetSingh7172,

    It is possible to use postman to list all booking business, you just need to add the corresponding API permissions in the app registration and refresh the token.

    Regards!