Get-MgBookingBusinessService is a Microsoft Graph PowerShell cmdlet used to retrieve service details from a specific Microsoft Bookings business. Services in Microsoft Bookings represent the offerings that customers can schedule—such as consultations, classes, appointments, or support sessions.
This cmdlet helps administrators access, audit, and manage all services configured within a booking business.
Try the M365Corner Microsoft 365 Reporting Tool — your DIY pack with 20+ out-of-the-box M365 reports for Users, Groups, and Teams.
Administrators and service managers use this cmdlet to:
It is highly beneficial for large organizations with many booking pages or service offerings.
Before using the cmdlet, install and connect to Microsoft Graph:
Install-Module Microsoft.Graph -Scope CurrentUser
Connect-MgGraph -Scopes "Bookings.Read.All"
You may also use Bookings.ReadWrite.All if you plan to modify service data in follow-up operations.
The cmdlet requires the BookingBusinessId and optionally the BookingServiceId to retrieve a single service.
Get-MgBookingBusinessService -BookingBusinessId <String> [-BookingServiceId <String>][-Property <string[]>]
Get-MgBookingBusinessService -BookingBusinessId "12345-abcde-67890-fghij"
This command retrieves all services associated with the specified booking business. It’s an easy way to list every service offered in that business.
Get-MgBookingBusinessService -BookingBusinessId "12345-abcde-67890-fghij" -BookingServiceId "service123"
This retrieves detailed information about a specific service, identified by its service ID—useful when troubleshooting or reviewing individual offerings.
Get-MgBookingBusinessService -BookingBusinessId "12345-abcde-67890-fghij" -BookingServiceId "service123" -Property "displayName", "defaultDuration"
This command returns only the selected properties, such as displayName and defaultDuration, helping reduce output when only key information is needed.
| Key Point | Details |
| Cmdlet Name | Get-MgBookingBusinessService |
| Purpose | Retrieves details of Microsoft Bookings services |
| Required Scope | Bookings.Read.All or Bookings.ReadWrite.All |
| Primary Parameters | BookingBusinessId, BookingServiceId |
| Automation Benefit | Enables service audits, reporting, and programmatic validation |
| Use Case | Managing or reviewing services across multiple booking pages |
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