Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts

Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts

Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts

Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts

Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts

Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts

Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts

Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts

Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts

Citrix Cloud – Unable to delete hosting connection, Error Connection “Connection name” cannot be deleted because it is being used by the following Objects and/or background actions.

1. Download and install Citrix Remote PowerShell SDK

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/sdk-api.html

Note: It recommend not to install Remote PowerShell SDK with any other Citrix Components installed.

2. Add the Citrix snap-ins:

asnp Citrix*

3. Authenticate to Citrix Cloud.

Note: If you have multiple Customers associated to your account you will get a drop down to select the correct one that you are targeting.

Get-XdAuthentication

4. Get the PS Path of the hosting connection and resource(s)

ls XDHyp:Connections
ls XDHyp:HostingUnits

Example hosting connection path: “DHyp:ConnectionsHosting Connection Name”

Example Resource path: “XDHyp:HostingUnitsResource Name”

5. Remove the Resource(s) Path:

Remove-Item -Path "XDHyp:HostingUnitsResource Name"

6. Remove Hosting Connection Path:

Remove-Item -Path "XDHyp:ConnectionsHosting Connection Name"

7. Removing Hosting connection Entry:

Remove-BrokerHypervisorConnection -Name "Hosting Connection Name"

Related:

  • No Related Posts