-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assignedtype:bugA broken experienceA broken experience
Description
Describe the bug
I was really struggling with getting this command to work. When running it with the -Debug switch it was noticed:
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
PATCH
Absolute Uri:
https://graph.microsoft.com/beta/servicePrincipals//synchronization/jobs//schema
This is a PUT endpoint, not a PATCH endpoint per:
https://learn.microsoft.com/en-us/graph/api/synchronization-synchronizationschema-update?view=graph-rest-1.0&tabs=http
I had to switch to using Invoke-MgGraphRequest to unblock me in this space
Expected behavior
PUT calls
How to reproduce
Update-MgServicePrincipalSynchronizationJobSchema -Debug
SDK Version
No response
Latest version known to work for scenario above?
2.30.0
Known Workarounds
Non
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
Metadata
Metadata
Assignees
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assignedtype:bugA broken experienceA broken experience