New-OwaVirtualDirectory – An error occurred while creating the IIS virtual directory

During a recent update to Exchange 2016 CU9, I encountered the following error whilst trying to recreate one of the secondary OWA sites that I have running. The command being executed was: New-OwaVirtualDirectory -Server $ServerName -WebsiteName “EAC_Secondary” | Out-Null The error I was getting: An error occurred while creating the IIS virtual directory ‘IIS://exch04.domain.local/W3SVC/3/ROOT/owa’ on
Continue reading New-OwaVirtualDirectory – An error occurred while creating the IIS virtual directory