Set Lync default pool for newly created user

I think i'm missing something but i can't see what, maybe someone here can show me the way.

In our FIM new user creation process, an new user is created by script.

And somewhere in that script it assigns the user to Lync, but it doenst specify the Lync pool name so it gets dropped in Legacy pool.
How do I edit the script so that it is assign the correct Lync pool?

Below is a portion of the script where think at least the Lync pool name should be mentioned.

' Lync2010 Provisioning Code
' Constuct msRTCSIP-PrimaryUserAddress
' Example: ' Example: CN=Lc Services,CN=Microsoft,CN=1:1,CN=Pools,CN=RTC Service,CN=Microsoft,CN=System,DC=efroot,DC=ads
Dim PrimaryHomeServer As ReferenceValue
Dim PrimaryHomeServerStrCN As String
Dim PrimaryHomeServerStrDN As String
PrimaryHomeServerStrCN = "CN=LC Services"
PrimaryHomeServerStrDN = "CN=Microsoft,CN=1:1,CN=Pools,CN=RTC Service,CN=Microsoft,CN=System,DC=efroot,DC=ads"
PrimaryHomeServer = resourceAdMA.EscapeDNComponent(PrimaryHomeServerStrCN).Concat(PrimaryHomeServerStrDN)

csentry("msRTCSIP-PrimaryHomeServer").ReferenceValue = PrimaryHomeServer
csentry("msRTCSIP-FederationEnabled").BooleanValue = True
csentry("msRTCSIP-InternetAccessEnabled").BooleanValue = True
csentry("msRTCSIP-UserEnabled").BooleanValue = True
csentry("msRTCSIP-OptionFlags").IntegerValue = 257
csentry("msRTCSIP-PrimaryUserAddress").StringValue = "sip:" & upn

' Do it!

July 4th, 2013 7:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics