Move to TeamsOnly with Skype for Business on premisse account

Hello

I'm trying to move some of the users to the TeamsOnly - UpgrdeToTeams mode. Unfortunatelly few years ago the company was using Skype for Business server for short period of time. These servers are gone now but they were not properly decomissioned. Many users still have AD attributes pointing to SfB onpremise environment. 

When i'm trying to run against such a user the Grant-CsTeamsUpgradePolicy -identity

get-aduser set-aduser -clear msRTCSIP-PrimaryUserAddress,msRTCSIP-PrimaryHomeServer,msRTCSIP-UserEnabled,msRTCSIP-OptionFlags,msRTCSIP-UserPolicies, msRTCSIP-DeploymentLocator, msRTCSIP-FederationEnabled, msRTCSIP-InternetAccessEnabled 

It looks that it does its job as there are no AD atrbutes available for this user anymore but it does not allow me still to move user to teamsonly mode. 

Does any of you how it can be worked around?

Hello exec_11,

I am glad to help you here.

First I'd like to share with you, generally if we have Skype for Business On-Premises, and Microsoft 365 Online environment ( means Skype for Business online or Teams), in this case if we want to migrate a Skype for Business on-premises user to Teams only, this requires deploying Skype for Business Hybrid, and if we have Skype for Business server 2015 CU8 or later or Skype for Business server 2019, we can directly move users to Teams only.

Since you don't have Skype for Business server now, this means your users don't use on-premises Skype for Business, please clarify if I misunderstand your scenario, thanks.  If so, first please make sure all the msRTCSIP associated attributes are removed ( not set) from your AD users, you can open the AD user attribute editor and double check them

Then, please run AAD Connect Sync to sync your AD users to Microsoft 365 Azure AD, if you have already with synchronization enabled, please run AD powershell command    Start-ADSyncSyncCycle -PolicyType Delta  ( or Initial) to make the changes in AD re-sync to AAD, thanks.  You may need wait for some more time to make the attributes changes take effect in Azure AD side, thanks.

Also, please make sure you have assigned the Skype for Business online ( plan2) and Teams license to that user in the cloud, if so, after that please connect to Skype for Business Online PowerShell  and check the current synced user's upgrade mode and also see if it has any on-premises Skype for Business enabled options via command Get-CSOnlineUser xxxx | FL.  For your reference https://docs.microsoft.com/en-us/powershell/module/skype/get-csonlineuser?view=skype-ps.  Generally you need to check the result with On-premisesHostingProvider, Option Flags, SipEnabled etc.   If so, after that please re-run the command  Grant-CsTeamsUpgradePolicy -PolicyName UpgradeToTeams -Identity xxxx@xxx.com (your synced user) to see if it make any difference, thanks.  For more details, please refer to https://docs.microsoft.com/en-us/powershell/module/skype/grant-csteamsupgradepolicy?view=skype-ps.

On another hand, if the issue persists, then I'd like to collect some more information for further troubleshooting

1. The screenshot of the result after you run the Grant teams policy command from Skype for Business online powershell

2. Get-CSOnlineUser xxx | FL  >> full result.

To protect your privacy, I will send you a Private Message (PM) to collect them, thanks.

Best Regards,

Oliver

 

-----------------------------
* Beware of scammers posting fake support numbers here.
* We are happy and always here to help you, and share the Microsoft 365 for business online information with you.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 11, 2025 Views 728 Applies to: