Problem:
How do I setup application impersonation
Solution:
- Load up PowerShell in Admin mode
- If you don’t have Exchange Online PowerShell installed: Install-Module -Name ExchangeOnlineManagement
- Login using: Connect-ExchangeOnline
- Enter login credentials
- Copy and paste: Enable-OrganizationCustomization
- Change user@domain.com to your admin user: New-ManagementRoleAssignment -Role “ApplicationImpersonation” -User user@domain.com