Export (0) Print
Expand All

Remove an Outlook Web App Virtual Directory

Exchange 2010
 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-07-23

You can use the Shell to remove a Microsoft Office Outlook Web App virtual directory.

Don't use Internet Information Services (IIS) Manager to remove an Outlook Web App virtual directory. Using IIS Manager to do this may result in what's known as an "orphan" virtual directory. Instead, use the procedure in this topic. You can use the same procedure to remove orphan virtual directories.

If the last Outlook Web App virtual directory to be removed was an orphan virtual directory, you must manually remove the Outlook Web App ISAPI filter from the associated Web site. See the procedures in this topic for how to find orphan virtual directories, and manually remove them.

Looking for other management tasks related to Outlook Web App virtual directories? Check out Managing Outlook Web App Virtual Directories.

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Outlook Web App virtual directories" entry in the Client Access Permissions topic.

This example deletes a virtual directory named Legacy from a site named "second Web site" on the server named Contoso.

Remove-OwaVirtualDirectory -identity "Contoso\Legacy (second Web site)"

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Outlook Web App virtual directories" entry in the Client Access Permissions topic.

This example finds any orphan virtual directories.

Get-OwaVirtualDirectory | ? { ![DirectoryServices.DirectoryEntry]::Exists($_.MetabasePath) }

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "IIS Manager" entry in the Client Access Permissions topic.

  1. Open IIS Manager.

  2. Navigate to the Web site that hosted the Outlook Web App virtual directory, right-click the Web site name, and then click Properties.

  3. Click the ISAPI filters tab.

  4. Remove the Exchange OWA Cookie Authentication ISAPI filter entry.

For more information about syntax and parameters, see Remove-OwaVirtualDirectory.

After you remove an Outlook Web App virtual directory, you may also want to:

 © 2010 Microsoft Corporation. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft