Using Azure System Assigned Managed Identity with Exchange Online
I have an Azure VM with the Exchange.ManageAsApp Permission, and also Entra ID Security Administrator and Compliance Administrator permissions. However, when I attempt to connect to Exchange online using the following in a PowerShell session, I get an “OperationStopped: UnAuthorized” error.