Aug 24 2021 09:08 AM - edited Aug 24 2021 09:09 AM
Following error appear when connecting Exchange powershell. Everything worked fine, but stopped to work.
I am able to login to GUI and all roles looks ok to me. I amGlobal Admin and Exchange Admin.
Getting following error: New-ExoPSSession : Processing data from remote server outlook.office365.com failed with the following error message: [AuthZRequestId=d4386dd7-a2d2-41cb-81ed-cbdcc5c6ab4d][FailureCategory=AuthZ-CmdletAccessDeniedException] The user "EURPR05A005.PROD.OUTLOOK.COM/Microso ft Exchange Hosted Organizations/postennorge.onmicrosoft.com/GAdmin-Gomsrud" isn't assigned to any management roles. For more information, see the about_Remote_Troubleshooting Help topic. At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\2.0.3\ExchangeOnlineManagement.psm1:426 char:30 + ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [New-ExoPSSession], PSRemotingTransportException + FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.Exchange.Management.ExoPowershellSnapin.NewExoPSSession
Aug 24 2021 09:15 AM
Aug 25 2021 02:50 AM
Aug 25 2021 05:03 AM
Aug 25 2021 07:52 AM
Aug 30 2023 03:55 PM
@AndresGorzelany , I'm also having this issue, and issuing the Connect-ExchangeOnline command didn't work for me. I'm still getting the error.