Citrix Cloud - Unable to delete the delivery group. Portal shows that users are still assigned. When we open Library it shows user assigned. When you open the library offering, no users are there as assigned.
Please follow the following steps to remove the delivery group:
Make sure that there are no machines in the delivery group. Remove if there are any.
Install PowerShell SDK on any machine in the same domain/vnet (preferably not a cloud connector) using the following: Install PowerShell SDK using the following:
https://www.citrix.com/blogs/2016/07/01/introducing-remote-powershell-sdk-v2-for-citrix-cloud/
http://download.apps.cloud.com/CitrixPoshSdk.exe
Use the following command on the remote PowerShell SDK to remove:
asnp Citrix*
Get-XDAuthentication
Get-brokerdesktopgroup -name "Name of DG under 'Name Field' " | remove-brokerdesktopgroup -force
The delivery group should be removed.
Error: "Cannot delete the Delivery groups because it has users assigned through Citrix Cloud. Please un-assign the Delivery Group in the Citrix Cloud Library from all subscribers before deleting"
No machines in this DG.
Going to the library: it shows 1 subscriber in that group, but if we click on "manage subscribers", it does not show any user.
They moved from POC to production and removed the Connectors that were associated with this delivery group, but the delivery group was not deleted.