Remove-ecpVirtualDirectory “ex01\ecp (Default Web Site)”
Remove-ecpVirtualDirectory “ex01\ecp (exchange back end)”
New-ecpVirtualDirectory -InternalUrl “https://mail.qtg.life/ecp” -ExternalUrl “https://mail.qtg.life/ecp”
New-ecpVirtualDirectory -InternalUrl “https://mail.qtg.life/ecp” -ExternalUrl “https://mail.qtg.life/ecp” -Website Name “Exchange Back End”
Remove-owaVirtualDirectory “ex01\owa (Default Web Site)”
Remove-owaVirtualDirectory “ex01\owa (exchange back end)”
New-owaVirtualDirectory -InternalUrl “https://mail.qtg.life/owa” -ExternalUrl “https://mail.qtg.life/owa”
New-owaVirtualDirectory -InternalUrl “https://mail.qtg.life/owa” -ExternalUrl “https://mail.qtg.life/owa” -WebSiteName “Exchange Back End”
.\iisreset.exe
 Enable Exchange On-Premises to use Integrated Windows Authentication
Get-EcpVirtualDirectory “ECP (Default Web Site)” | Format-List *Authentication*
Set-OwaVirtualDirectory “owa (Default Web Site)” -BasicAuthentication $True -WindowsAuthentication $True
Set-EcpVirtualDirectory “EX01\ecp (Default Web Site)” -BasicAuthentication:$True -WindowsAuthentication:$True
iisreset /noforce

Use the best HTML, CSS, JavaScript resources to get the perfect code in your web projects

Share:

administrator

Sr. Cloud Solutions Architect with over ten years of experience in Microsoft Solutions and Digital Transformation, Blogger, Speaker, and #ArWVDUG Community leader. Focus on Azure, Cloud Security, Modern Workspace, Azure WVD, AVD, Infrastructure as Code, Endpoint Management, Office 365, EMS.