Skip to content

Please add the missing "Update-MgEntitlementManagementAssignmentPolicy" cmdlet in Microsoft.Graph.Identity.GovernanceΒ #2956

@Horgster

Description

@Horgster

Is your feature request related to a problem? Please describe the problem.

Hello!

I need to have the possibility to update (add / remove / modify) the SpecificAllowedTargets in the assignment policy of an access package.

If this cmdlet is not added to this module due to that it is expected that we shall use "Set-MgEntitlementManagementAssignmentPolicy", this this cmdlet must be fixed as it simply destroys and empties the assignment policies when using the "-SpecificAllowedTargets" parameter.

Describe the solution you'd like.

Please include "Update-MgEntitlementManagementAssignmentPolicy" cmdlet.

This cmdlet should allow you to modify any configuration parameters of an assignment policy with parameters switches, representing the configuration item that you want to modify.

Example;
If I would like to update the list of Allowed Specified Targets connected domains";

Update-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId -SpecificAllowedTargets @(Array of #microsoft.graph.connectedOrganizationMembers)

ref;
https://learn.microsoft.com/en-us/graph/api/resources/connectedorganizationmembers?view=graph-rest-1.0

Additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions