Few adjustment with regard to accountName
This commit is contained in:
parent
695c0bc94f
commit
86d64a71e3
3 changed files with 4 additions and 4 deletions
|
@ -4766,7 +4766,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
int exchangeServiceId = GetExchangeServiceID(org.PackageId);
|
||||
ExchangeServer exchange = GetExchangeServer(exchangeServiceId, org.ServiceId);
|
||||
|
||||
return exchange.GetMobileDevices(account.AccountName);
|
||||
return exchange.GetMobileDevices(account.UserPrincipalName);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -249,7 +249,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
OrganizationResult serverRes =
|
||||
crm.CreateOrganization(orgId, org.OrganizationId, org.Name, baseCurrencyCode, baseCurrencyName,
|
||||
baseCurrencySymbol, user.AccountName, user.FirstName, user.LastName, user.PrimaryEmailAddress,
|
||||
baseCurrencySymbol, user.SamAccountName, user.FirstName, user.LastName, user.PrimaryEmailAddress,
|
||||
collation);
|
||||
|
||||
if (!serverRes.IsSuccess)
|
||||
|
|
|
@ -444,12 +444,12 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
|
|||
try
|
||||
{
|
||||
|
||||
stats = exchange.GetMailboxStatistics(mailbox.AccountName);
|
||||
stats = exchange.GetMailboxStatistics(mailbox.UserPrincipalName);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
TaskManager.WriteError(ex, "Could not get mailbox statistics. AccountName: {0}",
|
||||
mailbox.AccountName);
|
||||
mailbox.UserPrincipalName);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue