
Get-CsUnassignedNumber | Remove-CsUnassignedNumber -Force Get-CsVoiceRoute | Remove-CsVoiceRoute -Force Get-CsCallParkOrbit | Remove-CsCallParkOrbit -Force Get-CsPersistentChatEndpoint | Remove-CsPersistentChatEndpoint Get-CsTrustedApplication | Remove-CsTrustedApplication -Force Get-CsTrustedApplicationEndpoint | Remove-CsTrustedApplicationEndpoint Get-CsDialInConferencingAccessNumber | Remove-CsDialInConferencingAccessNumber

Get-CsAnalogDevice | Remove-CsAnalogDevice

Get-CsCommonAreaPhone | Remove-CsCommonAreaPhone Then if objects can be removed, run the following Skype for Business Server PowerShell cmdlets: Get-CsMeetingRoom | Disable-CsMeetingRoom Review the output lists from the cmdlets in Step 1. To check if there are any contacts or applications associated with the Skype for Business Server on-premises deployment, run the following Skype for Business Server PowerShell cmdlets.

If you have Skype for Business Server 2019, the corresponding cmdlets in the steps below should be omitted. Note that ExUmContacts and PersistantChatEndPoints are not available in Skype for Business Server 2019. Use the steps below to clean these objects, and make sure you are a member of both the Local Administrator group and the RTCUniversalServerAdmins group. Prepare to remove the Skype for Business deploymentĪfter you move all required user accounts to the cloud, there may still be some remaining on-premises objects such as contacts and applications that you will need clean up. You will also need to be a member of the RTCUniversalServerAdmins group. You will need these privileges to undo the Skype for Business Server schema and forest-level changes to Active Directory Domain Services. To complete the steps in this article, you need privileges for both the Schema Admins group and the Enterprise Admin group. If you are using Method 1, do not use the steps described in this article to remove your Skype for Business servers. The steps in this article apply only if you are using Method 2 for managing user attributes, as described here.
