• Home
  • VMware
  • VMware A General System Error Occured.Authorize Exception – Logging Into VIClient

VMware A General System Error Occured.Authorize Exception – Logging Into VIClient

When you log into VMware virtual center you are greeted with the following error. Ive seen this error occur after upgrading virtual center to a later version.

A General System Error Occurred.Authorize Exception.
A General System Error Occurred.Authorize Exception

 

Now if you are worried that vcenter is down , dont IT IS NOT. Remember vmware does not care at all about active directory, so first things first, log in with “localhost” and the local administrator user name and password. You will now see that its up and running and HS and DRS are fine.OK that confirmed we can continue.

Log into the Vsphere web client whick will be here, we will configure single sign on.

https://localhost:9443/vsphere-client

Then select sign on and Discovery, then configure. Click the plus sign and set the credentials as required , mine is below with personal details blacked out.

Once done click test to confirm.

What we need to do is add the domain accounts back into permissions.  Log in locally to vcenter again and add the domain account as an admin. Do this by selecting the data center and then permissions and then right click and select add as seen below.

add permissions to vsphere

Now when you add the domain credentials you may see the error below.If not add as normal.

“Call “UserDirectory.RetrieveUserGroups” for object “UserDirectory” on vCenter Server “<servername>” failed”

If you do get that error it is becasue during the upgrade the VMware VirtualCenter Server service and the Vmware VirtualCenter Management Webservices have been set to local system, login.
vmware services

Change these to your domain user credentials. Now log back into vcenter and again go to permissions and add the domain user to the permissions section.

Allen White

Allen is a Consultant for ITPS in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure.

Comments (4)

  • Avatar

    Dean Cooper

    |

    Thank you! Solved my problem. I wish I had found this post first.

    Reply

  • Avatar

    Gordon

    |

    Where does VMware recommend changing vCenter services to run under a domain admins account?
    Seems odd as best practice is to never run services with a highly privileged account, let alone a domain admin…

    Reply

    • Avatar

      Allen White

      |

      They don’t? But this VCP has done in his test lab. In most situations it depends on whether you use Windows or SQL authentication. Each to there own. Did I help you fix your problem??

      Reply

  • Avatar

    NetRock

    |

    Hi,

    Thanx for info. I have an environment which vCenter 5.1 is newly installed. I got the same error when I try to login into vCenter Server with domain account and also can’t add any domain user in the permission tab of vCenter.

    I recreated the Identity Source and add Domain user with local admin privilege on vCenter. But no luck with the error!!!!

    Reply

Leave a comment

Categories

Vote!

What Web Browser Do You Use?

View Results

Loading ... Loading ...

Vote!

What do you prefer..VMware or Hyper-V?

View Results

Loading ... Loading ...