Skip to content

Commit 346731c

Browse files
authored
Merge pull request #179058 from udhaymahajan/facebookwork
Added Facebook Work Accounts Provisioning Tutorial.
2 parents 2c85c87 + 2f9d513 commit 346731c

File tree

3 files changed

+149
-0
lines changed

3 files changed

+149
-0
lines changed
Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
---
2+
title: 'Tutorial: Configure Facebook Work Accounts for automatic user provisioning with Azure Active Directory | Microsoft Docs'
3+
description: Learn how to automatically provision and de-provision user accounts from Azure AD to Facebook Work Accounts.
4+
services: active-directory
5+
documentationcenter: ''
6+
author: Zhchia
7+
writer: Zhchia
8+
manager: beatrizd
9+
10+
ms.assetid: 6563eaea-0328-4923-9a08-f1f07d38998b
11+
ms.service: active-directory
12+
ms.subservice: saas-app-tutorial
13+
ms.workload: identity
14+
ms.tgt_pltfrm: na
15+
ms.devlang: na
16+
ms.topic: article
17+
ms.date: 10/27/2021
18+
ms.author: Zhchia
19+
---
20+
21+
# Tutorial: Configure Facebook Work Accounts for automatic user provisioning
22+
23+
This tutorial describes the steps you need to perform in both Facebook Work Accounts and Azure Active Directory (Azure AD) to configure automatic user provisioning. When configured, Azure AD automatically provisions and de-provisions users and groups to [Facebook Work Accounts](https://work.facebook.com) using the Azure AD Provisioning service. For important details on what this service does, how it works, and frequently asked questions, see [Automate user provisioning and deprovisioning to SaaS applications with Azure Active Directory](../app-provisioning/user-provisioning.md).
24+
25+
26+
## Capabilities supported
27+
> [!div class="checklist"]
28+
> * Create users in Facebook Work Accounts
29+
> * Remove users in Facebook Work Accounts when they do not require access anymore
30+
> * Keep user attributes synchronized between Azure AD and Facebook Work Accounts
31+
> * [Single sign-on](facebook-work-accounts-tutorial.md) to Facebook Work Accounts (recommended)
32+
33+
## Prerequisites
34+
35+
The scenario outlined in this tutorial assumes that you already have the following prerequisites:
36+
37+
* [An Azure AD tenant](../develop/quickstart-create-new-tenant.md)
38+
* A user account in Azure AD with [permission](../roles/permissions-reference.md) to configure provisioning (for example, Application Administrator, Cloud Application administrator, Application Owner, or Global Administrator).
39+
* An admin account in Work Accounts with the permission to change company settings and configure integrations.
40+
41+
## Step 1. Plan your provisioning deployment
42+
1. Learn about [how the provisioning service works](../app-provisioning/user-provisioning.md).
43+
1. Determine who will be in [scope for provisioning](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md).
44+
1. Determine what data to [map between Azure AD and Vonage](../app-provisioning/customize-application-attributes.md).
45+
46+
47+
## Step 2. Add Facebook Work Accounts from the Azure AD application gallery
48+
49+
Add Facebook Work Accounts from the Azure AD application gallery to start managing provisioning to Facebook Work Accounts. If you have previously setup Facebook Work Accounts for SSO, you can use the same application. However it is recommended that you create a separate app when testing out the integration initially. Learn more about adding an application from the gallery [here](../manage-apps/add-application-portal.md).
50+
51+
## Step 3. Define who will be in scope for provisioning
52+
53+
The Azure AD provisioning service allows you to scope who will be provisioned based on assignment to the application and or based on attributes of the user / group. If you choose to scope who will be provisioned to your app based on assignment, you can use the following [steps](../manage-apps/assign-user-or-group-access-portal.md) to assign users and groups to the application. If you choose to scope who will be provisioned based solely on attributes of the user or group, you can use a scoping filter as described [here](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md).
54+
55+
* When assigning users and groups to Facebook Work Accounts, you must select a role other than **Default Access**. Users with the Default Access role are excluded from provisioning and will be marked as not effectively entitled in the provisioning logs. If the only role available on the application is the default access role, you can [update the application manifest](../develop/howto-add-app-roles-in-azure-ad-apps.md) to add more roles.
56+
57+
* Start small. Test with a small set of users and groups before rolling out to everyone. When scope for provisioning is set to assigned users and groups, you can control it by assigning one or two users or groups to the app. When scope is set to all users and groups, you can specify an [attribute based scoping filter](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md).
58+
59+
60+
## Step 4. Configure automatic user provisioning to Facebook Work Accounts
61+
62+
This section guides you through the steps to configure the Azure AD provisioning service to create, update, and disable users and/or groups in TestApp based on user and/or group assignments in Azure AD.
63+
64+
### To configure automatic user provisioning for Facebook Work Accounts in Azure AD:
65+
66+
1. Sign in to the [Azure portal](https://portal.azure.com). Select **Enterprise Applications**, then select **All applications**.
67+
68+
![Enterprise applications blade](common/enterprise-applications.png)
69+
70+
2. In the applications list, select **Facebook Work Accounts**.
71+
72+
![The Facebook Work Accounts link in the Applications list](common/all-applications.png)
73+
74+
3. Select the **Provisioning** tab.
75+
76+
![Provision tab](common/provisioning.png)
77+
78+
4. Set the **Provisioning Mode** to **Automatic**.
79+
80+
![Provisioning tab](common/provisioning-automatic.png)
81+
82+
5. Under the **Admin Credentials** section, click on **Authorize**. You will be redirected to **Facebook Work Accounts**'s authorization page. Input your Facebook Work Accounts username and click on the **Continue** button. Click **Test Connection** to ensure Azure AD can connect to Facebook Work Accounts. If the connection fails, ensure your Facebook Work Accounts account has Admin permissions and try again.
83+
84+
:::image type="content" source="media/facebook-work-accounts-provisioning-tutorial/azure-connect.png" alt-text="OAuth Screen":::
85+
86+
6. In the **Notification Email** field, enter the email address of a person or group who should receive the provisioning error notifications and select the **Send an email notification when a failure occurs** check box.
87+
88+
![Notification Email](common/provisioning-notification-email.png)
89+
90+
7. Select **Save**.
91+
92+
8. Under the **Mappings** section, select **Synchronize Azure Active Directory Users to Facebook Work Accounts**.
93+
94+
9. Review the user attributes that are synchronized from Azure AD to Facebook Work Accounts in the **Attribute-Mapping** section. The attributes selected as **Matching** properties are used to match the user accounts in Facebook Work Accounts for update operations. If you choose to change the [matching target attribute](../app-provisioning/customize-application-attributes.md), you will need to ensure that the Facebook Work Accounts API supports filtering users based on that attribute. Select the **Save** button to commit any changes.
95+
96+
|Attribute|Type|Supported for filtering|
97+
|---|---|---|
98+
|userName|String|✓
99+
|externalId|String|
100+
|active|Boolean|
101+
|title|String|
102+
|emails[type eq "work"].value|String|
103+
|preferredLanguage|String|
104+
|name.givenName|String|
105+
|name.familyName|String|
106+
|name.formatted|String|
107+
|addresses[type eq "work"].formatted|String|
108+
|addresses[type eq "work"].streetAddress|String|
109+
|addresses[type eq "work"].locality|String|
110+
|addresses[type eq "work"].region|String|
111+
|addresses[type eq "work"].postalCode|String|
112+
|addresses[type eq "work"].country|String|
113+
|phoneNumbers[type eq "work"].value|String|
114+
|urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:employeeNumber|String|
115+
|urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department|String|
116+
117+
10. To configure scoping filters, refer to the following instructions provided in the [Scoping filter tutorial](../app-provisioning/define-conditional-rules-for-provisioning-user-accounts.md).
118+
119+
11. To enable the Azure AD provisioning service for Facebook Work Accounts, change the **Provisioning Status** to **On** in the **Settings** section.
120+
121+
![Provisioning Status Toggled On](common/provisioning-toggle-on.png)
122+
123+
12. Define the users and/or groups that you would like to provision to Facebook Work Accounts by choosing the desired values in **Scope** in the **Settings** section.
124+
125+
![Provisioning Scope](common/provisioning-scope.png)
126+
127+
13. When you are ready to provision, click **Save**.
128+
129+
![Saving Provisioning Configuration](common/provisioning-configuration-save.png)
130+
131+
This operation starts the initial synchronization cycle of all users and groups defined in **Scope** in the **Settings** section. The initial cycle takes longer to perform than subsequent cycles, which occur approximately every 40 minutes as long as the Azure AD provisioning service is running.
132+
133+
## Step 5. Monitor your deployment
134+
Once you've configured provisioning, use the following resources to monitor your deployment:
135+
136+
* Use the [provisioning logs](../reports-monitoring/concept-provisioning-logs.md) to determine which users have been provisioned successfully or unsuccessfully
137+
* Check the [progress bar](../app-provisioning/application-provisioning-when-will-provisioning-finish-specific-user.md) to see the status of the provisioning cycle and how close it is to completion
138+
* If the provisioning configuration seems to be in an unhealthy state, the application will go into quarantine. Learn more about quarantine states [here](../app-provisioning/application-provisioning-quarantine-status.md).
139+
140+
## More resources
141+
142+
* [Managing user account provisioning for Enterprise Apps](../app-provisioning/configure-automatic-user-provisioning-portal.md)
143+
* [What is application access and single sign-on with Azure Active Directory?](../manage-apps/what-is-single-sign-on.md)
144+
145+
## Next steps
146+
147+
* [Learn how to review logs and get reports on provisioning activity](../app-provisioning/check-status-user-account-provisioning.md)
210 KB
Loading

articles/active-directory/saas-apps/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,6 +2497,8 @@
24972497
href: elium-provisioning-tutorial.md
24982498
- name: Exium
24992499
href: exium-provisioning-tutorial.md
2500+
- name: Facebook Work Accounts
2501+
href: facebook-work-accounts-provisioning-tutorial.md
25002502
- name: Federated Directory
25012503
href: federated-directory-provisioning-tutorial.md
25022504
- name: Figma

0 commit comments

Comments
 (0)