Tutorial: Azure Active Directory integration with JIRA SAML SSO by Microsoft (V5.2)
In this tutorial, you'll learn how to integrate JIRA SAML SSO by Microsoft (V5.2) with Azure Active Directory (Azure AD). When you integrate JIRA SAML SSO by Microsoft (V5.2) with Azure AD, you can:
- Control in Azure AD who has access to JIRA SAML SSO by Microsoft (V5.2).
- Enable your users to be automatically signed-in to JIRA SAML SSO by Microsoft (V5.2) with their Azure AD accounts.
- Manage your accounts in one central location - the Azure portal.
Use your Microsoft Azure Active Directory account with Atlassian JIRA server to enable single sign-on. This way all your organization users can use the Azure AD credentials to sign in into the JIRA application. This plugin uses SAML 2.0 for federation.
To configure Azure AD integration with JIRA SAML SSO by Microsoft (V5.2), you need the following items:
- An Azure AD subscription
- JIRA Core and Software 5.2 should installed and configured on Windows 64-bit version
- JIRA server is HTTPS enabled
- Note the supported versions for JIRA Plugin are mentioned in below section.
- JIRA server is reachable on internet particularly to Azure AD Login page for authentication and should able to receive the token from Azure AD
- Admin credentials are set up in JIRA
- WebSudo is disabled in JIRA
- Test user created in the JIRA server application
To test the steps in this tutorial, we do not recommend using a production environment of JIRA. Test the integration first in development or staging environment of the application and then use the production environment.
To test the steps in this tutorial, you should follow these recommendations:
- Do not use your production environment, unless it is necessary.
- If you don't have an Azure AD trial environment, you can get a one-month trial here: Trial offer.
Supported versions of JIRA
- JIRA Core and Software: 5.2
- JIRA also supports 6.0 to 7.12. For more details, click JIRA SAML SSO by Microsoft
Please note that our JIRA Plugin also works on Ubuntu Version 16.04.
In this tutorial, you configure and test Azure AD single sign-on in a test environment.
- JIRA SAML SSO by Microsoft (V5.2) supports SP initiated SSO
Adding JIRA SAML SSO by Microsoft (V5.2) from the gallery
To configure the integration of JIRA SAML SSO by Microsoft (V5.2) into Azure AD, you need to add JIRA SAML SSO by Microsoft (V5.2) 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 JIRA SAML SSO by Microsoft (V5.2) in the search box.
- Select JIRA SAML SSO by Microsoft (V5.2) from results panel and then add the app. Wait a few seconds while the app is added to your tenant.
Configure and test Azure AD SSO for JIRA SAML SSO by Microsoft (V5.2)
In this section, you configure and test Azure AD single sign-on with JIRA SAML SSO by Microsoft (V5.2) based on a test user named Britta Simon. For single sign-on to work, you must establish a linked relationship between an Azure AD user and the related user in JIRA SAML SSO by Microsoft (V5.2).
To configure and test Azure AD single sign-on with JIRA SAML SSO by Microsoft (V5.2), perform the following steps:
- Configure Azure AD SSO - to enable your users to use this feature.
- Configure JIRA SAML SSO by Microsoft (V5.2) SSO - to configure the Single Sign-On settings on application side.
- Create JIRA SAML SSO by Microsoft (V5.2) test user - to have a counterpart of Britta Simon in JIRA SAML SSO by Microsoft (V5.2) that is linked to the Azure AD representation of user.
- Test SSO - to verify whether the configuration works.
Configure Azure AD SSO
In the Azure portal, on the JIRA SAML SSO by Microsoft (V5.2) application integration page, find the Manage section and select Single sign-on.
On the Select a Single sign-on method page, select SAML.
On the Set up Single Sign-On with SAML page, click the pencil icon for Basic SAML Configuration to edit the settings.
On the Basic SAML Configuration section, perform the following steps:
a. In the Sign-on URL text box, type a URL using the following pattern:
b. In the Identifier box, type a URL using the following pattern:
c. In the Reply URL text box, type a URL using the following pattern:
These values are not real. Update these values with the actual Identifier, Reply URL, and Sign-On URL. Port is optional in case it’s a named URL. These values are received during the configuration of Jira plugin, which is explained later in the tutorial.
On the Set up Single Sign-On with SAML page, In the SAML Signing Certificate section, click copy button to copy App Federation Metadata Url and save it on your computer.
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 JIRA SAML SSO by Microsoft (V5.2).
- In the Azure portal, select Enterprise Applications, and then select All applications.
- In the applications list, select JIRA SAML SSO by Microsoft (V5.2).
- 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.
Configure JIRA SAML SSO by Microsoft (V5.2) SSO
In a different web browser window, sign in to your JIRA instance as an administrator.
Hover on cog and click the Add-ons.
Under Add-ons tab section, click Manage add-ons.
Once the plugin is installed, it appears in User Installed add-ons section. Click Configure to configure the new plugin.
Perform following steps on configuration page:
Ensure that there is only one certificate mapped against the app so that there is no error in resolving the metadata. If there are multiple certificates, upon resolving the metadata, admin gets an error.
a. In Metadata URL textbox, paste App Federation Metadata Url value which you have copied from the Azure portal and click the Resolve button. It reads the IdP metadata URL and populates all the fields information.
b. Copy the Identifier, Reply URL and Sign on URL values and paste them in Identifier, Reply URL and Sign on URL textboxes respectively in Basic SAML Configuration section on Azure portal.
c. In Login Button Name type the name of button your organization wants the users to see on login screen.
d. In SAML User ID Locations select either User ID is in the NameIdentifier element of the Subject statement or User ID is in an Attribute element. This ID has to be the JIRA user ID. If the user ID is not matched, then system will not allow users to sign in.
Default SAML User ID location is Name Identifier. You can change this to an attribute option and enter the appropriate attribute name.
e. If you select User ID is in an Attribute element option, then in Attribute name textbox type the name of the attribute where User ID is expected.
f. If you are using the federated domain (like ADFS etc.) with Azure AD, then click on the Enable Home Realm Discovery option and configure the Domain Name.
g. In Domain Name type the domain name here in case of the ADFS-based login.
h. Check Enable Single Sign out if you wish to sign out from Azure AD when a user signs out from JIRA.
i. Click Save button to save the settings.
Create JIRA SAML SSO by Microsoft (V5.2) test user
To enable Azure AD users to sign in to JIRA on-premises server, they must be provisioned into JIRA on-premises server.
To provision a user account, perform the following steps:
Sign in to your JIRA on-premises server as an administrator.
Hover on cog and click the User management.
You are redirected to Administrator Access page to enter Password and click Confirm button.
Under User management tab section, click create user.
On the “Create new user” dialog page, perform the following steps:
a. In the Email address textbox, type the email address of user like Brittasimon@contoso.com.
b. In the Full Name textbox, type full name of the user like Britta Simon.
c. In the Username textbox, type the email of user like Brittasimon@contoso.com.
d. In the Password textbox, type the password of user.
e. Click Create 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 JIRA SAML SSO by Microsoft (V5.2) Sign-on URL where you can initiate the login flow.
Go to JIRA SAML SSO by Microsoft (V5.2) Sign-on URL directly and initiate the login flow from there.
You can use Microsoft My Apps. When you click the JIRA SAML SSO by Microsoft (V5.2) tile in the My Apps, this will redirect to JIRA SAML SSO by Microsoft (V5.2) Sign-on URL. For more information about the My Apps, see Introduction to the My Apps.
Once you configure JIRA SAML SSO by Microsoft (V5.2) 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 Cloud App Security.