Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

"Cannot delete or deactivate the last system administrator" error when disabling local System level users in vCloud Director for Service Providers (53007)

Last Updated: 8/14/2019Categories: TroubleshootingTotal Views: 2320Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Attempting the Disable Account action on a local user at the System level in vCloud Director fails with an error:

Cannot delete or deactivate the last system administrator

​User has a custom System level role other than the default System Administrator role.

LDAP and SAML users can be disabled and deleted without issue.

Cause

This issue occurs due to vCloud Director always expecting to have one local System Administrator present and enabled.
When the Disable Account action is performed against a user which uses another type of System role vCloud Director incorrectly assesses this against the current number of System Administrators causing the error.
System users added from LDAP or SAML identity sources are not affected by this behaviour.

Resolution

This issue is due to be resolved in a future release of vCloud Director for Service Providers.

Workaround

To workaround the issue create an additional local System Administrator such that there are two present and enabled:

1) Log into the vCloud Director UI as a System Administrator.
2) Navigate to System, Administration, System Administrators & Roles, Users.
3) Click the green plus icon to create a new local user. Fill in the details as desired and ensure that the default System Administrator role is chosen under the Role section. Click OK to then create this user.
4) After creating this user ensure that there are two System Administrator users of the Local type visible and enabled.
5) Retry the Disable Account action on the user which previously failed and it should now succeed.

An alternative workaround is to change the role of the user to be disabled from the configured to the default System Administrator role however this may cause the user to have more rights than desired if the user is subsequently re-enabled:

1) Log into the vCloud Director UI as a System Administrator.
2) Navigate to System, Administration, System Administrators & Roles, Users.
3) Open the properties of the user which you wish to disable.
4) Under the Role section select System Administrator from the drop down list and click OK to apply the change.
5) With the user now changed to the System Administrator role retry the Disable User action and it should now succeed as long as there is also another local System Administrator user present.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
在 Windows 2008 R2 操作系统上的 vCenter Server，其 FLEX 客户端名称显示为 cis.vsphere-client.serviceName (52644)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
将 vCenter Server 升级到 6.5 后连接到 PSC 客户端时报错：An error occurred while sending an authentication request to the PSC Single Sign-On server - null (52541)

KB
•
将 vCenter Server 6.0 迁移到 6.5 时出现错误：导出 vSphere ESX Agent Manager 时出现内部错误 (2147898)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Cloud Director for Service Provider

VMware Cloud Director

Related Versions:

VMware Cloud Director for Service Provider 9.x

VMware Cloud Director for Service Provider 9.0.x

Take Our Survey

Support Assistant