The endpoint https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/{bookingBusiness-id}/microsoft.graph.getStaffAvailability is returning 'Uknown Error'

Evans Aboge 106 Reputation points Microsoft Employee
2022-08-18T05:55:07+00:00

We are trying to access the endpoint https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/{bookingBusiness-id}/microsoft.graph.ge... but it returns Unknown Error as described here: microsoft.graph.getStaffAvailability returns UnknownError and has a N/A Permission · Issue #2043 · m...

The endpoint only supports application permissions, and we are sending the correct scopes (https://graph.microsoft.com/.default). We are still however getting Unknown Error

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

2 answers

Sort by: Most helpful
  1. Anonymous
    2022-08-18T07:03:57.647+00:00

    Apparently somebody else who had this problem found a way to get the request through:
    https://stackoverflow.com/questions/73370299/unknown-error-in-microsoft-graph-api-get-staff-availability-in-ms-bookings

    This person found out this currently only works if you set the timeZone to UTC. Most likely a bug on Graph's end.

    0 comments No comments

  2. Evans Aboge 106 Reputation points Microsoft Employee
    2022-09-12T13:44:56.853+00:00

    Looks like there are a lot of customers who are still stuck on this issue. The workaround does not seem to be working for everyone and we cannot figure out why

    0 comments No comments