Jul 11 2019 04:34 PM
Jul 11 2019 04:34 PM
In a new installation of Exchange Server 2019 CU2 on Windows Server 2019 fully patched, with .NET Framework 4.7.2, the Exchange Management Shell is not connecting to Exchange with this error :
"New-PSSession : [server.domain.com] Processing data from remote server server.domain.com failed with the following error message: [ClientAccessServer=SERVER,BackEndServer=server.domain.com,RequestId=29e42dd0-3fd1-4787-
a68c-20a70846c584,TimeStamp=dd/mm/yyyy hh:mm:ss] [FailureCategory=WSMan-Others] Unable to load the assembly "Microsoft.Exchange.Configuration.ObjectModel.dll" specified in the "InitializationParameters" section. 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], PSRemotingTransportException
+ FullyQualifiedErrorId : IncorrectProtocolVersion,PSSessionOpenFailed
After this error, EMS is able to connect to an old Exchange 2013 server in coexistence in the same domain.
Someone else experienced the same problem? Could be a bug in Exchange 2019 CU2?
Sep 24 2019 01:16 PM
I am experiencing the same problem with Exchange 2016 on Server 2016 on a child domain. My root domain is running Exchange 2016 and I had no issues when I migrated from 2010 to 2016. When I install a new Exchange 2016 (CU 13) server in the child domain I have run into this problem you are describing for 2019 editions respectively.
Did yo manage to find a solution/cause for your issue?
Sep 24 2019 02:15 PM
No… reinstalled entire server to resolve :(
Sep 24 2019 02:27 PM
Can you try to run "Set-ExecutionPolicy Unrestricted" in PowerShell in Run As Administrator and after run Exchange Powershell in Run Ad Administrator as well ?
Sep 24 2019 02:55 PM
Turns out there was a GPO in the child domain being applied at a higher precedence that had over written the Default Domain controllers policy under,
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\ Manage auditing and security log was missing the "Exchange Servers" group.
Added the group, ran gpupdate and the Exchange Management Shell now connects.
Thanks for the quick replies.