fd4u
asked on
Exchange 2013 - reset virtual directories - ecp login failure
For some reason I've changed authentication settings for some virtual directories directly in IIS (enabling / disabling "Basic Authentication", "Windows Authentication"...) I know, I've made mistake!
Now I'm unable to login to https://exchangeurl/ecp. Although I'm certain that I've entered accurate username/password, I'm constantly getting the same login page with message that entered credentials are not ok.
I suppose that it can be solved if I can reset all virtual directories in their original state. So my question is:
Thanks!
Now I'm unable to login to https://exchangeurl/ecp. Although I'm certain that I've entered accurate username/password, I'm constantly getting the same login page with message that entered credentials are not ok.
I suppose that it can be solved if I can reset all virtual directories in their original state. So my question is:
How can I reset virtual directories?
Is there any documentation on how to setup virtual directory authentication for all virtual directories?
Or one can suggest the other way for me to successfully login to url/ecp, and reset virtual directories from there.
Of course, keep in mind that I'm unable to login to url/ecp, so I must find a way to resolve this using other tools (powershell...)Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the answers guys. I'll accept those, but just one more thing: if I delete / recreate ecp directory will I loose some other settings (mailboxes, etc.)?
Thanks
Thanks
ASKER
It was solution I've searched for. Thanks
For similar issue it didn't help for me
Initially I was facing issue earlier only with OWA on E2013(Single box), was failing with below error,
Something went wrong
A mailbox couldn't be found for NT AUTHORITY\SYSTEM. If the problem continuous contact your helpdesk.
So we reset OWA virtual directory using ECP console but didn't help so rebooted E2013 server and found both OWA & ECP stopped working.
But now if we try to browse OWA or ECP console, we get credential page and after putting credential, I get below error,
The user name or password you entered isn't correct. Try entering it again.
I can browse other virtual directories using same credential but not OWA/ECP
Outlook works fine.
Created new mailbox but same issue
Something went wrong
A mailbox couldn't be found for NT AUTHORITY\SYSTEM. If the problem continuous contact your helpdesk.
So we reset OWA virtual directory using ECP console but didn't help so rebooted E2013 server and found both OWA & ECP stopped working.
But now if we try to browse OWA or ECP console, we get credential page and after putting credential, I get below error,
The user name or password you entered isn't correct. Try entering it again.
I can browse other virtual directories using same credential but not OWA/ECP
Outlook works fine.
Created new mailbox but same issue
You can recreate the vDirs, but I would think performing a point in time restore before installing the CU would be a better option. With that said I'm sure you wouldn't be on this website if you had a backup.
https://technet.microsoft.com/en-us/library/ff629372(v=exchg.141).aspx
https://technet.microsoft.com/en-us/library/ff629372(v=exchg.141).aspx
Thanks, the accepted solutions below did the work.
In addition - you might want to restart (in services.msc) 'Microsoft Exchange Transport' & 'Microsoft Exchange Information Store' services.
And restart IIS service (Using IIS Manager --> Choose "Restart")
ACCEPTED SOLUTION by: vSolutionsIT
ID: 38831215
2013-01-29
Comment Utility
You can check the authentication settings by using get-ecpvirtualdirectory | fl command and then may change the authentication settings by using set-ecpvirtualdirectory command.
get-ecpvirtualdirectory :
http://technet.microsoft.com/en-us/library/dd351058.aspx
set-ecpvirtualdirectory
http://technet.microsoft.com/en-us/library/dd297991.aspx
you can remove and then recreate ecp virtual directory using below commands as well. but before that note down all the settings reported by get-ecpvirtualdirectory.
Remove-EcpVirtualDirectory
http://technet.microsoft.com/en-us/library/dd351147.aspx
New-ecpvirtualdirectory:
http://technet.microsoft.com/en-us/library/dd351218.aspx
In addition - you might want to restart (in services.msc) 'Microsoft Exchange Transport' & 'Microsoft Exchange Information Store' services.
And restart IIS service (Using IIS Manager --> Choose "Restart")
ACCEPTED SOLUTION by: vSolutionsIT
ID: 38831215
2013-01-29
Comment Utility
You can check the authentication settings by using get-ecpvirtualdirectory | fl command and then may change the authentication settings by using set-ecpvirtualdirectory command.
get-ecpvirtualdirectory :
http://technet.microsoft.com/en-us/library/dd351058.aspx
set-ecpvirtualdirectory
http://technet.microsoft.com/en-us/library/dd297991.aspx
you can remove and then recreate ecp virtual directory using below commands as well. but before that note down all the settings reported by get-ecpvirtualdirectory.
Remove-EcpVirtualDirectory
http://technet.microsoft.com/en-us/library/dd351147.aspx
New-ecpvirtualdirectory:
http://technet.microsoft.com/en-us/library/dd351218.aspx
http://technet.microsoft.com/en-us/library/dd351218.aspx