You can configure the PowerShell endpoint in IIS. The IIS acts as a gateway between the web browser and the devices that you can connect to in your environment.

Ensure that the PowerShell endpoint in IIS on the Exchange Server is configured to accept either Basic Authentication or Windows Authentication credentials.

Note: Configuring of authentication details in the IIS manager is only for Exchange 2010, 2013, 2016, and 2019. For Office 365 implementations, the Office 365 support team configures the authentication settings.


  1. In the IIS manager, expand Default Web Site and select PowerShell.
  2. Select either Basic Authentication or Windows Authentication.
  3. To configure the PowerShell endpoint, enter the following command on the Exchange Management Shell on the Exchange Server and on the Remote Shell on the UEM console Server.
    PS C:\Windows\system32> Set-ExecutionPolicy RemoteSigned