Some times, you may be fed up with some sort of issues related to ‘owa’ , ‘ecp’ or any other virtual directories. Any repair or fine tuning mayn’t fix the issue and you will have to re-create the virtual directories from the scratch.

The difference in Exchange 2013 is that, it has got 2 websites hosted at IIS (Default Website and Exchange Back End).

I am presenting a simple scenario in which I describes how to remove the owa virtual Directories and how to re-create the owa virtual directories in Exchange 2013 for both Default Website and Exchange Back End

Remove the owa virtual Directories

[PS] C:\Windows\system32>Remove-OwaVirtualDirectory “ServerName\owa (Default Web Site)”

Confirm Are you sure you want to perform this action? Outlook Web App virtual directory “ServerName\owa (Default Web Site)” is being removed. [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is “Y”): y

[PS] C:\Windows\system32>Remove-OwaVirtualDirectory “ServerName\owa (exchange back end)”

Confirm Are you sure you want to perform this action? Outlook Web App virtual directory “ServerName\owa (exchange back end)” is being removed. [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is “Y”): y

 Re-Create the owa virtual Directories

[PS] C:\Windows\system32>New-OwaVirtualDirectory  -InternalUrl “https://ServerName/owa” -ExternalUrl “https://mail. domain.com/owa”

[PS] C:\Windows\system32>New-OwaVirtualDirectory  -InternalUrl “https://ServerName/owa” -ExternalUrl “https://mail. domain.com/owa” -WebSiteName “Exchange Back End”

Hope you are now free from the owa virtual directories remove/recreate troubles :)

3 Comments


  1. Very good Info :)

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Protected by WP Anti Spam