O365 - Application Impersonation not working Tenant wide

JoFri 41 Reputation points
2020-11-16T12:51:36.723+00:00

We have Application Impersonation turned on for about 4-5 service accounts, and it's not working for any of them. We can't "send as", we can't sync calendars, etc from any of our applications.

We have a ticket open with Microsoft, but it's been like pulling teeth to get someone on the phone. Does anyone have any idea's as to why this won't work?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,633 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Joyce Shen - MSFT 16,666 Reputation points
    2020-11-17T02:11:59.573+00:00

    Hi @JoFri ,

    Did you receive any errors when the operation failed? Please ensure that you have correctly followed the steps introduced in the official document: Configure impersonation

    I also found a related thread here: impersonate not working!
    The issue was resolved by rerunning the commands again. You could try re-configuring it and verify the result again.

    Step 1
    New-ManagementScope -Name UserAdminScope -RecipientRestrictionFilter {RecipientType -eq "UserMailbox"}

    Step 2
    New-ManagementRoleAssignment –Name "UserAdmin" –Role ApplicationImpersonation –User UserAdmin -CustomRecipientWriteScope UserAdminScope

    Step 3
    Get-ExchangeServer | Where {$_.ServerRole -match "ClientAccess"} | Add-ADPermission -User "UserAdmin" -ExtendedRights ms-Exch-EPI-Impersonation -InheritanceType None
    Get-MailboxDatabase | Add-ADPermission -User "USerAdmin" -ExtendedRights ms-Exch-EPI-May-Impersonate -InheritanceType All


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
     

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.