wsp-10200 Domain remains in "Accepted domains" in Exchange 2010/13 environment
after deletion hosted organization/space from WSP Fixed
This commit is contained in:
parent
24ad3c2c25
commit
4bcfe5f5cf
15 changed files with 2777 additions and 3432 deletions
|
@ -186,7 +186,7 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
}
|
||||
|
||||
internal override bool DeleteOrganizationInternal(string organizationId, string distinguishedName,
|
||||
string globalAddressList, string addressList, string roomList, string offlineAddressBook, string securityGroup, string addressBookPolicy)
|
||||
string globalAddressList, string addressList, string roomList, string offlineAddressBook, string securityGroup, string addressBookPolicy, List<ExchangeDomainName> acceptedDomains)
|
||||
{
|
||||
ExchangeLog.LogStart("DeleteOrganizationInternal");
|
||||
bool ret = true;
|
||||
|
@ -290,6 +290,9 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
ret = false;
|
||||
ExchangeLog.LogError("Could not disable mail security distribution group " + securityGroup, ex);
|
||||
}
|
||||
|
||||
if (!DeleteOrganizationAcceptedDomains(runSpace, acceptedDomains))
|
||||
ret = false;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue