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.
Prerequisites
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.
- Control over your domain DNS. This is needed to claim domain on DocuSign.
Note
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.
Scenario description
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.
Add 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.
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 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, perform the following steps:
- Configure Azure AD SSO so that your users can use this feature.
- Create an Azure AD test user to test Azure AD single sign-on with B.Simon.
- Assign the Azure AD test user to enable B.Simon to use Azure AD single sign-on.
- 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 pencil icon for Basic SAML Configuration to edit the settings.
- In the Basic SAML Configuration section, perform the following steps:a. In the Identifier (Entity ID) textbox, type a URL using the following pattern:
https://<subdomain>.docusign.com/organizations/<OrganizationID>/saml2
b. In the Reply URL textbox, type a URL using one of the following patterns:Reply URLProduction :https://<subdomain>.docusign.com/organizations/<OrganizationID>/saml2/login/<IDPID>
https://<subdomain>.docusign.net/SAML/
QA Instance :https://<SUBDOMAIN>.docusign.com/organizations/saml2
c. In the Sign on URL textbox, type a URL using the following pattern:https://<subdomain>.docusign.com/organizations/<OrganizationID>/saml2/login/sp/<IDPID>
NoteThese bracketed values are placeholders. Replace them with the values in the actual Identifier, Reply URL and Sign on URL. 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:[email protected]
. - 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 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 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-left corner of the page, select the app launcher (9 dots), and then select 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.
- In the Domains section, select Get Validation Token of new domain added in the claim list.
- Copy the TXT Token
- Configure your DNS provider with the TXT Token by following these steps:a. Navigate to your domain’s DNS record management page. b. Add a new TXT record. c. Name: @ or * d. Text: paste the TXT Token value, which you copied from the earlier step. e. TTL: Default or 1 hour / 3600 seconds
- 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 Custom 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. For Send AuthN request by, select POST.f. For Send logout request by, select GET.g. In the Custom Attribute Mapping section, select ADD NEW MAPPING.h. 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. NoteUse 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. Custom Attribute Mapping setting is not mandatory.i. In the Identity Provider Certificates section, select ADD CERTIFICATE, upload the certificate you downloaded from Azure portal, and select SAVE.j. In the Identity Providers section, select ACTIONS, and then select Endpoints.k. 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 Assertion Consumer Service URL, and then paste it into the Reply URL 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. At the end of the Service Provider Login URL you will get the IDPID value.
- Select Close.
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.
Note
If you need to create a user manually, contact the DocuSign support team.
Test SSO
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 DocuSign Sign-on URL where you can initiate the login flow.
- Go to DocuSign Sign-on URL directly and initiate the login flow from there.
- You can use Microsoft My Apps. When you click the DocuSign tile in the My Apps, you should be automatically signed in to the DocuSign for which you set up the SSO. For more information about the My Apps, see Introduction to the My Apps.
Next steps
Once you configure DocuSign 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.
Ref: Tutorial: Azure AD SSO integration with DocuSign – Microsoft Entra | Microsoft Learn