|
| 1 | +--- |
| 2 | +title: Retrieve pronoun information from Workday |
| 3 | +description: Learn how to retrieve pronoun information from Workday |
| 4 | +services: active-directory |
| 5 | +author: kenwith |
| 6 | +manager: rkarlin |
| 7 | +ms.service: active-directory |
| 8 | +ms.subservice: app-provisioning |
| 9 | +ms.topic: reference |
| 10 | +ms.workload: identity |
| 11 | +ms.date: 07/05/2022 |
| 12 | +ms.author: kenwith |
| 13 | +ms.reviewer: arvinh, chmutali |
| 14 | +--- |
| 15 | + |
| 16 | +# Configure Azure AD provisioning to retrieve pronoun information from Workday |
| 17 | +This article describes how you can customize the following two HR-driven provisioning apps to fetch pronoun information from Workday. |
| 18 | + |
| 19 | +* [Workday to on-premises Active Directory user provisioning](../saas-apps/workday-inbound-tutorial.md) |
| 20 | +* [Workday to Azure Active Directory user provisioning](../saas-apps/workday-inbound-cloud-only-tutorial.md) |
| 21 | + |
| 22 | +## About pronoun information in Workday |
| 23 | +Workday introduced the ability for workers to [display pronoun information](https://community.workday.com/node/731178) in their worker profile in Workday 2021 R1 release. The ability to fetch pronoun data using Workday Web Services (WWS) API call was introduced in [Get_Workers API version 38.1](https://community.workday.com/sites/default/files/file-hosting/productionapi/Human_Resources/v38.1/Get_Workers.html) in Workday 2022 R1 release. |
| 24 | + |
| 25 | +>[!NOTE] |
| 26 | +>Links to certain Workday community notes and documents in this article require Workday community account credentials. Please check with your Workday administrator or partner to get the required access. |
| 27 | +
|
| 28 | +## Enabling pronoun data in Workday |
| 29 | +This section describes steps required to enable pronoun data in Workday. We recommend engaging your Workday administrator to complete the steps listed below. |
| 30 | +1. Ensure that pronoun display and sharing preferences are enabled as per Workday guidelines. Refer Workday documents: |
| 31 | + |
| 32 | + [Steps: Set Up Gender Pronouns to Display on a Worker Profile * Human Capital Management * Reader * Administrator Guide (workday.com)](https://doc.workday.com/r/gJQvxHUyQOZv_31Vknf~3w/7gZPvVfbRhLiPissprv6lQ) |
| 33 | + |
| 34 | + [Steps: Set Up Public Profile Preferences * Human Capital Management * Reader * Administrator Guide (workday.com)](https://doc.workday.com/r/gJQvxHUyQOZv_31Vknf~3w/FuENV1VTRTHWo_h93KIjJA) |
| 35 | + |
| 36 | +1. Use Workday **Maintain Pronouns** task to define preferred pronoun data (HE/HIM, SHE/HER, and THEY/THEM) in your Workday tenant. |
| 37 | +1. Use Workday **Maintain Localization Settings task -> Personal Information** area to activate pronoun data for different countries. |
| 38 | +1. Select the Workday Integration System Security Group used with your Azure AD integration. Update the [domain permissions for the security group](../saas-apps/workday-inbound-tutorial.md#configuring-domain-security-policy-permissions), so it has GET access for the Workday domain **Reports: Public Profile**. |
| 39 | + >[!div class="mx-imgBorder"] |
| 40 | + > |
| 41 | +1. Activate Pending Security Policy changes. |
| 42 | +1. Select a worker in your Workday tenant for testing purposes. Set pronoun information for this worker using the **Edit Personal Information** task. Ensure that the worker has enabled pronoun display to all in their public profile preference. |
| 43 | + |
| 44 | + >[!div class="mx-imgBorder"] |
| 45 | + > |
| 46 | +
|
| 47 | +1. Use Workday Studio or Postman to invoke [Get_Workers API version 38.1](https://community.workday.com/sites/default/files/file-hosting/productionapi/Human_Resources/v38.1/Get_Workers.html) for the test user using the Workday Azure AD integration system user. In the SOAP request header specify the option Include_Reference_Descriptors_In_Response. |
| 48 | + ``` |
| 49 | + <bsvc:Workday_Common_Header> |
| 50 | + <bsvc:Include_Reference_Descriptors_In_Response>true</bsvc:Include_Reference_Descriptors_In_Response> |
| 51 | + </bsvc:Workday_Common_Header> |
| 52 | + ``` |
| 53 | +1. In the Get_Workers response, you will now see pronoun information. |
| 54 | +
|
| 55 | + >[!div class="mx-imgBorder"] |
| 56 | + > |
| 57 | +
|
| 58 | +>[!NOTE] |
| 59 | +>If you are not able to retrieve pronoun data in the *Get_Workers* response, then troubleshoot Workday domain security permissions. Ensure your integration security group has permission to the segmented security group that grants access to the pronoun data. |
| 60 | +
|
| 61 | +Once you confirm that pronoun data is available in the *Get_Workers* response, go to the next step of updating your Azure AD provisioning app configuration. |
| 62 | + |
| 63 | +## Updating Azure AD provisioning app to retrieve pronouns |
| 64 | +
|
| 65 | +To retrieve pronouns from Workday, you'll need to update your Azure AD provisioning app to query Workday using v38.1 of the Workday Web Services. We recommend testing this configuration first in your test/sandbox environment before implementing the change in production. |
| 66 | +
|
| 67 | +1. Sign-in to Azure portal as administrator. |
| 68 | +1. Open your *Workday to AD User provisioning* app OR *Workday to Azure AD User provisioning* app. |
| 69 | +1. In the **Admin Credentials** section, update the **Tenant URL** to include the Workday Web Service version v38.1 as shown below. |
| 70 | +
|
| 71 | + >[!div class="mx-imgBorder"] |
| 72 | + > |
| 73 | +
|
| 74 | +1. Open the **Attribute mappings** blade. Scroll down and click **Show advanced options**. Click on **Edit attribute list for Workday**. |
| 75 | +1. If your provisioning app is configured to use the default WWS API version v21.1, then [reference this article to review and update the XPATHs for each attribute](workday-attribute-reference.md#xpath-values-for-workday-web-services-wws-api-v30). |
| 76 | +1. Add a new attribute called **PreferredPronoun** with XPATH |
| 77 | +
|
| 78 | + `/wd:Worker/wd:Worker_Data/wd:Personal_Data/wd:Personal_Information_Data/wd:Pronoun_Reference/@wd:Descriptor` |
| 79 | +
|
| 80 | +1. Save your changes. |
| 81 | +1. You can now add a new attribute mapping to flow the Workday attribute **PreferredPronoun** to any attribute in AD/Azure AD. |
| 82 | +1. If you want to incorporate pronoun information as part of display name, you can update the attribute mapping for displayName attribute to use the below expression. |
| 83 | +
|
| 84 | + `Switch([PreferredPronoun], Join("", [PreferredNameData], " (", [PreferredPronoun], ")"), "", [PreferredNameData])` |
| 85 | +
|
| 86 | +1. If worker *Aaron Hall* has set his pronoun information in Workday as `HE/HIM`, then the above expression will set the display name in Azure AD as: *Aaron Hall (HE/HIM)* |
| 87 | +1. Save your changes. |
| 88 | +1. Test the configuration for one user with provisioning on demand. |
| 89 | + |
| 90 | +## Next steps |
| 91 | +
|
| 92 | +* [Learn how to configure Workday to Active Directory provisioning](../saas-apps/workday-inbound-tutorial.md) |
| 93 | +* [Learn how to configure write back to Workday](../saas-apps/workday-writeback-tutorial.md) |
| 94 | +* [Learn more about supported Workday Attributes for inbound provisioning](workday-attribute-reference.md) |
0 commit comments