Share via

MS Booking API GetStaffAvailability returns error 500 for timestamp lower then 30 minutes

Olivier DENEUX 10 Reputation points
2023-03-20T09:15:46.6466667+00:00

The MS Booking API GetStaffAvailability returns an error 500 if the timestamps (between which the staff availability will be returned) is lower than 30minutes.

Function returns 200 success if endDateTime - startDateTime equals 30 minutes or more.

Function returns 500 (error code: UnknownError) if endDateTime - startDateTime less than 30 minutes.

Open graph API version 1.0 with Microsoft.Graph SDK .Net Nugets Package v4.54.0, authentication type : application permissions.

https://github.com/microsoftgraph/microsoft-graph-docs/blob/main/api-reference/v1.0/api/bookingbusiness-getstaffavailability.md

Microsoft Security | Microsoft Graph
0 comments No comments

3 answers

Sort by: Most helpful
  1. Kasra 0 Reputation points
    2023-11-17T16:35:10.7666667+00:00

    We have also encountered the same issue; luckily, it isn't a critical part of any flow.

    Was this answer helpful?

    0 comments No comments

  2. Sheharyar Mazhar Ali 0 Reputation points
    2023-11-17T16:20:21.5266667+00:00

    I can confirm that this is still happening in Nov 2023 and would really appreciate it if Microsoft provides a fix for this.

    Was this answer helpful?

    0 comments No comments

  3. Anonymous
    2023-03-20T11:51:37.35+00:00

    Hello Olivier DENEUX,

    Thanks for reaching out!

    I am able to replicate the issue from my test tenant. As it looks likes tenant specific issue.

    I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from
    http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.

    Hope this helps.
    If the answer is helpful, please click Accept Answer and kindly upvote it. 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.