Manage pronouns settings for an organization using the Microsoft Graph API

Using the Microsoft Graph API, you can enable, disable, or get settings that manage pronouns in an organization, such as controlling the display within the organization of any pronouns users might have set up for themselves.

Pronouns, in this context, are words used to replace a person's name in a sentence. Pronouns and their gender-neutral versions exist in many languages. For example, in English, "she", "her, "he", "him", and the gender-neutral "they", and "them" are common pronouns. Correctly using someone’s pronouns shows inclusion and respect. Sharing pronouns helps people avoid guessing or making assumptions based solely on names or initial observations of the person. In a hybrid, multicultural work or school environment, the simple act of using the right pronouns can help build trust and improve communication among one another.

Global administrators can enable or disable pronouns for everyone in the organization, using the Microsoft 365 admin center or Microsoft Graph API. By default, pronouns are disabled.

Enabling pronouns in an organization facilitates associating users with their preferred pronouns within the organization. This includes the following end user experiences:

  • When pronouns are enabled, a user can optionally add and manage pronouns in the profile card in Outlook on the web and Teams.
  • Pronouns appear by the user's name on the profile card in Outlook and Teams.
  • Pronouns are displayed only internally within the organization.
  • Anyone that has an account in the organization, including guest accounts, can see pronouns on profile cards.

The end user experience with pronouns might evolve over time. For current information about the end user experience with pronouns, see Pronouns in Microsoft 365.

Global administrators can decide whether to display pronouns that users set up in their profile cards. To enable this scenario, you set the isEnabledInOrganization property to true. When this property is set to true, pronouns are displayed for everyone within the organization. When this property is set to false, pronouns are not displayed for anyone within or outside the organization. The default setting is false.

Important

When you turn pronouns on or off, it can take up to seven hours for users to see changes. For example, if you turn pronouns on, users can't see the option to add pronouns on their profile card for up to seven hours. If you turn pronouns off, any previously set pronouns might stay visible in Microsoft 365 (for example, on profile cards) for up to seven hours.

When you turn off pronouns, all pronouns data created by users is deleted. The data deletion process might take up to 30 days to complete. If you turn pronouns back on within that period, any hidden pronouns that haven't yet been deleted from Microsoft servers become visible in Microsoft 365 experiences, such as profile cards.

Configure pronouns settings using PowerShell

You can use the Microsoft Graph PowerShell SDK to configure pronouns settings in your organization.

Prerequisites

Note

The PowerShell commands for pronouns settings are only available in beta. Switch to the beta experience before you run the following commands.

   Install-Module -Name Microsoft.Graph.Beta -MinimumVersion 2.3.0

Confirm your current settings

To get pronoun settings configuration for an organization, use the following command:

Note

The get method requires PeopleSettings.Read.All permissions. To create a Microsoft Graph session with a specific required scope, use the following command and consent to requested permissions.

   Connect-MgGraph -Scopes "PeopleSettings.Read.All"

  Get-MgBetaAdminPeoplePronoun

Enable pronouns in your organization

By default, pronouns are disabled. You can use the Microsoft Graph PowerShell module to make pronouns available in your organization.

Note

The update method requires additional PeopleSettings.ReadWrite.All permissions. To create a Microsoft Graph session with a specific required scope, use the following command and consent to requested permissions.

   Connect-MgGraph -Scopes "PeopleSettings.ReadWrite.All","PeopleSettings.Read.All"

Use the following command, specify -IsEnabledInOrganization as true.

  Update-MgBetaAdminPeoplePronoun -IsEnabledInOrganization:$true

Disable pronouns in your organization

Alternatively, you can make pronouns unavailable for your organization using the following command, where you specify -IsEnabledInOrganization as false.

  Update-MgBetaAdminPeoplePronoun -IsEnabledInOrganization:$false

Configure pronouns settings using the Microsoft Graph REST API

You can use the pronounsSettings API to configure pronouns settings in your organization.

Confirm your current settings

Use the get operation to return the current settings for pronouns in your organization.

The following example gets the current display settings that have pronouns disabled.

GET https://graph.microsoft.com/v1.0/admin/people/pronouns

If successful, the response returns a 200 OK response code and a pronounsSettings object in the response body.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "isEnabledInOrganization": false
}

Enable pronouns in your organization

Use the update operation to enable pronouns in your organization.

PATCH https://graph.microsoft.com/v1.0/admin/people/pronouns
Content-Type: application/json

{
  "isEnabledInOrganization": true
}

If successful, the response returns a 200 OK response code and a pronounsSettings object in the response body.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "isEnabledInOrganization": true
}

Disable pronouns in your organization

Use the update operation to make pronouns unavailable in your organization.

PATCH https://graph.microsoft.com/v1.0/admin/people/pronouns
Content-Type: application/json

{
  "isEnabledInOrganization": false
}

If successful, the response returns a 200 OK response code and a pronounsSettings object in the response body.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "isEnabledInOrganization": false
}