Tutorial: Azure Active Directory single sign-on (SSO) integration with DocuSign
In this tutorial, you'll learn how to integrate DocuSign with Microsoft Azure Active Directory (Azure AD). When you integrate DocuSign with Azure AD, you can:
- Use Azure AD to control who has access to DocuSign.
- Enable automatic sign-in to DocuSign for your users through their Azure AD accounts.
- Manage your accounts in one central location: the Azure portal.
To learn more about software as a service (SaaS) app integration with Azure AD, see Single sign-on to applications in Azure AD.
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.
- A DocuSign subscription that's single sign-on (SSO) enabled.
In this tutorial, you'll configure and test Azure AD SSO in a test environment to verify that:
DocuSign supports service provider (SP)-initiated SSO.
DocuSign supports just-in-time user provisioning.
DocuSign supports automatic user provisioning.
Once you configure DocuSign you can enforce Session control, which protect exfiltration and infiltration of your organization’s sensitive data in real-time. Session control extend from Conditional Access. Learn how to enforce session control with Microsoft Cloud App Security
Adding DocuSign from the gallery
To configure the integration of DocuSign into Azure AD, you must add DocuSign from the gallery to your list of managed SaaS apps:
- Sign in to the Azure portal by using a work or school account, or by using a personal Microsoft account.
- In the navigation pane on the left, select the Azure Active Directory service.
- Go to Enterprise Applications and then select All Applications.
- To add a new application, select New application.
- In the Add from the gallery section, type DocuSign in the search box.
- Select DocuSign from the results panel and then add the app. Wait a few seconds while the app is added to your tenant.
Configure and test Azure AD single sign-on for DocuSign
Configure and test Azure AD SSO with DocuSign by using a test user named B.Simon. For SSO to work, you must establish a link relationship between an Azure AD user and the corresponding user in DocuSign.
To configure and test Azure AD SSO with DocuSign, complete the following building blocks:
- Configure Azure AD SSO so that your users can use this feature.
- Configure DocuSign SSO to configure the single sign-on settings on the application side.
- Create a DocuSign test user to generate a counterpart of B.Simon in DocuSign that's linked to the Azure AD representation of the user.
- Test SSO to verify that the configuration works.
Configure Azure AD SSO
To enable Azure AD SSO in the Azure portal, follow these steps:
In the Azure portal, on the DocuSign application integration page, find the Manage section, and then 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, select the pen icon for Basic SAML Configuration to edit the settings.
In the Basic SAML Configuration section, follow these steps:
a. In the Sign on URL box, enter a URL using the following pattern:
b. In the Identifier (Entity ID) box, enter a URL using the following pattern:
These bracketed values are placeholders. Replace them with the values in the actual sign-on URL and Identifier. These details are explained in the "View SAML 2.0 Endpoints" section later in this tutorial.
On the Set up single sign-on with SAML page, in the SAML Signing Certificate section, find Certificate (Base64). Select Download to download the certificate and save it on your computer.
In the Set up DocuSign section, copy the appropriate URL (or URLs) based on your requirements.
Create an Azure AD test user
In this section, you'll create a test user named B.Simon in the Azure portal.
- In the left pane of the Azure portal, select Azure Active Directory, select Users, and then select All users.
- At the top of the screen, select New user.
- In the User properties, follow these steps:
- In the Name field, enter B.Simon.
- In the User name field, enter
<username>@<companydomain>.<extension>. For example:
- Select the Show password check box, and then make note of the value that's displayed in the Password box.
- Select Create.
Assign the Azure AD test user
In this section, you'll grant B.Simon access to DocuSign so that this user can use Azure single sign-on.
In the Azure portal, select Enterprise Applications, and then select All applications.
In the applications list, select DocuSign.
On the app's overview page, find the Manage section and select Users and groups.
Select Add user, and then in the Add Assignment dialog box, select Users and groups.
In the Users and groups dialog box, select B.Simon from the Users list, and then press the Select button at the bottom of the screen.
If you're expecting any role value in the SAML assertion, in the Select Role dialog, select the appropriate role for the user from the list and then press the Select button at the bottom of the screen.
In the Add Assignment dialog box, select the Assign button.
Configure DocuSign SSO
To automate the configuration in DocuSign, you must install the My Apps Secure Sign-in browser extension by selecting Install the extension.
After you add the extension to the browser, select Setup DocuSign. You're directed to the DocuSign application. From there, provide the admin credentials to sign in to DocuSign. The browser extension automatically configures the application and automates steps 3 through 5.
If you want to set up DocuSign manually, open a new web browser window and sign in to your DocuSign company site as an administrator.
In the upper-right corner of the page, select the profile logo, and then select Go to Admin.
On your domain solutions page, select Domains.
In the Domains section, select CLAIM DOMAIN.
In the Claim a Domain dialog box, in the Domain Name box, type your company domain, and then select CLAIM. Make sure you verify the domain and that its status is active.
On the domain solutions page, select Identity Providers.
In the Identity Providers section, select ADD IDENTITY PROVIDER.
On the Identity Provider Settings page, follow these steps:
a. In the Name box, type a unique name for your configuration. Don't use spaces.
b. In the Identity Provider Issuer box, paste the Azure AD Identifier value, which you copied from the Azure portal.
c. In the Identity Provider Login URL box, paste the Login URL value, which you copied from Azure portal.
d. In the Identity Provider Logout URL box, paste the value of Logout URL, which you copied from Azure portal.
e. Select Sign AuthN request.
f. For Send AuthN request by, select POST.
g. For Send logout request by, select GET.
h. In the Custom Attribute Mapping section, select ADD NEW MAPPING.
i. Choose the field you want to map to the Azure AD claim. In this example, the emailaddress claim is mapped with the value of
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress. That's the default claim name from Azure AD for the email claim. Select SAVE.
Use the appropriate User identifier to map the user from Azure AD to DocuSign user mapping. Select the proper field, and enter the appropriate value based on your organization settings.
j. In the Identity Provider Certificates section, select ADD CERTIFICATE, upload the certificate you downloaded from Azure AD portal, and select SAVE.
k. In the Identity Providers section, select ACTIONS, and then select Endpoints.
l. In the View SAML 2.0 Endpoints section of the DocuSign admin portal, follow these steps:
Copy the Service Provider Issuer URL, and then paste it into the Identifier box in Basic SAML Configuration section in the Azure portal.
Copy the Service Provider Login URL, and then paste it into the Sign On URL box in Basic SAML Configuration section in the Azure portal.
Create DocuSign test user
In this section, a user named B.Simon is created in DocuSign. DocuSign supports just-in-time user provisioning, which is enabled by default. There is no action item for you in this section. If a user doesn't already exist in DocuSign, a new one is created after authentication.
If you need to create a user manually, contact the DocuSign support team.
In this section, you test your Azure AD single sign-on configuration by using the Access Panel.
When you select the DocuSign tile in the Access Panel, you should be automatically signed in to the DocuSign instance for which you set up SSO. For more information about the Access Panel, see Introduction to the Access Panel.