msgraph-sdk-powershell
msgraph-sdk-powershell copied to clipboard
Get-MgBookingBusinessService - Intermittent HTTP 500 Errors
Describe the bug Me and many of my colleagues are experiencing totally random HTTP 500 errors when running MgGraph and MgBetaGraph cmdlets. No correlation noticed. Sometimes it takes up to a few minutes for Graph commands to complete (tested this with Graph Explorer)
To Reproduce Steps to reproduce the behavior:
- Authenticate as a user with
Connect-MgGraph - Create a booking mailbox with
$mailbox = New-MgBetaBookingBusiness - Create a booking staff with
New-MgBetaBookingBusinessStaff - Call for a default service with ```$service = Get-MgBookingBusinessService -BookingBusiness $mailbox.id
- You may get an error below:
Status: 500 (InternalServerError)
ErrorCode: UnknownError
Date: 2024-02-06T02:13:13
Headers:
Transfer-Encoding : chunked
Vary : Accept-Encoding
Strict-Transport-Security : max-age=31536000
request-id : d48b357b-d8a2-4cc2-900f-747f27082512
client-request-id : 9b939233-18da-459d-801e-94e4b66340d6
x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"FR1PEPF000007AC"}}
Date : Tue, 06 Feb 2024 02:13:13 GMT
- However, when you run
$serviceit would return created object.
Expected behavior HTTP 500 Errors definitely are not expected
Module Version MG Graph 2.12.0
Environment Data
Name Value
---- -----
PSVersion 7.3.11
PSEdition Core
GitCommitId 7.3.11
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Screenshots
Hello @YuriySamorodov, HTTP 500 errors point to an issue in the service itself. To get support on service issues, please open an issue on their support page https://developer.microsoft.com/en-us/graph/support
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.