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 -
EveryoneActAsUsersapplmgmtSvcUsersReadOnlyUsersSolutionUsersSystemConfiguration.AdministratorsSystemConfiguration.BashShellAdministrators
Fix:
We would then to add "VSPHERE.LOCAL\" to the above groups that is missing the permissionsvmware-applmgmtservice-e1edefcf-####-####-####-####
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.
Use the following ldap command to add applmgmtservice to required groups:
/usr/lib/vmware-vmafd/bin/dir-cli group modify --name <group-name> --add vmware-applmgmtservice-e1edefcf-####-####-####-####
Example:
/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 , please re-attempt the scheduled backup and that should work.