locked
Deleting Hosting Space did not delete the Exchange Hosting Organization RRS feed

  • Question

  • Hi,

    I have deployed Exchange 2010 with /Hosting switch enabled and created a test user and a hosting space. Inside this hosting space I have enabled the Exchange Hosting Mode. I have then deleted the Hosting space but the Exchange Organization has not been deleted from the AD. When I tried to create the same Exchange Organization for the user I got this error:

    Server was unable to process request. ---> Active organization with identity "TEST01" exists. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at WebsitePanel.Providers.ExchangeHostedEdition.ExchangeServerHostedEdition.CreateOrganization(String organizationId, String programId, String offerId, String domain, String adminName, String adminEmail, String adminPassword) at WebsitePanel.EnterpriseServer.ExchangeHostedEditionController.CreateOrganization(Int32 packageId, String organizationId, String domain, String adminName, String adminEmail, String adminPassword)

     

    How can I manually remove the Exchange Organization from WebsitePanel? Thank you.
    Thursday, December 2, 2010 6:03 PM

Answers

  • Hello,

    there is a bug in Exchange Hosting Mode module - organization is not deleted when you delete a space. Before we fix it, please use Delete button within organization. For now, you could manually delete organization by calling these cmdlets:

    1. Delete all organization mailboxes:

    Get-Mailbox –organization “TEST01”

    Remove-Mailbox –identity <mailboxDN>

    2. Call cmdlet: remove-organization org01 -confirm: $false

     


    Inesa Fain - MSFT
    • Proposed as answer by Inesa Fain Friday, December 3, 2010 12:09 AM
    • Marked as answer by ddenev Friday, December 3, 2010 7:07 AM
    Friday, December 3, 2010 12:09 AM
  • Thank both you for your help. Actually the proper cmdlet for deleting the mailbox that worked for me was:

    Get-Mailbox -Organization "TEST01" -Identity <mailboxDN> | Remove-Mailbox

    because Remove-Mailbox -Identity <mailboxDN> -Permanent $true did not work for some reason

    Best regards

    • Marked as answer by ddenev Friday, December 3, 2010 7:07 AM
    Friday, December 3, 2010 7:06 AM

All replies

  • Hi,

    Sorry for the short instruction...

    1. Make sure, you removed WSP / Exchange related Items.

    2. Open EMC and remove Hosted Organization (HO) related items.

    3. Open ADSI / check / remove required HO items.

    4. Open ADUC / remove HO related items (Users/OU etc.).

    Let me know in case you still need my assistance.

    Thanks.


    Best regards, Dmitry Fitsner Support@ExpertServices.us | WebsitePanel Installations, Support & Consulting | Enterprise Solutions Planning & Deployment & Support. Website: ExpertServices.us
    Thursday, December 2, 2010 10:25 PM
    Answerer
  • Hello,

    there is a bug in Exchange Hosting Mode module - organization is not deleted when you delete a space. Before we fix it, please use Delete button within organization. For now, you could manually delete organization by calling these cmdlets:

    1. Delete all organization mailboxes:

    Get-Mailbox –organization “TEST01”

    Remove-Mailbox –identity <mailboxDN>

    2. Call cmdlet: remove-organization org01 -confirm: $false

     


    Inesa Fain - MSFT
    • Proposed as answer by Inesa Fain Friday, December 3, 2010 12:09 AM
    • Marked as answer by ddenev Friday, December 3, 2010 7:07 AM
    Friday, December 3, 2010 12:09 AM
  • Thank both you for your help. Actually the proper cmdlet for deleting the mailbox that worked for me was:

    Get-Mailbox -Organization "TEST01" -Identity <mailboxDN> | Remove-Mailbox

    because Remove-Mailbox -Identity <mailboxDN> -Permanent $true did not work for some reason

    Best regards

    • Marked as answer by ddenev Friday, December 3, 2010 7:07 AM
    Friday, December 3, 2010 7:06 AM