Single Sign-On with Microsoft
Step 1: Open the Single Sign-On Settings
- In the CloudQuery Platform sidebar, click on your user profile, then select Organization settings.
- Under Organization, in the Users & access group, click Single sign-on.
- The values that CloudQuery gives to your identity provider use the domain you host CloudQuery Platform on, such as
https://cloudquery.example.com.
- The values that CloudQuery gives to your identity provider use the domain you host CloudQuery Platform on, such as
The CloudQuery Platform single sign-on settings page
Step 2: Register an Application in Microsoft Entra ID
- In a new tab, navigate to Microsoft Entra ID (Azure AD).
- Click Enterprise Applications → New Application.
- Click Create your own application.
- Enter a name for the application, such as CloudQuery, and select Integrate any other application you don’t find in the gallery (Non-gallery).
- Click Create.
Creating a new enterprise application
Step 3: Configure SAML-based SSO
- Inside the newly created application, navigate to Single sign-on under Manage section.
- Select SAML as the sign-in method.
Setup of SAML protocol
- Click Edit under Basic SAML Configuration.
- Copy both values from Map information in Identity Provider on the CloudQuery single sign-on settings page:
- Identifier (Entity ID): the Audience URI (SP Entity ID) value.
- Reply URL (ACS URL): the Single sign-on URL value.
- Click Save.
SAML configuration with values from the CloudQuery single sign-on settings page
Step 4: Download & Upload Metadata
- Scroll down to the SAML Certificates section.
- Click Download next to Federation Metadata XML.
- This will download a file named
MicrosoftIDPMetadata.xml.
- This will download a file named
Download of Federation Metadata XML file
On the CloudQuery single sign-on settings page, under Map information from Identity Provider, keep Metadata file selected and click Upload metadata file. Upload the MicrosoftIDPMetadata.xml file as shown in the figure below:
Uploading federation metadata XML file
Step 5: Configure User Attributes & Claims
- Click Edit in the Attributes & Claims section.
- Add the following mappings:
- Given name →
first_name - Surname →
last_name - Email address →
email
- Given name →
- Click Save.
Configuration of attributes
Step 6: Assign Users and Groups
- In the Users and groups section, click Add user/group.
- Select the users or groups that should have access to CloudQuery.
- (Optional) To map groups to specific CloudQuery Platform roles, create Microsoft Entra ID Groups for each role level and assign users accordingly.
- In the CloudQuery single sign-on settings, under Role mapping, set the Group attribute field and configure role mappings. See Map Groups to User Roles for full configuration.
Step 7: Enable User Access
- Navigate to Enterprise Applications → CloudQuery.
- Click Properties.
- Set Enabled for users to sign in? to Yes.
- Click Save.
Enablement of sign-in
Step 8: Save and Test
- On the CloudQuery single sign-on settings page, turn on Enable single sign-on in the Single sign-on status card at the top of the page.
- The switch is part of the form, so nothing is stored until you submit it. The button at the bottom of the page now reads Save and enable. Click it to save the configuration and turn single sign-on on.
- In the Microsoft Entra ID portal, click Test SAML login.
- If everything is configured correctly, you can log into CloudQuery Platform with your Microsoft account.
Next Steps
- Map Groups to Roles - Map Entra ID groups to platform roles
- Certificate Rollover - Manage certificate updates
- User Management - Manage users and roles
Was this page helpful?
Last updated on