Skip to content

Release 1.11.0

Compare
Choose a tag to compare
@erwinvanhunen erwinvanhunen released this 01 Jul 14:10
· 2658 commits to master since this release
8fbb9f1

Added

  • Added -Wait and -Verbose optional paramarers to New-PnPUPABulkImportJob #1752
  • Added Add-PnPTeamsChannelUser which allows members and owners to be added to private channels in Teams #1735
  • Added Channel parameter to Add-PnPTeamsUser cmdlet which if specified will allow owners and members to be added to private channels in a Teams Team. #1772
  • Added the ability to retrieve site collection information by its Id using Get-PnPTenantSite -Identity <id> #1766
  • Added ResourceBehaviorOptions option in New-PnPMicrosoft365Group cmdlet to set ResourceBehaviorOptions while provisioning a Microsoft 365 Group. #1774
  • Added Add-PnPTeamsChannelUser which allows members and owners to be added to private channels in Teams #1735
  • Added ExcludeVisualPromotedResults parameter to Get-PnPSearchConfiguration which excludes promoted results #1750
  • Added MediaTranscription parameter to Set-PnPTenantSite and Set-PnPSite cmdlets which when enabled allows videos to have transcripts generated on demand or generated automatically in certain scenarios.
  • Added -SensitivityLabels parameter to New-PnPTeamsTeam and New-PnPMicrosoft365Group cmdlets to apply sensitivity label to the Microsoft 365 Group and Team.
  • Added -SensitivityLabels parameter to Set-PnPMicrosoft365Group cmdlets to apply sensitivity label to the Microsoft 365 Group and Team.
  • Added MediaTranscription parameter to Set-PnPTenantSite and Set-PnPSite cmdlets which when enabled allows videos to have transcripts generated on demand or generated automatically in certain scenarios
  • Added Get-PnPTeamsChannelFilesFolder cmdlet to retrieve metadata for the location where files of a Teams channel are stored. #1799
  • Added Get-PnPVivaConnectionsDashboardACE to retrieve the Adaptive Card extensions from the Viva connections dashboard page. #1805
  • Added Add-PnPVivaConnectionsDashboardACE to add an Adaptive Card extension to the Viva connections dashboard page. #1805
  • Added Update-PnPVivaConnectionsDashboardACE to update an Adaptive Card extension in the Viva connections dashboard page. #1805
  • Added Remove-PnPVivaConnectionsDashboardACE to remove an Adaptive Card extension in the Viva connections dashboard page. #1805
  • Added Accept parameter to Invoke-PnPSPRestMethod cmdlet which if specified will pass the Accept HTTP request header. #1795
  • Added Get-PnPFlowRun cmdlet to retrieve a specific run, or all runs from a specific Power Automate flow. #1819
  • Added Invoke-PnPGraphMethod cmdlet to invoke generic Microsoft Graph API Methods. #1820
  • Added TimeZone parameter to New-PnPSite cmdlet which allows setting of the site collection in the specified timezone.
  • Added Stop-PnPFlowRun cmdlet to stop/cancel a specific Power Automate flow run. #1838
  • Added Remove-PnPTeamsChannelUser cmdlet to remove a user from a private channel. #1840
  • Added Get-PnPListItemPermission cmdlet to retrieve item level permissions. #1534
  • Added Get-PnPTeamsChannelMessageReply to retrieve all replies or a specific reply of a message in a Teams channel #1885
  • Added -Identity parameter to Get-PnPTeamsChannelMessage cmdlet to retrieve a specific message #1887
  • Added new PnP.PowerShell image which also gets published to Docker Hub. #1580
  • Added capability to Debug the module in Visual Studio. #1880
  • Added Set-PnPTeamsChannelUser cmdlet to update the role of user in a private channel. #1865
  • Added Restart-PnPFlowRun which allows for a failed Power Automate flow run to be retried #1915
  • Added optional -Connection parameter to Get-PnPConnection, Get-PnPContext and Set-PnPContext which allows for using any of these for a specific connection #1919
  • Added -IncludeDeprecated parameter to Get-PnPTerm cmdlet to fetch deprecated terms if specified #1903
  • Added -IncludeContentType parameter, which if specified will retrieve content type information of the list items. #1921
  • Added optional -ValidateConnection to Connect-PnPOnline which will check if the site you are connecting to exists and if not, will throw an exception #1924
  • Added -Description and -Priority to Set-PnPPlannerTask #1947
  • Added AllowTenantMoveWithDataMigration to Get-PnPPlannerConfiguration and Set-PnPPlannerConfiguration #1934
  • Added the ability to retrieve a Planner plan by only its Id using Get-PnPPlannerPlan -Identity <id> #1935
  • Added Add-PnPListItemAttachment cmdlet to provide ability to upload a file as an attachment to a SharePoint list item. #1932
  • Added Remove-PnPListItemAttachment cmdlet to provide ability to delete a list item attachment. #1932
  • Added Get-PnPListItemAttachment cmdlet to download the attachments from a list item. #1932
  • Added -ReturnTyped parameter to Get-PnPField cmdlet so that it returns specific type instead of the generic field type. [#1888] (#1888)
  • Added Add-PnPViewsFromXML cmdlet to create one or more views in a list based on an XML string. #1963
  • Added -ExemptFromBlockDownloadOfNonViewableFiles parameter to Set-PnPList cmdlet to configure access capabilites for unmanaged devices at list level. #1973
  • Added -PercentComplete, -Priority, -StartDateTime, -DueDateTime and -Description to Add-PnPPlannerTask #1964
  • Added Set-PnPContentType cmdlet to update the properties of the Content Types in a list or a web. #1981
  • Added -SharingCapability parameter to the New-PnPTenantSite cmdlet to update the Sharing capabilties of the newly provisioned classic site collection. #1994
  • Added optional -IncludeAllLists to Get-PnPSiteScriptFromWeb which will include the JSON definition of all custom lists of the current site in the output #1987
  • Added -UpdateChildren parameter to Add-PnPFieldToContentType cmdlet. This allows users to skip pushing the fields to child content types. #1992
  • Added optional -SensitivityLabel to Set-PnPSite which allows for a Microsoft Purview sensitivitylabel to be set #2024
  • Added -UpdateChildren parameter to Add-PnPFieldToContentType cmdlet. This allows users to skip pushing the fields to child content types. #1092
  • Added Get-PnPAvailableSensitivityLabel cmdlet to retrieve Microsoft Purview sensitivity labels available on the tenant #2023
  • Added Get-PnPSiteSensitivityLabel cmdlet to retrieve the Microsoft Purview sensitivity label set on the current site #2036
  • Added Set-PnPSiteClassification cmdlet which allows setting a classic site classification on the current site #2036
  • Added Set-PnPSiteSensitivityLabel cmdlet which allows setting a Microsoft Purview sensitivity label on the current site #2036
  • Added Remove-PnPSiteSensitivityLabel cmdlet which allows removing the Microsoft Purview sensitivity label from the current site #2036
  • Added Get-PnPSensitivityLabel cmdlet to retrieve Microsoft Purview sensitivity labels available on the tenant #2023
  • Added Get-Microsoft365GroupYammerCommunity cmdlet to retrieve details on the Yammer Community connected to a Microsoft 365 Group #2038
  • Added Get-Microsoft365GroupTeam cmdlet to retrieve details on the Microsoft Teams team connected to a Microsoft 365 Group #2038
  • Added Get-Microsoft365GroupEndpoints cmdlet to retrieve details on all endpoints connected to a Microsoft 365 Group #2038
  • Added -ExcludeDeletedSites optional parameter to Get-PnPSiteCollectionAppCatalogs which allows for site collections with App Catalogs that are in the recycle bin to be exluded from the results #2044
  • Added -CurrentSite optional parameter to Get-PnPSiteCollectionAppCatalogs which allows for checking if the currently connected to site has a site collection App Catalogs provisioned on it #2044
  • Added ExternalUserExpirationRequired and ExternalUserExpireInDays parameters to Set-PnPTenant cmdlet to handle expiration policy for External users.

Changed

  • Changed Sync-PnPSharePointUserProfilesFromAzureActiveDirectory to map users based on their Ids instead which should resolve some issues around user identities reporting not to exist. You can use the new -IdType option to switch it back to PrincipalName if needed. #1752
  • Changed Add-PnPField now returns specific type taxonomy field type instead of the generic type. [#1888] (#1888)
  • Changed Get-PnPOrgAssetsLibrary to return a proper value of the organisation assets libraries. #1889
  • Bumped .NET Framework version to 4.6.2 as the 4.6.1 is not supported anymore. #1856
  • Changed Add-PnPDataRowsToSiteTemplate, it will now export a datetime field value as UTC string. #1900
  • The cmdlets Remove-PnPFile, Remove-PnPFolder, Move-PnPListItemToRecycleBin, Remove-PnPList, Remove-PnPListItem and Remove-PnPPage will now return the corresponding recycle bin item if they get deleted to the recycle bin. Before they would not return anything. #1783
  • Cmdlets backed by a Microsoft Graph call will now return detailed information when the Graph call fails #1923
  • Changed Get-PnPPlannerBucket to return the buckets in the correct (reversed) order as you see them through the web interface #1922
  • Changed Connect-PnPOnline -Interactive and Connect-PnPOnline -DeviceLogin to no longer suppress errors which should allow for certificate logins to be used. #1933
  • Set-PnPTeamsChannel now uses the Graph v1 endpoint, previously it used the beta endpoint. #1938
  • Service Health cmdlets have been improved and are now consistent with other cmdlets to handle pagination #1938
  • Changed that almost every cmdlet now supports passing in a specific connection using -Connection. If omitted, the default connection will be used. #1949, #2011, #1958
  • Changed connecting with Connect-PnPOnline -Credentials now throwing a clear exception when making a typo in the hostname instead of getting stuck #686
  • Renamed Get-PnPSiteClassification to Get-PnPAvailableSiteClassification to fall in line with Get-PnPAvailableSensitivityLabel. Old name will stay as an alias for backwards compatibility for now, but will be removed in a future version. #2036
  • Renamed Add-PnPSiteClassification to Add-PnPAvailableSiteClassification to fall in line with Get-PnPAvailableSensitivityLabel. Old name will stay as an alias for backwards compatibility for now, but will be removed in a future version. #2036
  • Renamed Update-PnPSiteClassification to Update-PnPAvailableSiteClassification to fall in line with Get-PnPAvailableSensitivityLabel. Old name will stay as an alias for backwards compatibility for now, but will be removed in a future version. #2036
  • Renamed Remove-PnPSiteClassification to Remove-PnPAvailableSiteClassification to fall in line with Get-PnPAvailableSensitivityLabel. Old name will stay as an alias for backwards compatibility for now, but will be removed in a future version. #2036
  • Changed Get-PnPHubSiteChild to have its -Identity parameter become optional. If not provided, the currently connected to site will be used. #2033
  • Changed Get-PnPSiteCollectionAppCatalogs (plural) to Get-PnPSiteCollectionAppCatalog (singular) to follow the naming convention #2044

Fixed

  • Fixed Get-PnPTenantSite cmdlet so that it will return data even if the template name is specified in a different case. #1773
  • Fixed Add-PnPDocumentSet cmdlet so that it will support Document Set Content Type Id specified at the web level. #1796
  • Fixed Get-PnPGroup , Get-PnPGroupPermissions and Set-PnPGroupPermissions cmdlets by making them more consistent. They will also throw error if a group is not found. #1808
  • Fixed Get-PnPFile issue with every 3rd file download in PS 5.
  • Fixed Add-PnPContentTypesFromContentTypeHub, if Site parameter is specified, it will be used now to sync content types from content type hub site.
  • Fixed Get-PnPTeamsTeam, the cmdlet now also returns additional properties like WebUrl, CreatedDateTime, InternalId #1825
  • Fixed Add/Set-PnPListItem , the cmdlet now works correctly with -Batch parameter for field types other than string. #1890
  • Fixed Get-PnPTeamsTeam, the cmdlet now also returns additional properties like WebUrl, CreatedDateTime, InternalId. #1825
  • Fixed Set-PnPListPermission, it will now throw error if the list does not exist. #1891
  • Fixed Invoke-PnPSPRestMethod invalid parsing for SharePoint number columns. #1877
  • Fixed issue with Add/Set-PnPListItem not throwing correct exception for invalid taxonomy values. #1870
  • Fixed Sync-PnPSharePointUserProfilesFromAzureActiveDirectory throwing an "Object reference not set to an instance of an object" exception when providing an empty users collection or incorrect user mapping #1896
  • Fixed Connect-PnPOnline -ReturnConnection also setting the current connection instead of just the returned connection #1919
  • Fixed Disconnect-PnPOnline -Connection also disconnecting other connections next to the provided connection #1919
  • Fixed Set-PnPContext not properly applying the provided context #1919
  • Fixed Graph endpoints for non-commercial clouds for Managed Identity and Teams cmdlets #1944
  • Fixed Add-PnPTeamsUser, the parameter -Channel is now not required. #1953
  • Fixed Get-PnPPlannerTask throwing an object reference exception for completed tasks #1956
  • Fixed Get-PnPUserOneDriveQuota returning the maximum possible quota instead of the actual configured quota on a OneDrive for Business site #1902
  • Fixed Get-PnPFile throwing an exception when trying to download a file containing the plus character #1990
  • Fixed Get-PnPTeamsChannel not working correctly with PowerShell select. #1988
  • Fixed Update-PnPSiteClassification, it was ignoring the Settings parameter. It will now be processed. #1989
  • Fixed Register-PnPAzureADApp issue with app creation after the connection related changes. #1993
  • Fixed Get-PnPFileVersion not able to correctly use piping on the returned object. #1997
  • Fixed Add-PnPListItem not showing field name when it has an improper value assigned to it #2002
  • Fixed Update-PnPSiteClassification not allowing the -UsageGuidelinesUrl to be set without also setting -DefaultClassification #2036
  • Fixed the browser consent dialog throwing an exception when trying to close it #2037
  • Fixed Get-PnPHubSiteChild throwing an exception when passing in a URL that is actually not a hub site #2033
  • Fixed Add-PnPListItem not showing field name when it has an improper value assigned to it #2002
  • Fixed connecting using Connect-PnPOnline -Interactive -ClientId not working well when already having an App-Only connection using the same ClientId #2035
  • Fixed Get-PnPSiteCollectionAppCatalog not returning updated site collection URLs if they had been renamed #2044
  • Fixed cmdlets inheriting from PnPAdminCmdlet not working well on vanity domain SharePoint Online tenants #2052
  • Fixed Copy-PnPList throwing an unauthorized exception when using it with a non SharePoint Online administrator user #2054

Removed

  • Removed Get-PnPAvailableClientSideComponents. Use Get-PnPPageComponent -Page -ListAvailable instead. #1833
  • Removed NextLink property from Get-PnPAzureADUser cmdlet, as it was causing confusion. #1930
  • Deprecated the -Connection parameter of Disconnect-PnPOnline cmdlet, as it was technically not capable of clearing a connection reference anyway #1949

Contributors

  • Ali Robertson [alirobe]
  • Leif Frederiksen [Leif-Frederiksen]
  • Emily Mancini [eemancini]
  • Jim Duncan [sparkitect]
  • Arleta Wanat [PowershellScripts]
  • Yuriy Samorodov [YuriySamorodov]
  • Marc D Anderson [sympmarc]
  • dc366 [dc366]
  • Bart-Jan Dekker [bjdekker]
  • Aleksandr Sapozhkov [shurick81]
  • [spg-iwilson]
  • Jago Pauwels [jagopauwels]
  • [4ndri]
  • Martin Lingstuyl [martinlingstuyl]
  • James May [fowl2]
  • Milan Holemans [milanholemans]
  • Koen Zomers [koenzomers]
  • Mikael Svenson [wobba]
  • Gautam Sheth [gautamdsheth]