Cannot create, edit, or remove schedule tasks for a VM in vCenter
book
Article ID: 438132
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
A specific vSphere user is unable to manage scheduled tasks for a particular Virtual Machine (VM), while administrative accounts function as expected.
When the affected user attempts to create, edit, or remove a scheduled task, the following error occurs:
"Operations Failed! Permission to perform this operation was denied. You do not hold privileges 'virtual machine vm-######: [ Scheduled task > Create tasks]'"
It is also noticed:
Only one specific VM is affected.
The vSphere user has been granted Administrator permissions.
The local Administrator account does not encounter this error.
Environment
VMware vSphere 8.x
Resolution
To resolve this issue, recreate the user account and reassign permissions to ensure they propagate correctly within the database:
Log in to the vSphere Client with an account possessing administrative privileges.
Navigate to Administration > Single Sign-On > Users and Groups.
Under the Users tab, set the Domain to vsphere.local.
Click Add to create a new user account.
Once the new user is created, navigate to Access Control > Global Permissions.
Click Add to associate the new user.
Assign the Administrator role to the new user and ensure the permissions are applied.