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".
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.
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"