Why does Exchange Online PowerShell say access denied?
Identify whether sign-in fails or a particular command is denied after connecting.
Open a fresh PowerShell window on an approved work device. Load the ExchangeOnlineManagement module and use Connect-ExchangeOnline with your work account. Complete your usual sign-in.
If sign-in fails, confirm the organisation and account in the prompt. Give your administrator the error, time and correlation ID through your normal internal channel. Keep MFA enabled.
If sign-in succeeds but a command is unavailable, record its name and which mailbox you intended to manage. Ask the administrator to check the least-privileged Exchange role and its scope.
After access is confirmed, reconnect and repeat the original permitted read-only check. Disconnect with Disconnect-ExchangeOnline when finished.
