⛔️ 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
{
"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.
- Microsoft Office Excel - Couldnt Open the Workbook - The workbook cannot be opened.
- [Fix] Microsoft AADSTS900561: The endpoint only accepts POST requests. Received a GET request.
- Remove Possible Data Loss Message from Microsoft Excel
- [Fix] Cannot connect to Microsoft SQL Server, Error: 18456
- Microsoft Stream - This may not be for you, It looks like you don't have permission to watch this video
- How to fix Microsoft Windows 10 update error 80070020
- Outlook - The mailbox isn't available. This may have occurred because the license for the mailbox has expired.
- [Fix] Connect to Minecraft Remote Connect URL via https //aka.ms/remoteconnect
- AADSTS90033: A transient error has occurred. Please try again. [Microsoft 365]
- Fix Power Automate FLOW error - InvalidTemplate Unable to process template language expressions in action
- FCM Messages! Testing Notifcation from Microsoft to investigate this problem [Microsoft Teams]
- Remove mailto link from Microsoft 365 Word Document Email Text
- How to turn off Dark theme in Excel for Mac
- Microsoft Sign-in Error Code: 50058 (Request Id, Correlation Id and Timestamp)
- Fix 0x80070194 Error When Opening Microsoft OneDrive File
- [fix] Microsoft Error Code 0x80004005 - Unspecified error
- Fix - Microsoft Windows Error Code: 0xA00F4244 NoCamerasAreAttached
- Save a Notepad file as Microsoft Excel file
- MO229507 UK Europe users cannot access Microsoft 365 - SharePoint, OneDrive, Teams, Admin center, Planner, Yammer
- How to know file encoding in Microsoft Windows Notepad?
- How to save a file as csv in Windows Notepad?
- Microsoft Office Mac Ventura: System Settings must be changed before Microsoft AutoUpdate can run
- Fix Error CAA50021 - Number of retry attempts exceeds expectation - Microsoft 365 Apps
- Microsoft 365 Excel - PRO TIP Discover insights quickly with Power BI, which is already included in your Microsoft services, See it in action
- [Microsoft Teams 4c7] Modern authentication failed here, but you'll still be able to sign in. Your status code is 4c7 error
- [Vi/Vim] How to move cursor to the start of a line - MacOS
- Multiple Microsoft 365 Services Down (Outlook, Teams, SharePoint, OneDrive) - 25 January 2023 (Solved) - Microsoft
- How to Generate Self-Signed OpenSSL certificate in three easy steps - HowTos
- Java Jackson ObjectMapper Class with Examples - Java
- How to initiate a photo request on iPhone from Mac Monterey - iOS
- Setting Java_Home Environment variable on Windows Operating System - Java
- Java JDBC: Insert Java 8 LocalDate and Time using PreparedStatement - Java
- Twitch chat down, error loading data, content unavailable, streaming problem - News