backup.log[MainProcess:PID-50596] [Scheduler::ExecScheduleRun:Scheduler.py:137] ERROR: Failed to issue the Schedules.run request. Exception: {messages : [LocalizableMessage(id='vapi.security.authorization.invalid', default_message='Unable to authorize user', args=[], params=None, localized=None)], data : None, error_type : UNAUTHORIZED}
applmgmt.logDEBUG:vmware.appliance.extensions.authorization.authorization_sso:Required privileges = ['ModifyConfiguration']
DEBUG:vmware.appliance.extensions.authorization.authorization_sso:User=VSPHERE.LOCAL\vmware-applmgmtservice-e1edefcf-####-
####
-####
-####
, groups={'vsphere.local\\ActAsUsers', 'vsphere.local\\SolutionUsers', 'vsphere.local\\Everyone'}
The working setup logging would look like-DEBUG:vmware.appliance.extensions.authorization.authorization_sso:User=VSPHERE.LOCAL\
vmware-applmgmtservice-e1edefcf-####-
, groups={'vsphere.local\\ReadOnlyUsers', 'vsphere.local\\SystemConfiguration.Administrators', 'vsphere.local\\applmgmtSvcUsers', 'vsphere.local\\SolutionUsers', 'vsphere.local\\SystemConfiguration.BashShellAdministrators', 'vsphere.local\\ActAsUsers', 'vsphere.local\\Everyone'}####
-####
-####
Ensure that the vmware-applmgmtservice
has all the required group permissions assigned to it.
The required group permissions are -
Everyone
ActAsUsers
applmgmtSvcUsers
ReadOnlyUsers
SolutionUsers
SystemConfiguration.Administrators
SystemConfiguration.BashShellAdministrators
NOTE: Please ensure to keep vCenter snapshot for standalone vCenter and powered off snapshots for all nodes in SSO for any enhanced linked mode VC nodes.
We would then need to add "VSPHERE.LOCAL\
" to any of the above groups that is missing the permission using jxplorer.vmware-applmgmtservice-e1edefcf-####-
####
-####
-####
use below similar ldap command to add applmgmtservice to group, for instance
/usr/lib/vmware-vmafd/bin/dir-cli group modify --name SystemConfiguration.Administrators --add vmware-applmgmtservice-e1edefcf-####-####-####-####
Once the all the required group permissions are added using jxplorer, please re-attempt the scheduled backup and that should work.