Migration to Skype for Business Online
After the AD Sync and license application, I was wondering why no users where showing up in the Lync Admin panel, despite having a valid license applied.
After a bit of searching, I discovered that if you have previously had an On Premises Lync installation, you need to clear the AD attributes associated with that configuration, then wait/force a sync before the users will show up in the portal.
msRTCSIP-DeploymentLocator
msRTCSIP-FederationEnabled
msRTCSIP-InternetAccessEnabled
msRTCSIP-Line
msRTCSIP-OptionFlags
msRTCSIP-PrimaryHomeServer
msRTCSIP-PrimaryUserAddress
msRTCSIP-UserEnabled
msRTCSIP-UserPolicies
msRTCSIP-FederationEnabled
msRTCSIP-InternetAccessEnabled
msRTCSIP-Line
msRTCSIP-OptionFlags
msRTCSIP-PrimaryHomeServer
msRTCSIP-PrimaryUserAddress
msRTCSIP-UserEnabled
msRTCSIP-UserPolicies
No doubt there will be more on that when we get closer to an actual cutover to the online service!
A handy powershell snip I found for clearing these attributes:
A handy powershell snip I found for clearing these attributes:
Get-ADUser
-Filter
{proxyaddresses
-like
"sip:*"
} |
Set-ADUser
-Clear
msRTCSIP-ApplicationOptions,msRTCSIP-DeploymentLocator,msRTCSIP-Line,msRTCSIP-OwnerUrn,msRTCSIP-PrimaryUserAddress,msRTCSIP-UserEnabled,msRTCSIP-OptionFlags