Tutorial: Azure Active Directory integration with Work.com
In this tutorial, you learn how to integrate Work.com with Azure Active Directory (Azure AD). Integrating Work.com with Azure AD provides you with the following benefits:
- You can control in Azure AD who has access to Work.com.
- You can enable your users to be automatically signed-in to Work.com (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. If you don't have an Azure subscription, create a free account before you begin.
Prerequisites
To configure Azure AD integration with Work.com, you need the following items:
- An Azure AD subscription. If you don't have an Azure AD environment, you can get a free account
- Work.com single sign-on enabled subscription
Scenario description
In this tutorial, you configure and test Azure AD single sign-on in a test environment.
- Work.com supports SP initiated SSO
Adding Work.com from the gallery
To configure the integration of Work.com into Azure AD, you need to add Work.com from the gallery to your list of managed SaaS apps.
To add Work.com 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 and then select the All Applications option.

To add new application, click New application button on the top of dialog.

In the search box, type Work.com, select Work.com 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 Work.com based on a test user called Britta Simon. For single sign-on to work, a link relationship between an Azure AD user and the related user in Work.com needs to be established.
To configure and test Azure AD single sign-on with Work.com, you need to complete the following building blocks:
- Configure Azure AD Single Sign-On - to enable your users to use this feature.
- Configure Work.com Single Sign-On - to configure the Single Sign-On settings on application side.
- Create an Azure AD test user - to test Azure AD single sign-on with Britta Simon.
- Assign the Azure AD test user - to enable Britta Simon to use Azure AD single sign-on.
- Create Work.com test user - to have a counterpart of Britta Simon in Work.com that is linked to the Azure AD representation of user.
- 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.
Note
To configure single sign-on, you need to setup a custom Work.com domain name yet. You need to define at least a domain name, test your domain name, and deploy it to your entire organization.
To configure Azure AD single sign-on with Work.com, perform the following steps:
In the Azure portal, on the Work.com application integration page, select Single sign-on.

On the Select a Single sign-on method dialog, select SAML/WS-Fed mode to enable single sign-on.

On the Set up Single Sign-On with SAML page, click Edit icon to open Basic SAML Configuration dialog.

On the Basic SAML Configuration section, perform the following steps:

In the Sign-on URL text box, type a URL using the following pattern:
http://<companyname>.my.salesforce.comNote
The value is not real. Update the value with the actual Sign-On URL. Contact Work.com Client support team to get the value. You can also refer to the patterns shown in the Basic SAML Configuration section in the Azure portal.
On the Set up Single Sign-On with SAML page, in the SAML Signing Certificate section, click Download to download the Certificate (Base64) from the given options as per your requirement and save it on your computer.

On the Set up Work.com section, copy the appropriate URL(s) as per your requirement.

a. Login URL
b. Azure AD Identifier
c. Logout URL
Configure Work.com Single Sign-On
Sign in to your Work.com tenant as administrator.
Go to Setup.

On the left navigation pane, in the Administer section, click Domain Management to expand the related section, and then click My Domain to open the My Domain page.

To verify that your domain has been set up correctly, make sure that it is in “Step 4 Deployed to Users” and review your “My Domain Settings”.

Sign in to your Work.com tenant.
Go to Setup.

Expand the Security Controls menu, and then click Single Sign-On Settings.

On the Single Sign-On Settings dialog page, perform the following steps:

a. Select SAML Enabled.
b. Click New.
In the SAML Single Sign-On Settings section, perform the following steps:

a. In the Name textbox, type a name for your configuration.
Note
Providing a value for Name does automatically populate the API Name textbox.
b. In Issuer textbox, paste the value of Azure AD Identifier which you have copied from Azure portal.
c. To upload the downloaded certificate from Azure portal, click Browse.
d. In the Entity Id textbox, type
https://salesforce-work.com.e. As SAML Identity Type, select Assertion contains the Federation ID from the User object.
f. As SAML Identity Location, select Identity is in the NameIdentfier element of the Subject statement.
g. In Identity Provider Login URL textbox, paste the value of Login URL which you have copied from Azure portal.
h. In Identity Provider Logout URL textbox, paste the value of Logout URL which you have copied from Azure portal.
i. As Service Provider Initiated Request Binding, select HTTP Post.
j. Click Save.
In your Work.com classic portal, on the left navigation pane, click Domain Management to expand the related section, and then click My Domain to open the My Domain page.

On the My Domain page, in the Login Page Branding section, click Edit.

On the Login Page Branding page, in the Authentication Service section, the name of your SAML SSO Settings is displayed. Select it, and then click Save.

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
brittasimon@yourcompanydomain.extension. For example, BrittaSimon@contoso.comc. Select Show password check box, and then write down the value that's displayed in the Password box.
d. Click Create.
Assign the Azure AD test user
In this section, you enable Britta Simon to use Azure single sign-on by granting access to Work.com.
In the Azure portal, select Enterprise Applications, select All applications, then select Work.com.

In the applications list, select Work.com.

In the menu on the left, select Users and groups.

Click the Add user 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.
If you are expecting any role value in the SAML assertion then in the Select Role dialog select the appropriate role for the user from the list, then click the Select button at the bottom of the screen.
In the Add Assignment dialog click the Assign button.
Create Work.com test user
For Azure Active Directory users to be able to sign in, they must be provisioned to Work.com. In the case of Work.com, provisioning is a manual task.
To configure user provisioning, perform the following steps:
Sign on to your Work.com company site as an administrator.
Go to Setup.

Go to Manage Users > Users.

Click New User.

In the User Edit section, perform the following steps, in attributes of a valid Azure AD account you want to provision into the related textboxes:

a. In the First Name textbox, type the first name of the user Britta.
b. In the Last Name textbox, type the last name of the user Simon.
c. In the Alias textbox, type the name of the user BrittaS.
d. In the Email textbox, type the email address of user Brittasimon@contoso.com.
e. In the User Name textbox, type a user name of user like Brittasimon@contoso.com.
f. In the Nick Name textbox, type a nick name of user Simon.
g. Select Role, User License, and Profile.
h. Click Save.
Note
The Azure AD account holder will get an email including a link to confirm the account before it becomes active.
Test single sign-on
In this section, you test your Azure AD single sign-on configuration using the Access Panel.
When you click the Work.com tile in the Access Panel, you should be automatically signed in to the Work.com for which you set up SSO. For more information about the Access Panel, see Introduction to the Access Panel.