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

x
?
Solved

Exchange 2010 Impersonation Account Permissions

Posted on 2014-03-12
4
Medium Priority
?
665 Views
Last Modified: 2014-03-13
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
Comment
Question by:CTCRM
  • 2
  • 2
4 Comments
 
LVL 33

Expert Comment

by:Busbar
ID: 39925668
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
 
LVL 2

Author Comment

by:CTCRM
ID: 39925858
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
 
LVL 33

Accepted Solution

by:
Busbar earned 1600 total points
ID: 39926024
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
 
LVL 2

Author Closing Comment

by:CTCRM
ID: 39926238
Thanks for the support, this solution worked.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
This video discusses moving either the default database or any database to a new volume.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

916 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