PVS | Error Id: XDDS:A6D8C1E7 - Unable to add Target Device to Catalog

PVS | Error Id: XDDS:A6D8C1E7 - Unable to add Target Device to Catalog

book

Article ID: CTX586320

calendar_today

Updated On:

Description

Attempting to add Target Devices will return the following error:
"The virtual machine *** with Mac Address ***** in the selected Device Collection could not be found in any available connection".

  • In View Details the following information is present:
 

Error Id: XDDS:A6D8C1E7

Exception:

DesktopStudio_ErrorId : UnknownError
ErrorCategory : NotSpecified
DesktopStudio_PowerShellHistory : AddPvsMachinesScript

Clear-PvsConnection

Set-PvsConnection2 -port 54321 -server "***" -zone "Primary"
Get-PvsVersion
Get-SimplePvsCollection -collectionId @("")
Get-SimplePvsDevice -collectionId @("")
Get-HypVMMacAddress -AdminAddress "*****" -BearerToken ******** -LiteralPath "XDHyp:\Connections\Nutanix AHV"
Get-HypVMMacAddress : An exception occurred. The associated message was Request Url = 
Request Body = ,
Request status : ProtocolError,
Http Status :401,

Response : <!doctype html><html lang="en"><head><title>HTTP Status 401 - Unauthorized</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 401 - Unauthorized</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Bad credentials</p><p><b>Description</b> The request has not been applied because it lacks valid authentication credentials for the target resource.</p><hr class="line" /></body></html>,

Exception :System.Net.WebException: The remote server returned an error: (401) Unauthorized.
 

 

  • This error will also be present as a Broker service event in the DDC Event Logs
  • Running a test of the Host Connection will also return due to invalid credentials

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

  1. Attempt to re-enter or reset the credentials used by the Host Connection to communicate with the Nutanix Hypervisor 
  2. Review that the appropriate permissions are in place for the Nutanix Plugin per the following document: 

Problem Cause

Calls to the Nutanix hypervisor are getting rejected due to invalid credentials used by the host connection or lack of appropriate permissions for the Nutanix Plugin as evidenced by the following:

HTTP Status 401 - Unauthorized
The request has not been applied because it lacks valid authentication credentials for the target resource.

Exception :System.Net.WebException: The remote server returned an error: (401) Unauthorized"