Avatar of suelizy
suelizyFlag 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
ASKER CERTIFIED SOLUTION
Avatar of R--R
R--R
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of suelizy
suelizy
Flag of United States of America image

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
Exchange
Exchange

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

213K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo