The Get-MgBookingBusiness cmdlet in Microsoft Graph PowerShell retrieves information about Microsoft Bookings businesses configured within your organization. Each business represents a scheduling entity that manages services, staff, and customer appointments through Microsoft Bookings.
Administrators use this cmdlet to automate the retrieval of Bookings data such as business names, contact details, creation dates, and configurations. It helps in:
This cmdlet is especially valuable for organizations with multiple departments using Bookings.
Before using the cmdlet, install the Microsoft Graph module and connect with the proper permissions:
Install-Module Microsoft.Graph -Scope CurrentUser
Connect-MgGraph -Scopes "Bookings.Read.All"
Use the following syntax to retrieve booking business information:
Get-MgBookingBusiness [-BookingBusinessId <String>]
If no ID is specified, the cmdlet returns a list of all booking businesses in the tenant.
This command retrieves all booking businesses available in your Microsoft 365 tenant.
Get-MgBookingBusiness -All
To get detailed information about a specific booking business, use its unique BookingBusinessId.
Get-MgBookingBusiness -BookingBusinessId "business-id"
You can apply filters to narrow down the results, such as fetching only recently created booking businesses.
Get-MgBookingBusiness -Filter "createdDateTime ge 2024-01-01"
| Key Point | Details |
|---|---|
| Cmdlet Name | Get-MgBookingBusiness |
| Purpose | Retrieves details of Microsoft Bookings businesses |
| Required Scope | Bookings.Read.All |
| Primary Parameter | BookingBusinessId, Filter |
| Automation Benefit | Enables admins to audit and report on booking sites efficiently |
| Use Case | Centralized monitoring of all Microsoft Bookings entities in a tenant |
Did You Know? Managing Microsoft 365 applications is even easier with automation. Try our Graph PowerShell scripts to automate tasks like generating reports, cleaning up inactive Teams, or assigning licenses efficiently.
Ready to get the most out of Microsoft 365 tools? Explore our free Microsoft 365 administration tools to simplify your administrative tasks and boost productivity.
© Your Site Name. All Rights Reserved. Design by HTML Codex