Release 1.10.0
erwinvanhunen
released this
30 Mar 13:44
·
3258 commits
to master
since this release
Added
- Added additional properties to the users returned by
Get-PnPMicrosoft365GroupMember
such asuserType
#1474 - Added
Update-PnPTeamsUser
cmdlet to change the role of a user in an existing Teams team #1499 - Added
Get\New\Remove\Set-PnPMicrosoft365GroupSettings
cmdlets to interact with Microsoft 365 Group settings. - Added
Get-PnPMicrosoft365GroupSettingTemplates
cmdlet to retrieve system wide Microsoft 365 Group setting templates. - Added
Add\Remove\Invoke\Get-PnPListDesign
cmdlets to add a list design, remove a list design and apply the list design. - Added
DisablePersonalListCreation
parameter toSet-PnPTenant
cmdlet to provide ability to disable personal lists creation #1545 - Added
DisabledModernListTemplateIds
andEnableModernListTemplateIds
parameters toSet-PnPTenant
cmdlet to provide ability to disable or enable modern lists with specific Ids #1545 - Added
DisablePersonalListCreation
andDisabledModernListTemplateIds
values to be displayed when usingGet-PnPTenant
cmdlet #1545 - Added
Add\Remove\Set-PnPAdaptiveScopeProperty
cmdlets to add/update/remove a property bag value while dealing with the noscript toggling in one cmdlet #1556 - Added support to add multiple owners and members in
New-PnPTeamsTeam
cmdlet #1241 - Added the ability to set the title of a new modern page in SharePoint Online using
Add-PnPPage
to be different from its filename by using-Title
- Added optional
-UseBeta
parameter toGet-PnPAzureADUser
to force it to use the Microsoft Graph beta endpoint. This can be necessary when i.e. using-Select "PreferredDataLocation"
to query for users with a specific multi geo location as this property is only available through the beta endpoint. #1559 - Added
-Content
option toAdd-PnPFile
which allows creating a new file on SharePoint Online and directly providing its textual content, i.e. to upload a log file of the execution #1559 - Added
Get-PnPTeamsPrimaryChannel
to get the primary Teams channel, general, of a Team #1572 - Added
IgnoreDefaultProperties
parameter toGet-PnPAzureADUser
to allow for the default properties not to be retrieved but instead just the ones you specify usingSelect
#1575 - Added
Publish\Unpublish-PnPContentType
to allow for content types to be published or unpublished on hub sites #1597 - Added
Get-PnPContentTypePublishingStatus
to get te current publication state of a content type in the content type hub site #1597 - Added ability to pipe the output of
Get-PnPTenantDeletedSite
to eitherRestore-PnPTenantDeletedSite
orRemove-PnPTenantDeletedSite
#1596 - Added
Rename-PnPTenantSite
to rename a SharePoint Online site URL #1606 - Added optional
-Wait
option toSync-PnPSharePointUserProfilesFromAzureActiveDirectory
to allow for the script to wait until the user profile sync has completed - Added optional
-Verbose
option toSync-PnPSharePointUserProfilesFromAzureActiveDirectory
to allow for seeing the progress of the synchronization process - Added
Copy-PnPTeamsTeam
which allows an existing Teams team to be copied into a new Team #1624 - Added
Set-PnPMessageCenterAnnouncementAsRead
which allows setting one or more message center announcements as read for the current user #1151 - Added
Set-PnPMessageCenterAnnouncementAsUnread
which allows setting one or more message center announcements as unread for the current user #1151 - Added
Set-PnPMessageCenterAnnouncementAsArchived
which allows setting one or more message center announcements as archived for the current user #1151 - Added
Set-PnPMessageCenterAnnouncementAsNotArchived
which allows setting one or more message center announcements as not archived for the current user #1151 - Added
Set-PnPMessageCenterAnnouncementAsFavorite
which allows setting one or more message center announcements as favorite for the current user #1151 - Added
Set-PnPMessageCenterAnnouncementAsNotFavorite
which allows setting one or more message center announcements as not favorite for the current user #1151 - Added
-AsMemoryStream
option toGet-PnPFile
to allow for downloading of a file from SharePoint Online in memory for further processing #1638 - Added
-Stream
option toRead-PnPSiteTemplate
to allow for processing on a PnP Provisioning Template coming from memory #1638 - Added
New-PnPAzureADUserTemporaryAccessPass
which allows creation of a Temporary Access Pass for a specific user in Azure Active Directory - Added
-Force
option toSet-PnPTenant
to allow skipping the confirmation question for certain other parameters likeSignInAccelerationDomain,EnableGuestSignInAcceleration,BccExternalSharingInvitations,OrphanedPersonalSitesRetentionPeriod,OneDriveForGuestsEnabled,AllowDownloadingNonWebViewableFiles
. - Added
Get-PnPCompatibleHubContentTypes
which allows the list of content types present in the content type hub site that can be added to the root web or a list on a target site to be returned #1678
Changed
- Improved
Add-PnPTeamsUser
cmdlet. The cmdlet executes faster and we can now add users in batches of 200. #1548 - The
Move\Remove\Rename-PnPFolder
cmdlets now support pipebinds. - Changed
Add-PnPDataRowsToSiteTemplate
, it will return a warning if user(s) are not found during list item extraction. Earlier it used to throw error and stop extraction of list items. - Changed the return type of
Sync-PnPSharePointUserProfilesFromAzureActiveDirectory
to return our own entity instead of the one returned by CSOM #1559 - Changed running
Sync-PnPSharePointUserProfilesFromAzureActiveDirectory
with-WhatIf
to also provide a return entity providing the path to where the JSON file has been uploaded to #1559 - Disabling telemetry collection now requires either setting the environment variable or creating the telemetry file (documentation) #1504
- Changed
Get-PnPAzureADUser
to now return all the users in Azure Active Directory by default, instead of only the first 999, unless you specified-EndIndex:$null
#1565 - Changed
Get-PnPTenantDeletedSite -Identity
no longer returning an unknown exception when no site collection with the provided Url exists in the tenant recycle bin but instead returning no output to align with other cmdlets #1596 - Changed
Connect-PnPOnline -UseWebLogin
to no longer suppress errors which should allow for certificate logins to be used #1706 - The cmdlet
New-PnPTeamsTeam
no longer supports adding members or owners through their e-mail addresses, if they differ from their UPNs. The User Principal Names must be used instead #1241
Fixed
- Fixed
Set-PnPSite
not working withDisableCompanyWideSharingLinks
parameter. - Fixed
Get-PnPListPermissions
returning wrong information in case of broken inheritance. - Fixed
Submit-PnPSearchQuery -Query "somequery"
yielding an error when no results #1520 - Fixed
Set-PnPTenantSite
not setting SharingCapability property correctly. - Fixed
Get-PnPMicrosoft365Group
retrieving non-Unified groups when parameters are not specified. - Fixed
Get-PnPRecycleBinListItem
not retrieving second stage items if onlyRowLimit
is specified. - Fixed
Add-PnPDataRowsToSiteTemplate
issue with PnP templates when it contained multilingual references. - Fixed
Copy-PnPItemProxy
is not recognized as the name of a cmdlet, function, script file, or operable program error with the cmdlet. - Fixed
Add-PnPMicrosoft365GroupMember
,Remove-PnPMicrosoft365GroupMember
,Add-PnPTeamsUser
andRemove-PnPTeamsUser
not being able to handle guest accounts containing # characters #1523 - Fixed not being able to pipe
Get-PnPHubSite
toGet-PnPHubSiteChild
to retrieve all site collections which are associated to any hub site #1571 - Fixed
Add-PnPFileToSiteTemplate
when used alongsideGet-PnPFile
where the FileStream tried to overwrite an already open filestream when a file was located in the same directory as the template file itself. - Fixed
Get-PnPMessageCenterAnnouncement
returning an error #1607 - Fixed
New-PnPTeamsTeam
issue when adding Owners and Members. - Fixed running an admin cmdlet not always returning to the same context as before running the cmdlet #1611
- Fixed an issue where
Sync-PnPSharePointUserProfilesFromAzureActiveDirectory
would not correctly sync characters which are not part of the Western European encoding (iso-8859-1) - Fixed an issue where
Sync-PnPSharePointUserProfilesFromAzureActiveDirectory
would not correctly sync user profiles if a value contained a backslash () #1711
Removed
- Removed
Add-PnPClientSidePageSection
, useAdd-PnPPageSection
instead #1563 - Removed
Add-PnPClientSideWebPart
, useAdd-PnPPageWebPart
instead #1563 - Removed
Add-PnPClientSideText
, useAdd-PnPPageTextPart
instead #1563 - Removed
Get-PnPAADUser
, useGet-PnPAzureADUser
instead #1568 - Removed
Get-PnPOffice365CurrentServiceStatus
,Get-PnPOffice365HistoricalServiceStatus
,Get-PnPOffice365ServiceMessage
andGet-PnPOffice365Services
as Microsoft has removed the underlying Office Management APIs. UseGet-PnPMessageCenterAnnouncent
,Get-PnPServiceCurrentHealth
andGet-PnPServiceHealthIssue
instead. #1608
Contributors
- Michael Vasiloff [mikevasiloff]
- [svermaak]
- Russell Gove [russgove]
- Mike Park [mikeparkie]
- Jerker Vallbo [jerval53]
- Gaurav Mahajan [mahajangaurav]
- Dennis [expiscornovus]
- Jasey Waegebaert [Jwaegebaert]
- Swapnil Shrivastava [swapnil1993]
- Hugo Bernier [hugoabernier]
- brenle
- Johan Brännmar [brannmar]
- Lschockaert
- Leon Armston [LeonArmston]
- Reshmee Auckloo [reshmee011]
- Arleta Wanat [PowershellScripts]
- Brendon Lee [brenle]
- Guillaume Bordier [gbordier]
- [reusto]
- Reshmee Auckloo [reshmee011]
- Veronique Lengelle [veronicageek]
- Gautam Sheth [gautamdsheth]
- Koen Zomers [koenzomers]