This project is read-only.

Create Request MPR

Sep 9, 2015 at 3:11 PM
How do I need to write the ActionType and ActionParamter in the Powershell Code if I would like to grant more than one right (e.g. modify and read) and more than one Attribute (e.g. ADAccount and SAPAccount). It is working with a single Access right and a single Attribute.
New-FimImportObject -ObjectType ManagementPolicyRule -State Create -Changes @{
    ManagementPolicyRuleType = 'Request'
    GrantRight          = 'True'
    Disabled            = 'False'
    DisplayName         = 'MU Approver 1000' 
    Description         = 'Grants permissions to OrgLevel 1000 approvers'
    PrincipalSet            = ('Set', 'DisplayName', 'MU Approver 1000')
    ResourceCurrentSet  = ('Set', 'DisplayName', 'MU OrgLevel 1000')
    ResourceFinalSet  = ('Set', 'DisplayName', 'MU OrgLevel 1000')
    ActionType          = 'Modify'
    ActionParameter     = 'ADAccount'
    } -ApplyNow