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 IIS manager is only for Exchange 2010, 2013, and 2016. For Office 365 implementations, these settings are configured by the Office 365 support team.
To configure authentication details:
- In the IIS manager, expand Default Web Site and select PowerShell.
- Select either Basic Authentication or Windows Authentication.
- Enter the following command on the Exchange Management Shell on the Exchange Server and on the Remote Shell on the AirWatch Console Server to config PowerShell endpoint:
PS C:\Windows\system32> Set-ExecutionPolicy RemoteSigned