MistaGil
MistaGil
Me as well. Spent the good part of my day banging my head against a wall over this. Glad I found this thread. Although @peombwa 's suggestion of using `Invoke-MgGraphRequest...
Per https://learn.microsoft.com/en-us/graph/api/accesspackageassignmentpolicy-update?view=graph-rest-1.0&tabs=powershell, I was able to get `Set-MgEntitlementManagementAssignmentPolicy` (which isn't a documented Microsoft Graph Identity Governance Mg cmdlet) to complete successfully, however it overwrites every non-defined property in `-BodyParameter`, despite...
@KaiWalter curious, when you run `Set-...` are you defining all of the assignment policy's properties in `-BodyParameter` or did you find a way to set only specific ones without overwriting...
@KaiWalter can you provide an example of what you did? I tried eliminating the `-BodyParameter` in `Set-...` as well, instead setting a specific property, eg `Set-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId -DisplayName "TEST"` But...
Thank you @KaiWalter. Your code did help me get `Set-...` to run successfully (looks like the `-AccessPackageID` parameter is required). However, I ran your code and its facing the same...