Describe the bug
The endpoint https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/$count returns a 500 Internal Server Error with an UnknownError code instead of returning the integer count of booking businesses. This occurs even when the necessary advanced query headers are provided.
To Reproduce
- Use an API client or graph explorer
- Set the method to GET.
- Use the URL: https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/$count.
- Add the Header: Authorization: Bearer <YOUR_TOKEN>
- See error response: 500 UnknownError.
Expected behavior
The API should return a plain text integer (e.g., 5) representing the total number of bookingBusiness objects the authenticated user has access to.
Screenshots

Describe the bug
The endpoint https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/$count returns a 500 Internal Server Error with an UnknownError code instead of returning the integer count of booking businesses. This occurs even when the necessary advanced query headers are provided.
To Reproduce
Expected behavior
The API should return a plain text integer (e.g., 5) representing the total number of bookingBusiness objects the authenticated user has access to.
Screenshots