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.