Executing:
$bookingBusinessId='[email protected]'
Get-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -All
returns 100 appointments.
However, via the API more than 100 are returned, for example -
$appointments=@()
$uri="/v1.0/solutions/bookingBusinesses/$bookingBusinessId/appointments"
do {
$result=Invoke-MgGraphRequest -Method GET -uri $uri
$appointments+=$result.value
$uri=$result.'@odata.nextLink'
} until ($null -eq $result.'@odata.nextLink')
The issue was initially spotted in 1.9.4 but appears to still be present in 1.10.0