Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to assign impersonation rights to a useraccount mailbox

Posted on 2016-09-26
3
Medium Priority
?
91 Views
Last Modified: 2016-09-26
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.
0
Comment
Question by:cmdolcet
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
Ivan earned 2000 total points
ID: 41816619
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
 

Author Comment

by:cmdolcet
ID: 41816675
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
 
LVL 17

Expert Comment

by:Ivan
ID: 41816687
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

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question