The Hardware Status tab fails to display in vSphere Client with the error: Not authorized to access this service
search cancel

The Hardware Status tab fails to display in vSphere Client with the error: Not authorized to access this service

book

Article ID: 305580

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • The Hardware Status tab fails to display in vSphere Client.
  • You see the error:

    Not authorized to access this service
  • If you try to access http://localhost/vws/Health directly on vCenter Server with an Internet browser, you see the error:

    HTTP Status 401 - Not authorized to access this service.
  • This issue occurs even though you have the Administrators role on Datacenter level.


Environment

VMware vCenter Server 4.0.x

Resolution

To display information on Hardware Status Tab, the Global.Health privilege must be assigned at the vCenter Server Root level.
If your account is assigned the Administrators role at levels other than the vCenter Server Root level, the same user account must be assigned with a role that has Global.Health permission at the vCenter Server Root level.
To add this permission:
  1. Launch vSphere Client and connect to the vCenter Server as the Administrator (or with an account that has local administrator account rights).
  2. Click Home, then click Roles (under Administration).
  3. Right-click on a blank area and choose Add.
  4. Provide a name for the new role.
  5. Expand the + in front of the Global privilege, then select Health.
  6. Click OK.
  7. Click Home, then click Hosts and clusters.
  8. Click the vCenter Server Root level, then click the Permissions tab.
  9. Right-click on an empty area in the right pane and choose Add Permission.
  10. Click Add, locate the user or group account from the Select Users and Groups box, then click OK.
  11. Click the Assigned Role dropdown and select the role you created earlier.
  12. Ensure that Propagate to Child Objects is selected and click OK.
  13. Close and reopen vSphere Client.


Additional Information

“硬件状态”选项卡无法在 vSphere Client 中显示并出现错误“未授权访问此服务”