-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove-MgBetaEntitlementManagementAccessPackageAssignment results in 404 error #2493
Comments
Hi @quentinmarois from the debug information this seems like a service issue. You can also confirm that this issue is not only specific to the Microsoft PowerShell SDK by making use of this tool https://developer.microsoft.com/en-us/graph/graph-explorer. by picking the request uri from the debug information and running it on the tool. For API related issues/questions we are not best placed to give an answer. Kindly raise an issue here https://developer.microsoft.com/en-us/graph/support so that the API owner can respond to it. |
So I did a bit more research on the issue, but I'm getting more confused. So for example, if the original assignment request was of requestType So, it would make sense that the API return an error, because the The thing that I'm having difficulty understanding now is that, if this is the intended process, wouldn't this mean that the |
Thanks for the info @quentinmarois. I got removal working with What's also not.. legit.. with Graph is that I successfully could create the remove request without any write permissions in the scope when I authenticated. I authenticated with: do {$Disconnected = [bool](-not$(Try{$null = Disconnect-MgGraph 2>$null; $?}Catch{$false}))} until ($Disconnected)
Connect-MgGraph -UseDeviceCode -Scopes ('AuditLog.Read.All','EntitlementManagement.Read.All','User.Read.All') -NoWelcome -ContextScope 'Process' And the delete request went through, no questions asked.
After that it takes some minutes before the request is "delivered", as in assignment is actually deleted. Then the assignment status is "expired". |
This issue is being tracked here microsoftgraph/msgraph-metadata#677 |
Describe the bug
When attempting to use the
Remove-MgBetaEntitlementManagementAccessPackageAssignment
cmdlet with a validAccessPackageAssignmentId
, the azurewebsites API endpoint results in a 404 error.To Reproduce
Steps to reproduce the behavior:
Debug Output
Module Version
Microsoft.Graph.Beta.Identity.Governance version 2.11.1
The text was updated successfully, but these errors were encountered: