⛔️ 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,
- How to save a file as csv in Windows Notepad?
- AADSTS90033: A transient error has occurred. Please try again. [Microsoft 365]
- How to know file encoding in Microsoft Windows Notepad?
- What is FCM Messages Test Notification! [Microsoft Teams] [Google Hangouts]
- How to turn on Bluetooth on Windows 10
- Error code 0xCAA82EE2: Something went wrong (request timed out) [Microsoft]
- How to fix Microsoft Windows 10 update error 80070020
- Power BI error Something went wrong, unable to read the application metadata
- 0xCAA20003: You ran into an authorization problem. [Microsoft]
- You're not on Teams yet, but you can set it up for your organization. [Microsoft Teams Login Error]
- [Microsoft Teams 4c7] Modern authentication failed here, but you'll still be able to sign in. Your status code is 4c7 error
- How to activate and use Microsoft Teams Together mode
- FCM Messages! Testing Notifcation from Microsoft to investigate this problem [Microsoft Teams]
- What version of windows do I have?
- Microsoft Office 365 error code 135011 - Your organization has disabled this device
- How to take a screenshot on Microsoft Windows OS on PC or Laptop
- Fix \"412 Cookies Are Disabled\" error in Exchange Admin Center when you click hybrid
- Outlook and Hotmail not working - email issue, message not delivered, send receive problem
- Microsoft Sign-in Error Code: 50058 (Request Id, Correlation Id and Timestamp)
- [Error] Microsoft Teams: We're sorry—we've run into an issue.
- Microsoft Edge browser error on MAC - This page is having a problem Try coming back to it later
- The authenticated user is not authorized to access this resource - Stream/SharePoint/Teams/OneNote
- Internet Explorer browser auto redirect to Microsoft Edge for compatibility with modern web sites
- Microsoft Office Excel - Couldnt Open the Workbook - The workbook cannot be opened.
- Microsoft 365 Excel - PRO TIP Discover insights quickly with Power BI, which is already included in your Microsoft services, See it in action
- Microsoft Stream - This may not be for you, It looks like you don't have permission to watch this video
- Free and easy audio video screen recording using Microsoft PowerPoint
- Customize Praise badge for Microsoft Teams with own images, values, brand
- Outlook - The mailbox isn't available. This may have occurred because the license for the mailbox has expired.
- Error 50057 - User account is disabled. The account has been disabled by an administrator [Microsoft - Teams - Azure]
More Posts:
- Android Images with Rounded Corners : ImageView - Android
- Save webpage as pdf in Google Chrome for Mac OS X - Mac-OS-X
- Change SharePoint search results FullTextSqlQuery RowLimit 10000 - SharePoint
- SharePoint Excel error - The workbook cannot be opened because it contains the following features that are not supported by Excel in the browser - SharePoint
- FileZilla Connection time out Failed to retrieve directory listing - FTP
- Tutorial Java SOAP WebServices JAS-WS with Eclipse J2EE IDE and Tomcat Server Part 1 - Java
- Android RatingBar Example - Android
- How to use Content Assist in Eclipse IDE - Eclipse
- List of Java Keywords - Java
- [Solutions] Android Error in an XML file: aborting build. Eclipse SDK - Android
- How to configure PDF iFilter for SharePoint - SharePoint
- Create simple struts2 project using maven commands - Java
- Change Height of Android ActionBar - Android
- How to enable disable SharePoint Developer Dashboard for tracing troubleshooting - SharePoint
- Eclipse: Updating Maven Project. Unsupported IClasspathEntry kind=4 - Eclipse