-
Notifications
You must be signed in to change notification settings - Fork 217
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
There are no cmdlets to add/remove a user's sponsors.
The Graph API documentation also lists no pwsh examples: https://learn.microsoft.com/en-us/graph/api/user-post-sponsors?view=graph-rest-1.0&tabs=http
Expected behavior
Cmdlet Get-MgUserSponsor exists and is working as expected, however I'm missing the cmdlets to add/remove them.
They should be called:
- New-MgUserSponsor / Add-MgUserSponsor
- Remove-MgUserSponsor
How to reproduce
Run
Get-Command -Noun *sponsor* -Module Microsoft.Graph.Users
Get-Command -Noun *sponsor* -Module Microsoft.Graph.Beta.Users
and see that only the Get-cmdlet is returned.
SDK Version
2.35.1
Latest version known to work for scenario above?
No response
Known Workarounds
As a workaround you can use the REST-API directly or invoke it via Invoke-GraphRequest
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
Reactions are currently unavailable
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