JetBrains Space Help

Azure AD Auth Module

Azure AD authentication module lets you integrate Space with Microsoft identity platform also known as Azure Active Directory (Azure AD).

When you confugure and enable the Azure AD authentication module in Space:

  • Space users will be able to log in to Space with their Microsoft credentials including:

    • work or school accounts (provisioned through Azure AD)

    • personal Microsoft accounts (such as Skype,

  • Space users will have fewer accounts and passwords to remember.

  • New users with Microsoft accounts will be able create their own accounts in Space.


You need to have an active Azure account and an Azure AD tenant set up.

Enable Azure AD authentication

To enable Azure AD authentication, configuration is required on both the Azure Portal and Space sides.

Get Redirect URI from Space

  1. On the main menu, click administration.png Administration and choose Auth Modules.

  2. Click New auth module. The New Auth Module dialog opens.

  3. From the Type drop-down list, select Azure AD.

  4. On the New Auth Module form, copy the Redirect URI which is shown under the Client ID field.

Register your Space organization with your Azure AD tenant

  1. In a new browser tab or window, sign in to Azure Portal.

  2. Register (set up) a new application. To register it, follow the Azure instructions and the notes below:

    • Name - enter a meaningfull name associated with your Space organization.

    • Redirect URI - select Web then enter the Redirect URI you copied from the New Auth Module form in Space.

Provide Azure-generated parameters to Space

  1. In Azure Portal, open your newly registered application:

  2. Copy the following values:

    • Application (client) ID

    • Directory (tenant) ID

    and paste them into the corresponding fields (Client ID and Tenant ID of the Azure AD auth module form in Space.

  3. In Azure portal, generate a Client secret. Go to the Certificates & secrets section of your applicaton and press New client secret:

  4. Copy the Client secret value and paste it into the corresponding field of the Azure AD auth module form in Space.

Choose the authentication options and enable the Azure AD auth module

  1. On the New Auth Module form in Space, choose the following options:

    User registration

    On — Accounts in the Space organization will be created automatically for unregistered users who log in using Active Directory authentication module.

    Off — Active Directory logins will be only available to users who already have an account in the Space organization.

    Trust email verification

    If checked, Space will accept all user email addresses from by Azure AD as verified.

  2. Switch the Azure AD auth module status to Active.

  3. Click Create to save your settings and enable the module.

Last modified: 10 February 2023