Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

vcsa 6.5 trying to automate the backup - authentication failure

$
0
0

Hello

 

I tried to make the Backup-VCSAToFile work in my development environment.

 

vSphere 6.5 – Automate VCSA Backup » Brian Graf's Virtualization Blog

 

I'm stuck here:

A server error occurred: 'com.vmware.vapi.std.errors.unauthorized': Unable to authorize user (Server error id:

'vapi.security.authorization.invalid'). Check $Error[0].Exception.ServerError for more details.

In Zeile:1 Zeichen:1

 

What did I do?

Windows 7 VM, installed VMware Powershell 6.5

Started ISE

 

loaded modules

Import-Module VMware.VimAutomation.Core

Import-Module VMware.VimAutomation.Vds

Import-Module VMware.VimAutomation.Cloud

Import-Module VMware.VimAutomation.PCloud

Import-Module VMware.VimAutomation.Cis.Core

Import-Module VMware.VimAutomation.Storage

Import-Module VMware.VimAutomation.HorizonView

Import-Module VMware.VimAutomation.HA

Import-Module VMware.VimAutomation.vROps

Import-Module VMware.VumAutomation

Import-Module VMware.DeployAutomation

Import-Module VMware.ImageBuilder

Import-Module VMware.VimAutomation.License

 

loaded the script itself as module (necessary?)

 

connected to vcsa with connect-viserver

 

Used given example in the script with my parameters.

 

Then I get a pop up

(Connection to CisServer)

 

I don't know what that is.

 

If I use my credentials for the vCenter connection - AD authentication, I get that error

 

Backup-VCSAToFile:Aservererroroccurred:'com.vmware.vapi.std.errors.unauthorized':Unabletoauthorizeuser (Servererrorid:

'vapi.security.authorization.invalid').Check$Error[0].Exception.ServerError formoredetails.

InZeile:1Zeichen:1

 

 

Any hints?


Viewing all articles
Browse latest Browse all 175326

Trending Articles



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