Skip to content

Commit

Permalink
Merge branch 'pnp:dev' into TenantProp
Browse files Browse the repository at this point in the history
  • Loading branch information
reshmee011 authored Jan 14, 2025
2 parents 2b84b14 + a7d09f5 commit c52c876
Show file tree
Hide file tree
Showing 56 changed files with 4,381 additions and 4,083 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Added `Get-PnPFileRetentionLabel` cmdlet to fetch the file retention labels. [#4603](https://github.com/pnp/powershell/pull/4603)
- Added `Get/Set/Remove-PnPUserProfilePhoto` cmdlets to download, upload or remove the profile photo of the specified user.
- Added `New/Get/Remove/Update-PnPTodoList` cmdlets to manage Todo lists.
- Added `Get-PnPTenantPronounsSetting` and `Set-PnPTenantPronounsSetting` cmdlets to manage the availability of using pronouns in the organization [#4660](https://github.com/pnp/powershell/pull/4660)

### Changed

Expand Down Expand Up @@ -125,6 +126,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Contributors

- Marijn Somers [Marijnsomers]
- Janne Holm [jhholm]
- Paul Bullock [pkbullock]
- Arjan Cornelissen [arjancornelissen]
Expand Down
8 changes: 4 additions & 4 deletions dependencies.json
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"
}
6 changes: 3 additions & 3 deletions documentation/Add-PnPOrgAssetsLibrary.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ Accept wildcard characters: False
```
### -OrgAssetType
Indicates the type of content in this library. Currently supported values are "ImageDocumentLibrary" and "OfficeTemplateLibrary".
Indicates the type of content in this library.
ImageDocumentLibrary is the default OrgAssetType and is best used for images. You can access the contents of this library from any site or page in the SharePoint filepicker. OfficeTemplateLibrary is the suggested type for Office files and will show up in the UI of all Office desktop apps and Office online in the templates section.
```yaml
Type: OrgAssetType
Parameter Sets: (All)
Accepted values: ImageDocumentLibrary, OfficeTemplateLibrary
Accepted values: ImageDocumentLibrary, OfficeTemplateLibrary, BrandColorsList, BrandFontsLibrary, BrandKitLibrary, OfficeFontLibrary, Undefined

Required: False
Position: Named
Expand All @@ -163,4 +163,4 @@ Accept wildcard characters: False
## RELATED LINKS
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
57 changes: 57 additions & 0 deletions documentation/Get-PnPTenantPronounsSetting.md
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)
77 changes: 77 additions & 0 deletions documentation/Set-PnPTenantPronounsSetting.md
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)
Loading

0 comments on commit c52c876

Please sign in to comment.