using microrsoft.graph.bookings pwsh module connected to azure ad app with application scopes:
tried to retrieve list of calendars and get the following error:
PS C:\Users\fwagg> get-mgbookingbusiness
Get-MgBookingBusiness_List1: An error has occurred.
Tried also using delegated rights by using devicebased authentication and specifying the scopes in the connect-mggraph command line.
Can retrieve list of calendars via get-mgbookingbusiness but as soon as I try and use the -bookingbusinessid parameter i get the following error:
PS C:\Users\fwagg> get-mgbookingbusiness -BookingBusinessId email address removed for privacy reasons
Get-MgBookingBusiness_Get1: Access is denied. Check credentials and try again., Cannot find row based on condition.
Should note that mgprofile set to v1.0 and not Beta. Have tried by setting profile to Beta and get same errors.
Trying to use the graph api route to get round issue adding a user to a calendar.
Is anyone experiencing similar issues??