Exchange 2010 Application Impersonation Account

Objective:
New CRM platform to extract data (emails) from Exchange User's Mailboxes

It seems that I need an Application Impersonation Account creating on my Ex 2010 environment and I'm getting the following issue:

I run: (EX Shell as Admin)
New-ManagementRoleAssignment –Name: "ImpersonationName”

-User: "RouterAdministrator@YourOrganization.com" –Role:"ApplicationImpersonation”

(I replace "ImpersonationName" with a recognisable name)
(I replace User with a new AD Service Account email address)
**(I'm not sure what the 'Role' is so left it as is)**

I receive the following message:

cmdlet New-ManagementRoleAssignment at command pipeline position 1
Supply values for the following parameters:

Role: "ApplicationImpersonation"
User: crmexaccess@a2dominion.co.uk
The ""ApplicationImpersonation"" management role can't be found. Check the role entry name, and try again.
    + CategoryInfo          : NotSpecified: (0:Int32) [New-ManagementRoleAssignment], ManagementObjectNotFoundExceptio
   n
    + FullyQualifiedErrorId : 709D468A,Microsoft.Exchange.Management.RbacTasks.NewManagementRoleAssignment


Where am I going wrong?
LVL 2
CTCRMInfrastructure EngineerAsked:
Who is Participating?
 
Simon Butler (Sembee)ConsultantCommented:
This is the TechNet article on the ApplicationImpersonation role.
http://technet.microsoft.com/en-us/library/dd776119(v=exchg.141).aspx

I don't think you need to enclose the role in quotes.

This is what I would do:

New-ManagementRoleAssignment –Name: "Application Name” -User: user@example.com –Role:ApplicationImpersonation

Change Application Name to match your application, so you know what it is for.

Simon.
0
 
CTCRMInfrastructure EngineerAuthor Commented:
Thanks
0
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.