For the complete documentation index, see llms.txt. This page is also available as Markdown.

Changing organization settings

SonarQube Cloud allows you to change your organization details and key, make your organization private, and change the token used to connect to your GitLab or Azure DevOps organization.

You must be an organization admin to perform the procedures described on this page.

Changing organization details

You can:

  • Change the organization name displayed on SonarQube Cloud UI.

  • Add or change the avatar. The avatar is a small image representing the organization and displayed on the UI near the organization’s name.

  • Add or change the organization description.

  • Add or change the URL of the homepage of the organization displayed on the UI.

Proceed as follows:

  1. Retrieve your organization. See Retrieving your organizations for more information.

  2. Go to Administration > Organization settings > General > Organization details.

  3. Edit the fields as needed.

  4. Select Save.

Changing the organization key

The organization key is set when you import the organization into SonarQube Cloud. At that point, you can choose your own key or accept the suggested key. In some cases, you may later wish to change this key (for example, if a new naming convention is adopted at your company, or if you initially chose a bad key by accident).

The organization key is used in CI-based analysis setups to link the analysis produced by the scanner in your local or cloud-based build environment with the correct organization in SonarQube Cloud. It appears as the value of the sonar.organization parameter in your analysis configuration.

To change the key of your organization:

  1. Retrieve your organization. See Retrieving your organizations for more information.

  2. Go to Administration > Organization settings > General > Edit organization key.

  3. In Key, enter your new key, and select Save.

  4. Make the same change to the sonar.organization setting of every project in the organization that is configured for CI-based analysis, or inform the respective project administrators.

Making an organization private

Use the Make organization private setting to require private projects in your organization. When the setting is enabled, only members can see its details, and every project in it must be private.

With this setting enabled, users cannot create or import a public project, or change an existing project to public. All new projects are automatically set to Private. To enable the setting, your organization must have the private-project entitlement and contain no public projects. All plans include this entitlement except the legacy OSS free plan, which allows public projects only.

If your organization belongs to an enterprise, your organization’s name remains visible to enterprise administrators. Other organization details and access to your organization’s projects remain restricted to organization members.

To make your organization private:

  1. Retrieve your organization. See Retrieving your organizations for more information.

  2. Go to Administration > Organization settings > General.

  3. Under Organization privacy, enable Make organization private.

Troubleshooting

If you cannot enable the setting:

  • Make all existing public projects private. Projects are not converted automatically.

  • Ensure that your plan includes the private-project entitlement. All plans include this entitlement except the legacy OSS free plan, which allows public projects only.

  • If your organization has lost its private-project entitlement, the setting remains in its current state but cannot be changed.

Changing the token used to connect to GitLab or Azure DevOps organization

To change the personal access token used to connect to your GitLab or Azure DevOps organization:

  1. Retrieve your organization. See Retrieving your organizations for more information.

  2. Go to Administration > Organization settings > Organization binding.

  3. In Current binding, select the Edit token button.

Last updated

Was this helpful?