How to assign impersonation rights to a useraccount mailbox

Looking online for documents  or direction on how to give these rights.

I come up to the powershell and writing in the following code:

Get-ManagementRoleAssignment -RoleAssignee "<administrator>" -Role ApplicationImpersonation -RoleAssigneeType user

But that returns an error.
cmdolcetAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
IvanConnect With a Mentor System EngineerCommented:
Hi,

did you write Get or Set ManagementRoleAssignments?
Anyway, it should go like:

New-ManagementRoleAssignment –Name:<name_of_role> –Role:ApplicationImpersonation –User:domain\username

So if you want to configure impersonation for user named ivan, in domain Contoso, and you want role to be named Ivan_Test_Role, you would do it like:

New-ManagementRoleAssignment –Name:Ivan_Test_Role –Role:ApplicationImpersonation –User:contoso\ivan

More on this, on links:
https://msdn.microsoft.com/en-us/library/office/dn722376(v=exchg.150).aspx
https://technet.microsoft.com/en-us/library/dd776119(v=exchg.150).aspx

Regards,
Ivan.
0
 
cmdolcetAuthor Commented:
OK, great...after you type the line of code in... is there anything else I need to do or is the role assigned?

It returned correctly.
0
 
IvanSystem EngineerCommented:
Hi,

That should od it.
That was the only thing I did when it was required to configure impersonation for CRM, few months ago.
1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.