Get-MgBookingBusinessStaffMember is a Microsoft Graph PowerShell cmdlet used to retrieve staff members associated with a Microsoft Bookings Business. It returns details such as display name, email address, and staff role by reading the booking staff profiles stored in Microsoft 365.
Try the M365Corner Microsoft 365 Reporting Tool — your DIY pack with 20+ out-of-the-box M365 reports for Users, Groups, and Teams.
This cmdlet helps administrators:
It is especially useful when working with multiple locations or service-based teams.
Before running the cmdlet, install and connect to Microsoft Graph:
Install-Module Microsoft.Graph -Scope CurrentUser
Connect-MgGraph -Scopes "Bookings.Read.All"
Use the cmdlet with the Booking Business ID, and optionally specify a staff member ID:
Get-MgBookingBusinessStaffMember -BookingBusinessId <String> [-BookingStaffMemberBaseId <String>]
$staffMembers = Get-MgBookingBusinessStaffMember -BookingBusinessId "your-booking-business-id"
foreach ($member in $staffMembers) {
$memberDetails = $member.AdditionalProperties
[PSCustomObject]@{
Id = $member.Id
DisplayName = $memberDetails.displayName
Email = $memberDetails.emailAddress
Role = $memberDetails.role
}
}
This retrieves all staff members associated with the specified Booking Business.
$staffMember = Get-MgBookingBusinessStaffMember -BookingBusinessId "your-booking-business-id" -BookingStaffMemberBaseId "staff-member-id"
$memberDetails = $staffMember.AdditionalProperties
[PSCustomObject]@{
Id = $staffMember.Id
DisplayName = $memberDetails.displayName
Email = $memberDetails.emailAddress
Role = $memberDetails.role
}
Use this to retrieve details for a specific staff member using their unique staff ID.
| Key Point | Details |
| Cmdlet Name | Get-MgBookingBusinessStaffMember |
| Purpose | Retrieves staff details for a Microsoft Bookings Business |
| Required Scope | Bookings.Read.All |
| Primary Parameters | BookingBusinessId, BookingStaffMemberBaseId |
| Automation Benefit | Enables bulk reporting, staff auditing, and service-team automation |
| Use Case | Managing staff assignments across Bookings locations or service units |
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