How we can differentiate between 'Available to people in your organization' and 'Available to anyone' option available in the bookings page?

Harshdeep Thakur 1 Reputation point
2022-09-26T12:09:23.427+00:00

Hi All,

I have two bookings mailboxes (Mailbox1 and Mailbox2).

For Mailbox1 I have selected "Available to people in your organization" under Configure bookings page section of Bookings Page.

244767-capture12.png

And for Mailbox2 I have selected "Available to anyone" .

244758-capture13.png

When I am using the Get API of bookings, I am getting the kind of same result in the response:

244851-capture14.png

In the above screenshot if you see the "isPublished" property for both is true. And both have some value in the "publicUrl" property.

Is there anyway we can get the value of option selected for the mailbox, with PowerShell or with any API?

Thanks in advance!

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

1 answer

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,696 Reputation points Microsoft Vendor
    2022-10-25T15:19:08.787+00:00

    Hi @Harshdeep Thakur ,

    Currently with Microsoft Graph, we don't have property to differentiate if booking business is Available to people in your organization and Available to anyone.

    If bookingbusiness-publish is used it will set publicly accessible url.

    A similar post Restrict Bookings Business appointments to organisation only via API.

    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".

    0 comments No comments