• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 686
  • Last Modified:

Exchange 2010 Impersonation Account Permissions

I have configured the Scope and Account for the Impersonation Account, I now need to grant permissions for multiple users to use the Impersonation Account to access the target Application. How do I do this?
0
CTCRM
Asked:
CTCRM
  • 2
  • 2
1 Solution
 
BusbarSolutions ArchitectCommented:
Use these commands:
1- Command to create a new role called AppEWSImpersonationRole:
New-ManagementRole -Name AppEWSImpersonationRole -Parent ApplicationImpersonation

2- Command to assign a user to AppEWSImpersonationRoleAssignment:
New-ManagementRoleAssignment -Role AppEWSImpersonationRole -User Username AppEWSImpersonationRoleAssignment

you can use get-mailbox with the second command to assign it to multiple users.
0
 
CTCRMInfrastructure EngineerAuthor Commented:
Genius
I have created the Scope (New-ManagementScope -Name:Impersonationscope)

Then run (RecipientRestrictionFilter: Name -eq "Mailbox"), not sure what this line does but Impersonation Scope is set with the above filter.

Now to assign an account as the Impersonation Account I ran the following:
(New-ManagementRoleAssignment -Name:NewCRMAccess -Role:ApplicationImpersonation -User: crmexaccess -CustomRecipientWriteScope: Impersonationscope)

With this I now have the scope and account set and just want to assign 3 AD user accounts to use the above Impersonation Account to access CRM Application.

Can you provide the full PS command from the prompt on Exchange that would add User1, User2, and User3 please. Apologies for asking, I'm new to Power Shell.
0
 
BusbarSolutions ArchitectCommented:
the command already posted:

New-ManagementRoleAssignment -Role AppEWSImpersonationRole -User user1 AppEWSImpersonationRoleAssignment

New-ManagementRoleAssignment -Role AppEWSImpersonationRole -User user2 AppEWSImpersonationRoleAssignment

New-ManagementRoleAssignment -Role AppEWSImpersonationRole -User user3 AppEWSImpersonationRoleAssignment
0
 
CTCRMInfrastructure EngineerAuthor Commented:
Thanks for the support, this solution worked.
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.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now