Undo some changes having to do with UPN when changing Primary Exchange Email Address.

Changed Lync address to be based On UPN.
This commit is contained in:
Virtuworks 2012-11-12 18:32:19 -05:00
parent e5a5bae764
commit 3b6ee6427c
2 changed files with 2 additions and 2 deletions

View file

@ -435,7 +435,7 @@ namespace WebsitePanel.Providers.HostedSolution
cmd = new Command("Enable-CsUser");
cmd.Parameters.Add("Identity", userUpn);
cmd.Parameters.Add("RegistrarPool", PoolFQDN);
cmd.Parameters.Add("SipAddressType", "EmailAddress");
cmd.Parameters.Add("SipAddressType", "UserPrincipalName");
ExecuteShellCommand(runSpace, cmd);
transaction.RegisterNewCsUser(userUpn);