exchange managemnt shell showing error

Muhammed Shehim 1 Reputation point
2021-03-11T19:39:30.16+00:00

Exchange management shell showing the below error.How can I fix this
New-PSSession : [exchange01.contoso.local] Processing data from remote server exchange01.contoso.local failed with the
following error message: [ClientAccessServer=exchange01,BackEndServer=exchange01.contoso.local,RequestId=4dd03ed3-b7ea-44
9f-899f-8764d9fbda08,TimeStamp=3/11/2021 7:35:03 PM]
[AuthZRequestId=8ec8a184-2adf-4a22-955f-d4ed06847411][FailureCategory=AuthZ-TypeInitializationException] The type
initializer for 'Nested' threw an exception. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

  • New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Micr ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
    gTransportException
  • FullyQualifiedErrorId : IncorrectProtocolVersion,PSSessionOpenFailed
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yuki Sun-MSFT 41,451 Reputation points Moderator
    2021-03-12T02:38:43.807+00:00

    Hi @Muhammed Shehim ,

    What's the version of your Exchange server?
    Any changes were made to your Exchange environment before this issue occurred?

    Please go to Event Viewer and see if there are any relevant events?

    Besides, it's suggested to check the Exchange Back End website bindings via IIS manager > Exchange Back End, right click and choose Bindings, highlight https and click Edit, make sure a proper certificate is bound to the site:
    76924-1.png

    Furthermore, please have a look at the authentication settings of Powershell in both the Default Web Site and the Exchange Back End, see if they are same as the default settings:
    76925-2.png


    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.


Your answer

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