microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Update-MgServicePrincipalSynchronizationJobSchema
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 898
- Forks
- 230
- Ø Merge
- 2 T. 5 Std.
- Gemergte PRs (30 T.)
- 31
Beschreibung
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_
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginnen Sie bei Update-MgServicePrincipalSynchronizationJobSchema und untersuchen Sie die generierte Anfrage an den Endpunkt für das Synchronisierungsschema, wobei Sie deren Methode mit der verknüpften Microsoft Graph-Dokumentation vergleichen. Führen Sie den Befehl mit -Debug erneut aus und bestätigen Sie, dass die Anfrage PUT statt PATCH verwendet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 45/100