Categories: Microsoft Exchange

Bad request (HTTP 400 error) in Exchange 2013 OWA/ECP

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

Mahmoud A. ATALLAH

Microsoft MVP | Speaker | Azure Service Delivery Lead at Bespin Global MEA, helping customers build successful Azure practices. Talks about #AzureCloud and #AI

Share
Published by
Mahmoud A. ATALLAH

Recent Posts

Gitex – Ensuring a Secure & Scalable AI-powered Solution with Azure

In this session, we will explore the architecture and best practices for building secure and…

2 months ago

Part 4: Data Exfiltration Playbook – Azure WAF Security Lab

Introduction Welcome to our comprehensive series on Azure Web Application Firewall (WAF) security! In this…

3 months ago

Part 3: Vulnerability Exploitation Playbook – Azure WAF vs XSS

Introduction Welcome to the third installment of our Azure Web Application Firewall (WAF) Security Lab…

4 months ago

Part 2: Reconnaissance Playbook – Testing Azure WAF Protection

Introduction Welcome to the second installment of our Azure Web Application Firewall (WAF) Security Lab…

4 months ago

Part 1: Lab Setup – Building Your Azure WAF Testing Environment

Introduction Welcome to the first installment of our four-part Azure Web Application Firewall (WAF) Security…

4 months ago

Azure Web Application Firewall: A Hands-on Security Lab Series

Introduction In today's digital landscape, protecting web applications from sophisticated attacks is crucial. Azure Web…

4 months ago