βοΈ PROBLEM
You are trying to get booking businesses using GET request using Graph API but receive ErrorExceededFindCountLimit error.|Request --> GET https://graph.microsoft.com/beta/bookingBusinesses
Microsoft Graph API error ErrorExceededFindCountLimit
Error:
{
"error": {
"code": "ErrorExceededFindCountLimit",
"message":
"The GetBookingMailboxes request returned too many results. Please specify a query to limit the results.",
}
}
β‘οΈ ANALYSIS
Service account is setup in Azure AD with App Registration with necessary permissions - Bookings.Read.All, BookingsAppointment.ReadWrite.All, Bookings.ReadWrite.All, Bookings.Manage.All. But you receive error when executing the code.As the error states "returned too many results", the return values look to be beyond the set threshold. Getting the list of bookingBusinesses may also fail when an organization has several Bookings businesses and the account making the request is not an administrator.
βοΈ Fix ErrorExceededFindCountLimit error when querying bookingBusinesses using Microsoft Graph ?
Limit the request to return the set of businesses by including a query parameter. This will limit the result set and return the businesses that have given search text in their name or e-mail address.GET https://graph.microsoft.com/beta/bookingBusinesses?query=Code2Care
Using this approach, you can now pass the name or email id of the business that you want to query and fetch limited results.
More Posts related to Microsoft,
- Error code 0xCAA82EE2: Something went wrong (request timed out) [Microsoft]
- FCM Messages! Testing Notifcation from Microsoft to investigate this problem [Microsoft Teams]
- Visual Studio Code available for Apple Mac ARM64 build for native M1 processor support
- Microsoft Edge browser error on MAC - This page is having a problem Try coming back to it later
- Microsoft Office Excel - Couldnt Open the Workbook - The workbook cannot be opened.
- What version of windows do I have?
- What is FCM Messages Test Notification! [Microsoft Teams] [Google Hangouts]
- Microsoft Stream - This may not be for you, It looks like you don't have permission to watch this video
- Internet Explorer browser auto redirect to Microsoft Edge for compatibility with modern web sites
- Power BI error Something went wrong, unable to read the application metadata
- Graph API error when querying BookingBusinesses - ErrorExceededFindCountLimit, The GetBookingMailboxes request returned too many results
- How to save a file as csv in Windows Notepad?
- MO229507 UK Europe users cannot access Microsoft 365 - SharePoint, OneDrive, Teams, Admin center, Planner, Yammer
- Customize Praise badge for Microsoft Teams with own images, values, brand
- Free and easy audio video screen recording using Microsoft PowerPoint
- 0xCAA20003: You ran into an authorization problem. [Microsoft]
- Outlook - The mailbox isn't available. This may have occurred because the license for the mailbox has expired.
- Outlook and Hotmail not working - email issue, message not delivered, send receive problem
- How to fix Microsoft Windows 10 update error 80070020
- Microsoft 365 Excel - PRO TIP Discover insights quickly with Power BI, which is already included in your Microsoft services, See it in action
- How to know file encoding in Microsoft Windows Notepad?
- [Error] Microsoft Teams: We're sorryβwe've run into an issue.
- Microsoft Sign-in Error Code: 50058 (Request Id, Correlation Id and Timestamp)
- [Microsoft Teams 4c7] Modern authentication failed here, but you'll still be able to sign in. Your status code is 4c7 error
- How to turn on Bluetooth on Windows 10
More Posts:
- XmlRpcException ConnectException connection refused error - Java
- Free and easy audio video screen recording using Microsoft PowerPoint - Microsoft
- Android appcompat_v7 Error retrieving parent for item: No resource found that matches the given name - Android
- Todays Apple Spring Loaded Event Live Updates - Apple
- JavaScript : Get url protocol HTTP, HTTPS, FILE or FTP - JavaScript
- [Fix] Java Exception with Lambda - Cannot invoke because object is null - Java
- How to Change Text Size for Android ActionBar - Android
- Android Toolbar example with appcompat_v7 21 - Android