Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20019

The computer must be trusted for delegation - SAM Error

$
0
0

Hi everybody

I have a problem reguarding a SAM-Template:

 

My SAM-Template should monitor via VMWare-PowerCLI (Powershell) Script the space of ESXi-Server datastores.

To have the right value of the datastores, I have to log into the ESXi-Server with Read-Only credentials.

Because of security, I can't write the username and password as Text in the template.

 

VMWare-PowerCLI allows me to store the credentials in a cryptet format in a XML file with following command:

  New-VICredentialStoreItem -Host <ESXihostname> -User <username> -Password "<password>" -File <C:\path\filename.xml>

 

I can use the crypted stored credentials using this command:

   $credentials = Get-VICredentialStoreItem -Host <ESXihostname> -File <C:\path\filename.xml>

   $server= "<ipaddress>";

   $username = $credentials.User;

   $password = $credentials.Password;

 

So, I created the XML-File with an Admin-Account, and tried to access to it as Owner/Creator and Admin of the file with the script in Solarwinds SAM, but i became the following error:

   The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation.

 

Here the script:

solar.PNG

 

Here the Error-Message:

soalr.PNG

 

Anyone knows, why I became this error? (If i try to execute the script locally on the remote server, it works!)

I would be happy, if someone could help me solve this problem.

 

Bests

Mirko Lanfranchi


Viewing all articles
Browse latest Browse all 20019

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>