Exchange-1

Exchange 2013 – Powershell No Mapping Unicode WinRM

Microsoft released the Cumulative Update 11 for Exchange 2013 and Exchange 2016 CU1 in December 2015. With these new packages, they changed the behavior of Exchange Management Shell, (Exchange Powershell).

Prior to 2013 CU11 and 2016 CU1, when you start the EMS, it will connect by default to the local Exchange Server. But with CU11, Exchange Powershell will be proxy to the server where the user’s mailbox is located. It means that when you start the EMS console, it will probably try to connect to another server.

When all your servers are up to date, in some circonstances, you can get an error when launching the EMS: “No mapping for the Unicode character exists in the target”:

Mapping Unicode error

Mapping Unicode error

If you get this error, do not panic and stay calm :). You can find some posts where you need to rebuild the powershell virtual directory, but do not do this! Let’s see how to resolve this issue easily.

Mapping Unicode and WinRM errors

After CU11 installed, you can find at least two typical errors with the Exchange Powershell console, the Mapping Unicode as above, or WinRM cannot complete the operation:

EMS WinRM error

EMS WinRM error

Exchange Toolbox

Moreover, the Exchange Toolbox does not work anymore. You will have an error with the SerializationException runtime:

Toolbox Serialization Exception

Toolbox Serialization Exception

WinHTTP proxy

In fact, even with these errors, Exchange fonctionnalites continue to work. These errors are related to the WinHTTP Proxy setting on the server.

  • Type this command to check if you server has a WinHTTP proxy set: netsh winhttp show proxy
Show Proxy

Show Proxy

  • Reset the proxy configuration with : netsh winhttp reset proxy
WinHTTP reset proxy

WinHTTP reset proxy

After the modification, Exchange Management Shell and Exchange Toolbox are working again!

Exchange Powershell connected

Exchange Powershell connected

Exchange Toolbox

Exchange Toolbox

More

You can get more information about mailbox anchor and Powershell here.

Share

One thought on “Exchange 2013 – Powershell No Mapping Unicode WinRM

  1. Pingback: Office 365 – Import Export Role | Cloud Evangelist

Leave a Reply

Your email address will not be published. Required fields are marked *