This issue occurs when vCenter Server cannot identify the session that is used by the API call.
Note:
NotAuthenticated exception means the vCenter Server cannot identify the session that is used to make the API call which requires non-anonymous privileges.
The session is not identified by vCenter Server if:
- It was never created.
- The user has logged in and then logged out.
- The session was created, but expired because it was inactive for a long time.