Avatar of suelizy
suelizy
Flag for United States of America asked on

New-ManagementRoleAssignment

I want to run New-ManagementRoleAssignment and assign 2 roles.  I am trying this:

New-ManagementRoleAssignment -Name "NAME" -SecurityGroup "GROUP" -Role "ROLE1","ROLE2"

It fails with:  Cannot process argument transformation on parameter 'Role'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Excha

Anyone know how to do this?

Thanks!

Susan
ExchangePowershell

Avatar of undefined
Last Comment
suelizy

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
R--R

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
suelizy

ASKER
Are you saying that you cannot assign 2 roles, instead I need to create a role group that contains those 2 roles and then assign that role group?

Thanks!

Susan
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck