Tutorial: Integrate Atlassian Cloud with Azure Active Directory
In this tutorial, you'll learn how to integrate Atlassian Cloud with Azure Active Directory (Azure AD). When you integrate Atlassian Cloud with Azure AD, you can:
- Control in Azure AD who has access to Atlassian Cloud.
- Enable your users to be automatically signed-in to Atlassian Cloud with their Azure AD accounts.
- Manage your accounts in one central location - the Azure portal.
To get started, you need the following items:
- An Azure AD subscription. If you don't have a subscription, you can get a free account.
- Atlassian Cloud single sign-on (SSO) enabled subscription.
- To enable Security Assertion Markup Language (SAML) single sign-on for Atlassian Cloud products, you need to set up Atlassian Access. Learn more about Atlassian Access.
This integration is also available to use from Azure AD US Government Cloud environment. You can find this application in the Azure AD US Government Cloud Application Gallery and configure it in the same way as you do from public cloud.
In this tutorial, you configure and test Azure AD SSO in a test environment.
- Atlassian Cloud supports SP and IDP initiated SSO.
- Atlassian Cloud supports Automatic user provisioning and deprovisioning.
Add Atlassian Cloud from the gallery
To configure the integration of Atlassian Cloud into Azure AD, you need to add Atlassian Cloud from the gallery to your list of managed SaaS apps.
- Sign in to the Azure portal using either a work or school account, or a personal Microsoft account.
- On the left navigation pane, select the Azure Active Directory service.
- Navigate to Enterprise Applications and then select All Applications.
- To add new application, select New application.
- In the Add from the gallery section, type Atlassian Cloud in the search box.
- Select Atlassian Cloud from results panel and then add the app. Wait a few seconds while the app is added to your tenant.
Alternatively, you can also use the Enterprise App Configuration Wizard. In this wizard, you can add an application to your tenant, add users/groups to the app, assign roles, as well as walk through the SSO configuration as well. Learn more about Microsoft 365 wizards.
Alternatively, you can also use the Enterprise App Configuration Wizard. In this wizard, you can add an application to your tenant, add users/groups to the app, assign roles, as well as walk through the SSO configuration as well. You can learn more about O365 wizards here.
Configure and test Azure AD SSO
Configure and test Azure AD SSO with Atlassian Cloud using a test user called B.Simon. For SSO to work, you need to establish a link relationship between an Azure AD user and the related user in Atlassian Cloud.
To configure and test Azure AD SSO with Atlassian Cloud, perform the following steps:
- Configure Azure AD with Atlassian Cloud SSO - to enable your users to use Azure AD based SAML SSO with Atlassian Cloud.
- Create Atlassian Cloud test user - to have a counterpart of B.Simon in Atlassian Cloud that is linked to the Azure AD representation of user.
- Test SSO - to verify whether the configuration works.
Configure Azure AD with Atlassian Cloud SSO
Follow these steps to enable Azure AD SSO in the Azure portal.
To automate the configuration within Atlassian Cloud, you need to install My Apps Secure Sign-in browser extension by clicking Install the extension.
After adding extension to the browser, click on Set up Atlassian Cloud will direct you to the Atlassian Cloud application. From there, provide the admin credentials to sign into Atlassian Cloud. The browser extension will automatically configure the application for you.
If you want to setup Atlassian Cloud manually, log in to your Atlassian Cloud company site as an administrator and perform the following steps.
Before you start go to your Atlassian product instance and copy/save the Instance URL.
URL should fit
Open the Atlassian Admin Portal and click on your organization name.
You need to verify your domain before going to configure single sign-on. For more information, see Atlassian domain verification document.
In the ATLASSIAN Admin portal, navigate to Security tab, select SAML single sign-on and click Add SAML configuration.
In the Azure portal, on the Atlassian Cloud application integration page, find the Manage section and select Set up single sign-on.
On the Select a Single sign-on method page, select SAML.
On the Set up Single Sign-On with SAML page, scroll down to Set Up Atlassian Cloud.
a. Click on Configuration URLs.
b. Copy Login URL value from Azure portal, paste it in the Identity Provider SSO URL textbox in Atlassian.
c. Copy Azure AD Identifier value from Azure portal, paste it in the Identity Provider Entity ID textbox in Atlassian.
On the Set up Single Sign-On with SAML page, in the SAML Signing Certificate section, find Certificate (Base64) and select Download to download the certificate and save it on your computer.
Add and Save the SAML Configuration in Atlassian.
On the Basic SAML Configuration section, perform the following steps.
a. Copy SP Entity ID value from Atlassian, paste it in the Identifier (Entity ID) box in Azure and set it as default.
b. Copy SP Assertion Consumer Service URL value from Atlassian, paste it in the Reply URL (Assertion Consumer Service URL) box in Azure and set it as default.
c. Copy your Instance URL value, which you copied at step 4 and paste it in the Relay State box in Azure.
Your Atlassian Cloud application expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token attributes configuration. You can edit the attribute mapping by clicking on Edit icon.
Attribute mapping for an Azure AD tenant with a Microsoft 365 license.
a. Click on the Unique User Identifier (Name ID) claim.
b. Atlassian Cloud expects the nameidentifier (Unique User Identifier) to be mapped to the user's email (user.email). Edit the Source attribute and change it to user.mail. Save the changes to the claim.
c. The final attribute mappings should look as follows.
Attribute mapping for an Azure AD tenant without a Microsoft 365 license.
a. Click on the
b. While Azure does not populate the user.mail attribute for users created in Azure AD tenants without Microsoft 365 licenses and stores the email for such users in userprincipalname attribute. Atlassian Cloud expects the nameidentifier (Unique User Identifier) to be mapped to the user's email (user.userprincipalname). Edit the Source attribute and change it to user.userprincipalname. Save the changes to the claim.
c. The final attribute mappings should look as follows.
To enforce SAML single sign-on in an authentication policy, perform the following steps.
a. From the Atlassian Admin Portal, select Security tab and click Authentication policies.
b. Select Edit for the policy you want to enforce.
c. In Settings, enable the Enforce single sign-on to their managed users for the successful SAML redirection.
d. Click Update.
The admins can test the SAML configuration by only enabling enforced SSO for a subset of users first on a separate authentication policy, and then enabling the policy for all users if there are no issues.
Create an Azure AD test user
In this section, you'll create a test user in the Azure portal called B.Simon.
- From the left pane in the Azure portal, select Azure Active Directory, select Users, and then select All users.
- Select New user at the top of the screen.
- In the User properties, follow these steps:
- In the Name field, enter
- In the User name field, enter the firstname.lastname@example.org. For example,
- Select the Show password check box, and then write down the value that's displayed in the Password box.
- Click Create.
- In the Name field, enter
Assign the Azure AD test user
In this section, you'll enable B.Simon to use Azure single sign-on by granting access to Atlassian Cloud.
- In the Azure portal, select Enterprise Applications, and then select All applications.
- In the applications list, select Atlassian Cloud.
- In the app's overview page, find the Manage section and select Users and groups.
- Select Add user, then select Users and groups in the Add Assignment dialog.
- In the Users and groups dialog, select B.Simon from the Users list, then click the Select button at the bottom of the screen.
- If you are expecting a role to be assigned to the users, you can select it from the Select a role dropdown. If no role has been set up for this app, you see "Default Access" role selected.
- In the Add Assignment dialog, click the Assign button.
Create Atlassian Cloud test user
To enable Azure AD users sign in to Atlassian Cloud, provision the user accounts manually in Atlassian Cloud by doing the following steps:
Go to Products tab, select Users and click Invite users.
In the Email address textbox, enter the user's email address, and then click Invite user.
In this section, you test your Azure AD single sign-on configuration with following options.
Click on Test this application in Azure portal. This will redirect to Atlassian Cloud Sign on URL where you can initiate the login flow.
Go to Atlassian Cloud Sign-on URL directly and initiate the login flow from there.
- Click on Test this application in Azure portal and you should be automatically signed in to the Atlassian Cloud for which you set up the SSO.
You can also use Microsoft My Apps to test the application in any mode. When you click the Atlassian Cloud tile in the My Apps, if configured in SP mode you would be redirected to the application sign on page for initiating the login flow and if configured in IDP mode, you should be automatically signed in to the Atlassian Cloud for which you set up the SSO. For more information about the My Apps, see Introduction to the My Apps.
Once you configure Atlassian Cloud you can enforce session control, which protects exfiltration and infiltration of your organization's sensitive data in real time. Session control extends from Conditional Access. Learn how to enforce session control with Microsoft Defender for Cloud Apps.