|
| 1 | +--- |
| 2 | +Module Name: PnP.PowerShell |
| 3 | +schema: 2.0.0 |
| 4 | +applicable: SharePoint Online |
| 5 | +online version: https://pnp.github.io/powershell/cmdlets/Set-PnPTenantPronounsSetting.html |
| 6 | +external help file: PnP.PowerShell.dll-Help.xml |
| 7 | +title: Set-PnPTenantPronounsSetting |
| 8 | +--- |
| 9 | + |
| 10 | +# Set-PnPTenantPronounsSetting |
| 11 | + |
| 12 | +## SYNOPSIS |
| 13 | + |
| 14 | +**Required Permissions** |
| 15 | + |
| 16 | + * Microsoft Graph API : PeopleSettings.ReadWrite.All |
| 17 | + |
| 18 | +Allows allowing configuring the tenant-wide pronouns settings |
| 19 | + |
| 20 | +## SYNTAX |
| 21 | + |
| 22 | +```powershell |
| 23 | +Set-PnPTenantPronounsSetting [-Connection <PnPConnection>] |
| 24 | +``` |
| 25 | + |
| 26 | +## DESCRIPTION |
| 27 | + |
| 28 | +Allows allowing or disallowing users configuring their own desired pronouns in their user profile. |
| 29 | + |
| 30 | +## EXAMPLES |
| 31 | + |
| 32 | +### EXAMPLE 1 |
| 33 | +```powershell |
| 34 | +Set-PnPTenantPronounsSetting -IsEnabledInOrganization:$true |
| 35 | +``` |
| 36 | + |
| 37 | +Enables allowing users to configure their own desired pronouns in their user profile. |
| 38 | + |
| 39 | +### EXAMPLE 2 |
| 40 | +```powershell |
| 41 | +Set-PnPTenantPronounsSetting -IsEnabledInOrganization:$false |
| 42 | +``` |
| 43 | + |
| 44 | +Disables users from configuring their own desired pronouns in their user profile. |
| 45 | + |
| 46 | +## PARAMETERS |
| 47 | + |
| 48 | +### -Connection |
| 49 | +Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing [Get-PnPConnection](Get-PnPConnection.md). |
| 50 | + |
| 51 | +```yaml |
| 52 | +Type: PnPConnection |
| 53 | +Parameter Sets: (All) |
| 54 | +Required: False |
| 55 | +Position: Named |
| 56 | +Default value: None |
| 57 | +Accept pipeline input: False |
| 58 | +Accept wildcard characters: False |
| 59 | +``` |
| 60 | +
|
| 61 | +### -IsEnabledInOrganization |
| 62 | +Provide $true to allow end users to set their desired pronounce, provide $false to prevent end users from setting their desired pronouns. |
| 63 | +
|
| 64 | +```yaml |
| 65 | +Type: PnPConnection |
| 66 | +Parameter Sets: (All) |
| 67 | +Required: True |
| 68 | +Position: Named |
| 69 | +Default value: None |
| 70 | +Accept pipeline input: False |
| 71 | +Accept wildcard characters: False |
| 72 | +``` |
| 73 | +
|
| 74 | +## RELATED LINKS |
| 75 | +
|
| 76 | +[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) |
| 77 | +[Microsoft Graph documentation](https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns) |
0 commit comments