![remove skype for business profile remove skype for business profile](https://honestprint.weebly.com/uploads/1/2/6/6/126607073/997524952.png)
The best way is to use Disable-CsUser to remove all Skype for Business related attributes on a user. If InterpretedUserType has the value of HybridOnpremSfBUser, then you need to clean up on-premises attributes if you are fully moving to Microsoft Teams and are decommissioning your on-premises deployment. Read this useful GitHub article that goes into this in more detail If for some reason the user is disabled it will show in this attribute as something with disabled such a s DirSyncDisabledSfBUser. If you have any attributes in local Active Directory it will be set to HybridOnpremSfBUser.
![remove skype for business profile remove skype for business profile](http://blog.schertz.name/wp-content/uploads/2015/08/image50.png)
REMOVE SKYPE FOR BUSINESS PROFILE CODE
The default DialPlan just adds a plus and country code to whatever you type in Teams and is rarely good enough. It decides the number you get as part of AudioConferencing and your DialPlan. UsageLocation, DialPlan, and TenantDialPlan – When using enterprise voice together with Microsoft Teams, UsageLocation is important.TeamsUpgradeEffectiveMode – Should be set to TeamsOnly, if not, try to change it again and look at the error message.Hope this helps you in your post-migration cleanup process Get-CsOnlineUser | Format-List UserPrincipalName, DisplayName, SipAddress, Enabled, TeamsUpgradeEffectiveMode, EnterpriseVoiceEnabled, HostedVoiceMail, City, UsageLocation, DialPlan, TenantDialPlan, OnlineVoiceRoutingPolicy, LineURI, OnPremLineURI, OnlineDialinConferencingPolicy, TeamsVideoInteropServicePolicy, TeamsCallingPolicy, HostingProvider, InterpretedUserType, VoicePolicy, CountryOrRegionDisplayName I found that this Skype for Business Online PowerShell oneliner gave me the overview I needed to see if there were configuration issues or wrong settings.
![remove skype for business profile remove skype for business profile](https://media.itpro.co.uk/image/upload/s--X-WVjvBW--/f_auto,t_content-image-full-desktop@1/v1570815096/itpro/2015/10/skype-logo_0.jpg)
REMOVE SKYPE FOR BUSINESS PROFILE FULL
If the migration also includes moving Enterprise Voice workloads and switching to a Direct Routing or Calling Plan setup, you may find it difficult to get a full overview of what state the user is in and if all settings are correct. When migrating from Skype for Business Server to Microsoft Teams you may find that users are not migrated with the correct features as intended.