Task: Create or Update Facebook Workplace user
Prerequisites
Facebook Workplace environment
Description
This task will create or update a user in the Facebook workplace. If a user doesn’t exists, the task will create the user with the given information. If the user does exists, the task will update the user with the given information.
Variables
Name | Description | Type | Example | Comment |
---|---|---|---|---|
Facebook Workplace token | The authentication token which can be found in the custom integrations at https://workplace.facebook.com/work/admin/?section=apps | String | DQVJzck5Ud3hyd3JyVTJOZA2ZA3U2x0ZA0lUVkxBUXd | |
Username | The username which will be used for the account. | String | {UserName}@{Domain} | |
First name | The first name of the user. | String | ‘Global’ or ‘Local’ | If filled in, the attribute of the user will be updated. |
Last name | The last name of the user. | String | ‘Security’ or ‘Distribution’ | If filled in, the attribute of the user will be updated. |
Email address | An extra email address of the user. | String | CN=Groups,DC=enyoi,DC=org | If filled in, the attribute of the user will be updated. |
Phone number | The phone number of the user. | String | Group for testing purposes | If filled in, the attribute of the user will be updated. If you want to update the phone number, please use the country code. |
Active | Specify if the new user will be active. | Boolean | True | True or False |