Release 1.12.0
erwinvanhunen
released this
10 Nov 17:21
·
1973 commits
to master
since this release
[1.12.0]
Added
- Added
-DisableGridEditing
option toSet-PnPList
which allows gridview editing to be enabled or disabled on a list #2188 - Added verbose logging for
Invoke-PnPSiteSwap
,Restore-PnPTenantSite
and cmdlets which depend onSpoOperation
. #2207 - Added support for
DisplayNamesOfFileViewers
andDisplayNamesOfFileViewersInSpo
properties inGet-PnPTenant
andSet-PnPTenant
cmdlets to show/hide viewers in property pane for a file. #2271 - Added
MailEnabled
,PreferredDataLocation
,PreferredLanguage
andSecurityEnabled
parameters toNew-PnPMicrosoft365Group
cmdlet. #2268 - Added
-DraftVersionVisibility
parameter to theSet-PnPList
cmdlet to specify draft item security for list items. #2285 - Added support for
-ErrorAction:Stop
to PnP PowerShell cmdlets. Notice that if you were using this in combination with the specific try/catch [System.Management.Automation.PSInvalidOperationException], it will no longer catch the exception. It will throw anSystem.Management.Automation.ErrorRecord
exception instead. Remove the-ErrorAction:Stop
parameter from your cmdlet or catch this new exception type to avoid this behavior. #2288 - Added ability to create shared Teams channels using
Add-PnPTeamsChannel -ChannelType Shared
#2308 - Added support for
IsLoopEnabled
properties inGet-PnPTenant
andSet-PnPTenant
cmdlets to to enable/disable loop components in the tenant. #2307 - Added support for
SubscribeMembersToCalendarEventsDisabled
resource behavior option inNew-PnPMicrosoft365Group
andNew-PnPTeamsTeam
cmdlet. #2349 - Added
-OneDriveRequestFilesLinkEnabled
option toSet-PnPTenant
to allow configuring the request files anonymously feature on the tenant level #2360 - Added
-RequestFilesLinkEnabled
option toSet-PnPSite
to allow configuring the request files anonymously feature on a per site collection level #2360 - Added
ScriptSafeDomainName
option toSet-PnPSite
to allow contributors to insert iframe from specified domains only. #2363 - Added
AlertTemplateName
paramter toAdd-PnPAlert
to allow configuring the Alert Template type name in the email. #2362 - Added
Get-PnPAzureADActivityReportDirectoryAudit
to retrieve the audit logs generated by Azure AD. #2095 - Added
-Path
option toSet-PnPList
which allows the url of a list to be changed within the same site #2381 - Added
-Force
option toSet-PnPListem
to force it to update a list item even without changing something. Can be useful in i.e. triggering a webhook. #2396 - Added
ImageUrl
,PageImageAlignment
,ImageHeight
andImageWidth
parameters toAdd-PnPPageTextPart
cmdlet so that users can add an inline image into a text webpart. #2401 - Added
TextBeforeImage
andTextAfterImage
parameters toAdd-PnPPageTextPart
cmdlet so that users can add before and after text for an inline image into a text webpart. #2403 - Added
Add-PnPPageImageWebPart
cmdlet to allow users to easily add Image to a modern page. #2406 - Added system assigned Managed Identity support for SharePoint Online cmdlets. #2354
- Added user assigned Managed Identity support for Microsoft Graph and SharePoint Online cmdlets. #2491
- Added
Get-PnPTeamsTag
cmdlet to retrieve Team tags information. #2414 - Added
Properties
attribute toUpdate-PnPVivaConnectionsDashboardACE
to allow for updating the properties of a Viva Connections dashboard ACE component using its typed properties #2433 - Added
Set-PnPTeamsTag
cmdlet to update Team tags information. #2419 - Added
Remove-PnPTeamsTag
cmdlet to delete a Team tag. #2419 - Added
Disable-PnPPowerShellTelemetry
cmdlet to disable telemetry collection. #2432 - Added
Enable-PnPPowerShellTelemetry
cmdlet to enable telemetry collection. #2432 - Added
Get-PnPAzureADActivityReportSignIn
cmdlet to enable retrieving of Azure AD sign ins. #2436 - Added support to remove the site collection app catalog by using Id of the site collection in
Remove-PnPSiteCollectionAppCatalog
cmdlet. #2452 - Added support for the
EnableRestrictedAccessControl
parameter toSet-PnPTenant
andRestrictedAccessControl
forSet-PnPSite
to restrict site access to members of a Microsoft 365 group. #2462 - Added
Set-PnPImageListItemColumn
cmdlet to support setting of the new image/thumbnail value for a SharePoint list item.#2468 - Added
-Filter
parameter toGet-PnPTeamsTeam
cmdlet to retrieve specific teams based on filter conditions. It supports simple and advanced queries. #2467 , #2474 - Added
Get-PnPMicrosoft365ExpiringGroup
cmdlet to retrieve Microsoft 365 groups which are nearing expiration.#2466 - Added additional parameters to
Set-PnPContentType
cmdlet to support SPFx form customizer related properties.#2456 - Added
-Filter
parameter toGet-PnPAzureADApp
cmdlet to retrieve specific Azure AD apps based on filter conditions. It suppports simple and advanced queries. #2477 - Added
Get-PnPDeletedTeam
cmdlet to retrieve all deleted Microsoft Teams teams #2487 - Added
-ServerRelativePath
and-Path
parameters toSet-PnPImageListItemColumn
cmdlet to allow for file to be uploaded for the Image type column. #2503 - Added support for sovereign tenants in
Get-PnPTenandId
by utilizing the-AzureEnvironment
parameter. #2512
Changed
- Changed to no longer require
https://
to be prefixed when usingConnect-PnPOnline -Url tenant.sharepoint.com
#2139 Get-PnPAvailableSensitivityLabel
cmdlet now uses the non-deprecated Graph API to retrieve sensitivity label. #2234- Improved
Get-PnPMicrosoft365Group
cmdlet to better check the Id, DisplayName and MailNickname of Microsoft 365 Group. #2258 - Improved
Get-PnPStorageEntity
cmdlet whenKey
parameter is specified. #2275 - Improved
Get-PnPAuthenticationRealm
cmdlet to useHTTP Client
instead ofWebRequest
. #2304 - Changed
Get-PnPRoleDefinition
so that it now also supports the role definition Id to be used with-Identity
as well as the role definition name #2336 - Creating private Teams channels formerly using
Add-PnPTeamsChannel -Private
should now useAdd-PnPTeamsChannel -ChannelType Private
instead #2308 - Improved
Get-PnPAuthenticationRealm
cmdlet to useHTTPClient
instead ofWebRequest
. #2304 - Improved
Connect-PnPOnline
with ACS method. Replace the usage ofWebRequest
withHTTPClient
. #2352 - Improved
Remove-PnPFieldFromContentType
cmdlet to ensure proper null check for non-existing fields. It will now throw properField not found
error. #2407 - Changed the Microsoft 365 Groups cmdlets to use the
v1.0
endpoint instead of thebeta
#2426 - Changed
Add-PnPMicrosoft365GroupToSite
to longer require the-Url
parameter to be specified. If its not provided, the currently connected to site will be groupified. #2496 - Changed
Restore-PnPRecycleBinItem
, made-Identity
parameter as non-mandatory. #2499
Removed
- Marked
-Resource
parameter fromGet-PnPAccessToken
cmdlet as obsolete as it was not used anymore anyway. It will be removed in a future version. #2182 - Removed
-SystemUpdate
option fromSet-PnPListItem
as it has been deprecated two years ago. Use-UpdateType SystemUpdate
instead #2396
Fixed
- Fixed issue where passing in
-Connection
toDisconnect-PnPOnline
would throw an exception #2093 - Fixed
Get-PnPSiteSearchQueryResults
throwingValue cannot be null
exception #2138 - Fixed
New-PnPUPABulkImportJob
not returing the job Id #2144 - Fixed
Get-PnPSiteCollectionAppCatalog
throwing an exception when the site was deleted #2201 - Fixed
Set-PnPTermGroup
throwing an exception even when the group existed. #2232 - Fixed
Remove-PnPFile
cmdlet parameter set error. #2230 - Fixed
Get-PnPAccessToken
cmdlet to be able to work with different site collections as well as require an actual connection first. #2270 - Fixed
Copy-PnPList
cmdlet to be able to copy the list structure to the destination web. #2313 - Fixed
Add-PnPField
cmdlet , it was throwing null reference error when-Type
was not specified and after the prompt you entered the correct type. #2338 - Fixed regression issue with
New-Microsoft365Group
cmdlet. #2349 - Fixed issue with
Add-PnPTaxonomyField
, it was throwing error when using-TaxonomyItemId
parameter. #2351 - Fixed
Import-PnPTermGroupFromXml
issue where a valid template was not working. #2353 - Fixed
Set-PnPTenant
cmdlet not working when-Force
parameter is specified. #2373 - Fixed
Add-PnPTeamsTab
cmdlet not working with certain types when using dynamic parameters. #2405 - Fixed
Get-PnPVivaConnectionsDashboardACE
missing theisVisible
property underCardButtonActions
causing usingUpdate-PnPVivaConnectionsDashboardACE
to hide card buttons [#2433](#2433 - Fixed issue with
Set-PnPTeamsChannel -IsFavoriteByDefault
throwing aNullable object must have a value
under certain circumstances #2425 - Fixed
Register-PnPManagementShellAccess
for non-commercial cloud environment. Users must enter the tenant name if the environment is a non-commercial cloud environment. #2437 - Fixed issue with writing warning or error messages in Azure automation or screens with small width. #2438
- Fixed issue with
Enable-PnPTenantServicePrincipal
not respecting-Force
parameter. #2448 - Fixed issue with
Get-PnPRecycleBinItem
not working when there are large number of items in recycle bin.#2472 - Fixed Microsoft Graph based cmdlets not showing detailed error results when a call fails #2490
- Fixed
Restore-PnPRecycleBinItem
cmdlet not working with-RowLimit
parameter. #2499 - Fixed cmdlets throwing error when
-ErrorAction SilentlyContinue
was specified. #2510 - Fixed
Get-PnPAzureADAppSitePermission
not returning the roles assigned to each permission #2523
Contributors
- Russell Gove [russgove]
- Jasper Beerens
- Aleksandr Sapozhkov [shurick81]
- James Eccles [jameseccles]
- Martin Lingstuyl [martinlingstuyl]
- Antti K. Koskela [koskila]
- Dan Toft [tandddant]
- Yannick Plenevaux [ypcode]
- Rob Lempens [RobLempens]
- Marc Studer [Studermarc]
- Giacomo Pozzoni [jackpoz]
- Adam Wójcik [Adam-it]
- reusto
- Mikael Svenson [wobba]
- Josef Benda [SmarterJB]
- Alex Grover [groveale]
- Nik Charlebois [NikCharlebois]
- Milan Holemans [milanholemans]
- Miguel A. Tena [mikewaretena]
- Reshmee Auckloo [reshmee011]
- Leon Armston [LeonArmston]
- Giacomo Pozzoni [jackpoz]
- James May [fowl2]
- Jimmy Hang [JimmyHang]
- Marcus Blennegård [mblennegard]
- Arleta Wanat [PowerShellScripts]
- Koen Zomers [koenzomers]