You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BREAKING: Get-MgSite Broken by 1.9.3 with addition of -Path parameter #1237
changed the title [-]Sample needs to be updated now that Get-MgSite calls the byPath method[/-][+]BREAKING: Get-MgSite Broken by 1.9.3 with addition of -Path parameter[/+]on Apr 29, 2022
Sorry about this. The bug was introduced when the workload added sites/{site-id}/getByPath API to v1.0 endpoint. A fix has already been provided, and the patch should be out shortly once #1242 is approved.
Activity
[-]Sample needs to be updated now that Get-MgSite calls the byPath method[/-][+]BREAKING: Get-MgSite Broken by 1.9.3 with addition of -Path parameter[/+]joshtransient commentedon May 3, 2022
Can repro. This broke every single one of my scripts using Get-MgSite and there is not an obvious fix action.
JustinGrote commentedon May 3, 2022
Peter Ombwa (@peombwa) Regression warning...
peombwa commentedon May 3, 2022
Sorry about this. The bug was introduced when the workload added
sites/{site-id}/getByPathAPI to v1.0 endpoint. A fix has already been provided, and the patch should be out shortly once #1242 is approved.A workaround is to revert to 1.9.2:
peombwa commentedon May 6, 2022
We've just released version 1.9.6 with a fix to this issue. Please use
Update-Module Microsoft.Graphto upgrade to the latest version.