Tutorial: Azure Active Directory integration with Box
In this tutorial, you learn how to integrate Box with Azure Active Directory (Azure AD).
Integrating Box with Azure AD provides you with the following benefits:
- You can control in Azure AD who has access to Box.
- You can enable your users to automatically get signed-on to Box (Single Sign-On) with their Azure AD accounts.
- You can manage your accounts in one central location - the Azure portal.
If you want to know more details about SaaS app integration with Azure AD, see what is application access and single sign-on with Azure Active Directory.
To configure Azure AD integration with Box, you need the following items:
- An Azure AD subscription
- A Box single sign-on enabled subscription
To test the steps in this tutorial, we do not recommend using a 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.
In this tutorial, you test Azure AD single sign-on in a test environment. The scenario outlined in this tutorial consists of two main building blocks:
- Adding Box from the gallery
- Configuring and testing Azure AD single sign-on
Adding Box from the gallery
To configure the integration of Box into Azure AD, you need to add Box from the gallery to your list of managed SaaS apps.
To add Box from the gallery, perform the following steps:
In the Azure portal, on the left navigation panel, click Azure Active Directory icon.
Navigate to Enterprise applications. Then go to All applications.
To add new application, click New application button on the top of dialog.
In the search box, type Box, select Box from result panel then click Add button to add the application.
Configure and test Azure AD single sign-on
In this section, you configure and test Azure AD single sign-on with Box based on a test user called "Britta Simon".
For single sign-on to work, Azure AD needs to know what the counterpart user in Box is to a user in Azure AD. In other words, a link relationship between an Azure AD user and the related user in Box needs to be established.
To configure and test Azure AD single sign-on with Box, you need to complete the following building blocks:
- Configure Azure AD Single Sign-On - to enable your users to use this feature.
- Create an Azure AD test user - to test Azure AD single sign-on with Britta Simon.
- Create a Box test user - to have a counterpart of Britta Simon in Box that is linked to the Azure AD representation of user.
- Assign the Azure AD test user - to enable Britta Simon to use Azure AD single sign-on.
- Test single sign-on - to verify whether the configuration works.
Configure Azure AD single sign-on
In this section, you enable Azure AD single sign-on in the Azure portal and configure single sign-on in your Box application.
To configure Azure AD single sign-on with Box, perform the following steps:
In the Azure portal, on the Box application integration page, select Single sign-on.
On the Select a Single sign-on method dialog, Click Select for SAML mode to enable single sign-on.
On the Set up Single Sign-On with SAML page, click Edit button to open Basic SAML Configuration dialog.
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 textbox, type a URL:
The Sign-on URL value is not real. Update the value with the actual Sign-On URL. Contact Box support team to get the value.
On the Set up Single Sign-On with SAML page, in the SAML Signing Certificate section, click Download to download the Federation Metadata XML and save it on your computer.
To configure SSO for your application, follow the procedure in Set up SSO on your own.
If you are unable to configure the SSO settings for your Box account, you need to send the downloaded Federation Metadata XML to Box support team. They set this setting to have the SAML SSO connection set properly on both sides.
Create an Azure AD test user
The objective of this section is to create a test user in the Azure portal called Britta Simon.
In the Azure portal, in the left pane, select Azure Active Directory, select Users, and then select All users.
Select New user at the top of the screen.
In the User properties, perform the following steps.
a. In the Name field enter BrittaSimon.
b. In the User name field type firstname.lastname@example.org
For example, BrittaSimon@contoso.com
c. Select Properties, select the Show password check box, and then write down the value that's displayed in the Password box.
d. Select Create.
Create a Box test user
The objective of this section is to create a user called Britta Simon in Box. Box supports just-in-time provisioning, which is by default enabled. There is no action item for you in this section. A new user is created during an attempt to access Box if it doesn't exist yet.
If you need to create a user manually, contact Box support team.
Assign the Azure AD test user
In this section, you enable Britta Simon to use Azure single sign-on by granting access to Box.
In the Azure portal, select Enterprise Applications, select All applications.
In the applications list, select Box.
In the menu on the left, select Users and groups.
Select the Add button, then select Users and groups in the Add Assignment dialog.
In the Users and groups dialog select Britta Simon in the Users list, then click the Select button at the bottom of the screen.
In the Add Assignment dialog select the Assign button.
Test single sign-on
In this section, you test your Azure AD single sign-on configuration using the Access Panel.
When you select the Box tile in the Access Panel, you get the sign-in page for signing in to your Box application.