-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pnp:dev' into TenantProp
- Loading branch information
Showing
56 changed files
with
4,381 additions
and
4,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"Updated": "20250110-024600", | ||
"PnPPowerShell": "b12b889561d980e934eb8b10be2e92075accdb9a", | ||
"PnPFramework": "f8e60b223b4fd7ec5273d20c3dc48fd8b0bc53f0", | ||
"PnPCore": "8ab8cad8611528ce79e75c9f805848d48d0b705b" | ||
"Updated": "20250114-024326", | ||
"PnPPowerShell": "0be6ca0aa449dcb8a1940521ca93bf1e83cf6490", | ||
"PnPFramework": "7f7ee03fecbff983d648ed2c9e35349991e7c982", | ||
"PnPCore": "c978a3596672bcb92ce7cbbe2fdfa5ce6f7247f6" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
Module Name: PnP.PowerShell | ||
schema: 2.0.0 | ||
applicable: SharePoint Online | ||
online version: https://pnp.github.io/powershell/cmdlets/Get-PnPTenantPronounsSetting.html | ||
external help file: PnP.PowerShell.dll-Help.xml | ||
title: Get-PnPTenantPronounsSetting | ||
--- | ||
|
||
# Get-PnPTenantPronounsSetting | ||
|
||
## SYNOPSIS | ||
|
||
**Required Permissions** | ||
|
||
* Microsoft Graph API : One of PeopleSettings.Read.All, PeopleSettings.ReadWrite.All | ||
|
||
Retrieve the current setting for the availability of using pronouns in the organization | ||
|
||
## SYNTAX | ||
|
||
```powershell | ||
Get-PnPTenantPronounsSetting [-Connection <PnPConnection>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
This cmdlet can be used to retrieve tenant wide pronounsSettings properties. | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
```powershell | ||
Get-PnPTenantPronounsSetting | ||
``` | ||
|
||
Retrieves the tenant-wide pronouns settings | ||
|
||
## PARAMETERS | ||
|
||
### -Connection | ||
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). | ||
|
||
```yaml | ||
Type: PnPConnection | ||
Parameter Sets: (All) | ||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
## RELATED LINKS | ||
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) | ||
[Microsoft Graph documentation](https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
--- | ||
Module Name: PnP.PowerShell | ||
schema: 2.0.0 | ||
applicable: SharePoint Online | ||
online version: https://pnp.github.io/powershell/cmdlets/Set-PnPTenantPronounsSetting.html | ||
external help file: PnP.PowerShell.dll-Help.xml | ||
title: Set-PnPTenantPronounsSetting | ||
--- | ||
|
||
# Set-PnPTenantPronounsSetting | ||
|
||
## SYNOPSIS | ||
|
||
**Required Permissions** | ||
|
||
* Microsoft Graph API : PeopleSettings.ReadWrite.All | ||
|
||
Allows allowing configuring the tenant-wide pronouns settings | ||
|
||
## SYNTAX | ||
|
||
```powershell | ||
Set-PnPTenantPronounsSetting [-Connection <PnPConnection>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
Allows allowing or disallowing users configuring their own desired pronouns in their user profile. | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
```powershell | ||
Set-PnPTenantPronounsSetting -IsEnabledInOrganization:$true | ||
``` | ||
|
||
Enables allowing users to configure their own desired pronouns in their user profile. | ||
|
||
### EXAMPLE 2 | ||
```powershell | ||
Set-PnPTenantPronounsSetting -IsEnabledInOrganization:$false | ||
``` | ||
|
||
Disables users from configuring their own desired pronouns in their user profile. | ||
|
||
## PARAMETERS | ||
|
||
### -Connection | ||
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). | ||
|
||
```yaml | ||
Type: PnPConnection | ||
Parameter Sets: (All) | ||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -IsEnabledInOrganization | ||
Provide $true to allow end users to set their desired pronounce, provide $false to prevent end users from setting their desired pronouns. | ||
```yaml | ||
Type: PnPConnection | ||
Parameter Sets: (All) | ||
Required: True | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
## RELATED LINKS | ||
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) | ||
[Microsoft Graph documentation](https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns) |
Oops, something went wrong.