Set up SCIM
If Single Sign-On (SSO) is used in your SonarQube Cloud enterprise for user authentication, you can set up SCIM to automate provisioning. SCIM provisioning is supported with any identity provider.
This feature requires the SonarQube Cloud Enterprise licence.
For more information about the provisioning feature, see Related pages.
To set up SCIM provisioning in your enterprise, you must be the administrator of the enterprise in SonarQube Cloud.
Step 1: Start the Provisioning setup assistant
Retrieve your enterprise. For more information, see Retrieving and viewing your enterprise.
Go to Administration > SSO & Provisioning. The SSO & Provisioning page opens.

Expand the Provisioning (SCIM) section and select Set up provisioning. The Configure Provisioning assistant opens.

Step 2: Set up SCIM provisioning in your identity provider
In this step, you will configure your identity provider’s application for SonarQube Cloud by copying values from SonarQube Cloud’s SCIM provisioning setup assistant. Follow the instructions in the assistant. For more information on some configurations, see below.
Step 3: Map your groups to organizations
Only groups that are both assigned to the SonarQube Cloud application in your identity provider and manually mapped to SonarQube Cloud organizations will be provisioned by SCIM. The following applies:
The same group can be mapped to several organizations.
You can update the group mapping anytime.
You can either:
Once completed, check your mapping by going to SonarQube Cloud > Your organization Access > Groups.
Mapping all groups to all organizations
You can map all groups to all organizations in one click. If necessary, you can then refine the mapping as explained below in Defining a custom mapping.
Proceed as follows:
Make sure the user groups are assigned to the SonarQube Cloud application in your identity provider. With Okta OIDC, assign them to the SCIM application, not the OIDC SSO application.
Retrieve your enterprise. For more information, see Retrieving and viewing your enterprise.
Go to Administration > SSO & Provisioning. The SSO & Provisioning page opens.

Expand the IdP group mapping section and select the Map groups button. The button is only available if you have set up SSO and provisioning properly. The Group mapping page opens.

In the top right corner, select the Map all button. A confirmation dialog opens.
Confirm. The mapping is started and may take several minutes. Don’t leave the page as long as the mapping is in progress. Once the mapping is complete, a Mapping complete dialog is displayed.
Close the dialog. All groups are mapped to all organizations.
Defining a custom mapping
Make sure the user groups are assigned to the SonarQube Cloud application in your identity provider. With Okta OIDC, assign them to the SCIM application, not the OIDC SSO application.
Retrieve your enterprise. For more information, see Retrieving and viewing your enterprise.
Go to Administration > SSO & Provisioning.
Expand the IdP group mapping section and select the Map groups button. The button is only available if you have set up SSO and provisioning properly. The Group mapping page opens.
In the SonarQube Organizations panel (a), select the organization you want to map.
In the Map IdP groups to <organization> table (b), select the groups you want to map to your organization. You can filter the groups by using the Search IdP groups field. Toggle the selection of all groups by clicking the checkbox next to Group in the table header.
Select Save changes (c). A confirmation dialog opens.

Confirm the mapping. The mapping is started and may take several minutes. Don’t leave the page as long as the mapping is in progress. Once the mapping is complete, a Mapping complete dialog is displayed.

Close the dialog and proceed the same way for each organization.
Checking your groups in SonarQube Cloud
After the mapping is complete, check that your groups were created in each organization:
In your organization, go to Access > Groups. The Groups page opens with the list of user groups for the organization.
Check that the groups you mapped are listed and labeled IdP managed.

Step 4: Define the permissions in SonarQube Cloud
Users and groups are now provisioned in SonarQube Cloud and you can set their permissions.
To manage the user and group permissions in your enterprise, see Managing the enterprise-related permissions.
To manage the user and group permissions in an organization, you can:
Define the users and/or groups that can create projects in the organization. See Managing organization permissions for more details.
Verify the default permissions on new projects. See Using permission templates for more details.
Next step
Go to Invite users to sign in.
Related pages
Last updated
Was this helpful?





























