Last post Mar 18, 2008 06:56 PM by mattpalmgren
Apr 09, 2007 05:12 PM|Orlando Arias|LINK
I delete with the Active Directory Console a Reseller and Organization created for testing
now I found in the ResourceManagerWebClient tha I have a
How do I delete this ??
Apr 10, 2007 07:58 AM|Steve@Planet|LINK
If you delete the AD objects like that then data is left over in the RM and HeCustomerDB databases. This is definately not the way to go.
Always use the MPS procedure HostedExchange::DeleteBusinessOrganization to delete organizations.
You need to open the RM DB and manually remove all the offending records. This isn't that easy.
1stly you need to identify the offending records in the ResourceManagerDB.
You will need to delete the records from the rmcore_ConsumerInstance table, and all it's related records in other tables. The field in the rmcore_ConsumerInstance table where the AD GUID is stored is called Instance_Name.
You will then have to modify the actual_used field in the blockModel_modelAllocationData table.
Did the org have many users with mailboxes and other resources?
I'll see if I can find a script that may do this for you.
Apr 10, 2007 09:19 AM|DmitriG|LINK
It is easier to use procedure Managed Helpers:TryDeleteRMConsumer_ to remove records for
organizations and users from database.
Call it like this:
<?xml version="1.0" encoding="utf-8" ?>
<execute namespace="Managed Helpers" procedure="TryDeleteRMConsumer_" impersonate="1">
<after source="executeData" destination="data" mode="merge" />
Jun 28, 2007 04:20 AM|truncate|LINK
But how to delete the reseller???
Jun 28, 2007 05:35 AM|Steve@Planet|LINK
I think the same function can be used, just pass in the reseller GUID.
Jun 28, 2007 09:37 AM|DmitriG|LINK
Jun 29, 2007 04:33 AM|ehanig|LINK
There is no coresponding web service call to HostedExchange:DeleteBusinessOrg, but rather there is HostedActiveDirectory:DeleteOrganization.
However, we found that there may be issues using this for certain types of orgs. Any solution for if you want to use web services?
Jun 29, 2007 07:34 AM|Steve@Planet|LINK
Yes, that is correct for HMC 4.x
The Hosted Exchange namespace was from HMC 3.5, and is no longer present in HMC 4.x. This is because the Hosted Exchange namespace has been split up into many more specialized namespaces, like Hosted Email 2007 namepace.
I was assuming that this post was referring to HMC 3.5 because ResourceManagerWebClient is not part of HMC 4.x
Mar 17, 2008 09:28 AM|dstickly33|LINK
Great post, Thanks, It worked perfectly.
Mar 18, 2008 06:56 PM|mattpalmgren|LINK
I was doing Procedure RUN.13 to create the Reseller Organization and I forgot to change the ConsolidatedMessenger value in CreateResellerOrganization.xml. I thought maybe if I ran it again with the proper value, it would change it for me, but no, now I
have two reseller organizations.
I was trying to follow this thread to remove the ConsolidatedMessenger reseller organization, but for some reason I can't get my head around it. Can someone summarize the procedure? Also, should I delete the second reseller organization, even though it
is the correct name?