Any user configured to schedule jobs on a VM fail with ERROR: "VSPHERE.LOCAL\Administrator Not Authenticated for the task operation"
vSphere 8.x
tokenservice.log
YYYY-MM-DDTHH:MM:SS.Z ERROR tokenservice[56:tomcat-http--19] [CorId=xxxx OpId=] [com.vmware.vcenter.tokenservice.vapi.TokenProviderImpl] Exchange failed due to invalid grant:com.vmware.vcenter.tokenservice.exceptions.InvalidGrant: JWT token failed signature verification. Token:{"sub":"[email protected]","aud":"vmware-tes:vc:persistabletoken","act":{"sub":"[email protected]"},"scope":"offline_access","iss":"https:\/\/VC_IP\/openidconnect\/vsphere.local","iat":xxx,"jti":"xxx"}
vpxd.log
YYYY-MM-DDTHH:MM:SS.Z error vpxd[xxxxx] [Originator@1234 sub=MoScheduledTask opID=ProcessScheduledTaskFiring-12345] [AcquireToken] Failed to get token. Error:--> Error:--> com.vmware.oauth2.errors.invalid_grant--> No messages!-->YYYY-MM-DDTHH:MM:SS.Z error vpxd[123456] [Originator@1234 sub=MoScheduledTask opID=ProcessScheduledTaskFiring-12345] BadVapiConfiguration / NotAuthenticated Exception while running the task: Error:--> com.vmware.oauth2.errors.invalid_grant--> No messages!-->
YYYY-MM-DDTHH:MM:SS.Z warning vpxd[123456] [Originator@1234 sub=ComputePolicyClient opID=WorkQueue-123456] Error:--> system_error--> Messages:--> vapi.invalid.result.code<Recv of frame failed with code: 503 Service Unavailable>-->YYYY-MM-DDTHH:MM:SS.Z warning vpxd[123456] [Originator@1234 sub=ComputePolicyClient opID=WorkQueue-123456] Error:--> system_error--> Messages:--> vapi.invalid.result.code<Recv of frame failed with code: 503 Service Unavailable>
-->
Known Issue:
Has been resolved in 8.0 U3