Ensure that the PowerShell endpoint in IIS on the Exchange Server is configured to accept either Basic Authentication or Windows Authentication credentials.
Configuring of authentication details in the IIS manager is only for Exchange 2010, 2013, and 2016. For Office 365 implementations, the Office 365 support team configures the authentication settings.
To configure authentication details:
- In the IIS manager, expand Default Web Site and select PowerShell.
- Select either Basic Authentication or Windows Authentication.
- 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 AirWatch Console Server.
PS C:\Windows\system32> Set-ExecutionPolicy RemoteSigned