Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to master #4052

Merged
merged 323 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
323 commits
Select commit Hold shift + click to select a range
cc55821
Minor documentation fixes (#3849)
PowershellScripts Mar 25, 2024
474f012
Update CHANGELOG.md
gautamdsheth Mar 25, 2024
2ee34ee
Nightly publish to PowerShell Gallery
erwinvanhunen Mar 26, 2024
0aa2414
Update CHANGELOG.md
gautamdsheth Mar 26, 2024
0526023
Nightly publish to PowerShell Gallery
erwinvanhunen Mar 30, 2024
55a1002
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 3, 2024
41b6c96
new cmdlet unlock-PnPSensitivityLabelEncryptedFile
reshmee011 Apr 3, 2024
f3aec5d
Merge branch 'pnp:dev' into unlocksensitivitylabelencryptedfile
reshmee011 Apr 3, 2024
72ee76b
Add ErrorMessage in batch delete progress
Apr 4, 2024
c08a7e3
Merge branch 'BatchDeleteCmdletUpdate' of https://github.com/msjennyw…
Apr 4, 2024
7f883a6
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 5, 2024
fa7d6e9
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 6, 2024
48d66cd
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 7, 2024
b34cf54
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 8, 2024
9cba8ce
Fix Copy-PnPList handling of lookup columns (#3870)
jackpoz Apr 8, 2024
9d4856a
Update CHANGELOG.md
gautamdsheth Apr 8, 2024
ba6da21
Minor documentation fixes (#3853)
PowershellScripts Apr 8, 2024
d58c799
add example (#3869)
a1mery Apr 8, 2024
24e4546
Update CHANGELOG.md
gautamdsheth Apr 8, 2024
980ea79
Additional settings for SetTenantSite.cs : LoopDefaultSharingLinkRole…
reshmee011 Apr 8, 2024
1163653
Update CHANGELOG.md
gautamdsheth Apr 8, 2024
a8542c5
Adding upload entire local folder to SharePoint Online into `Copy-PnP…
KoenZomers Apr 8, 2024
af18fdd
Merge branch 'dev' into unlocksensitivitylabelencryptedfile
gautamdsheth Apr 8, 2024
a338286
Renaming Progress to Status as discussed
KoenZomers Apr 8, 2024
2b99032
Merge branch 'dev' into BatchDeleteCmdletUpdate
KoenZomers Apr 8, 2024
7c4dbad
Added changelog entry
KoenZomers Apr 8, 2024
ea27043
Merge pull request #3828 from msjennywu/BatchDeleteCmdletUpdate
KoenZomers Apr 8, 2024
fd7f497
Adding changelog entry
KoenZomers Apr 8, 2024
f6ea4d7
Merge branch 'dev' into unlocksensitivitylabelencryptedfile
KoenZomers Apr 8, 2024
2191ceb
Merge pull request #3864 from reshmee011/unlocksensitivitylabelencryp…
KoenZomers Apr 8, 2024
a41cdfc
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 9, 2024
7c0a343
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 10, 2024
8594f72
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 11, 2024
dd740d8
Fix exception in PnPConnectedCmdlet (#3885)
jackpoz Apr 11, 2024
604a606
Update CHANGELOG.md
gautamdsheth Apr 11, 2024
dacff04
Minor Doc change: Add-PnPFolderUserSharingLink (#3881)
cornettew Apr 11, 2024
c35d8eb
Update CHANGELOG.md
gautamdsheth Apr 11, 2024
890d583
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 12, 2024
d670f4c
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 13, 2024
915fea4
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 14, 2024
73d3ff3
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 15, 2024
0ea9173
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 16, 2024
6d58449
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 17, 2024
50c1c05
Adding support for vanity domain tenants in `Get-PnPSiteCollectionApp…
KoenZomers Apr 17, 2024
b63fe4d
Fix NullDereferenceException in Get-PnPUserProfileProperty (#3891)
jackpoz Apr 17, 2024
98dd0bc
Update CHANGELOG.md
gautamdsheth Apr 17, 2024
1386236
replace ParentTerm by ParentTermId (#3890)
a1mery Apr 17, 2024
b60f94e
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 18, 2024
4fb8aa7
Adding support for vanity domains to several cmdlets (#3898)
KoenZomers Apr 18, 2024
68dece0
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 19, 2024
23cd262
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 20, 2024
941ec54
Preparing for Managed Identity support in PnP Framework (#3857)
KoenZomers Apr 20, 2024
a04f709
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 21, 2024
cb6874a
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 22, 2024
ae9460a
Fix destination folder definition in build process on Mac dev machine…
tmaestrini Apr 24, 2024
0d9c4ad
Update CHANGELOG.md
gautamdsheth Apr 24, 2024
0c17265
Minor documentation fixes (#3893)
PowershellScripts Apr 24, 2024
e315203
Feature: bump MSAL.NET to latest version (#3905)
gautamdsheth Apr 25, 2024
74686b7
Nightly publish to PowerShell Gallery
gautamdsheth Apr 25, 2024
9b7ada0
Bump alpine linux version
gautamdsheth Apr 25, 2024
7bec987
Update release.yml
gautamdsheth Apr 25, 2024
21fd1ad
Create codeql.yml (#3915)
gautamdsheth Apr 25, 2024
2eb277c
Update codeql.yml
gautamdsheth Apr 25, 2024
2a87f4a
Update codeql.yml
gautamdsheth Apr 25, 2024
3d38194
Update codeql.yml
gautamdsheth Apr 25, 2024
82e54b2
Update codeql.yml
gautamdsheth Apr 25, 2024
ab981b3
Update codeql.yml
gautamdsheth Apr 25, 2024
f0fffb4
Update codeql.yml
gautamdsheth Apr 25, 2024
4c38376
Update buildpr.yml
gautamdsheth Apr 25, 2024
11634de
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 26, 2024
25e469b
Update hub.docker.md
gautamdsheth Apr 26, 2024
86051b6
Update pnppowershell.dockerFile
gautamdsheth Apr 26, 2024
9a0201c
Update Publish-UnpublishedImage.ps1
gautamdsheth Apr 26, 2024
fa37bcf
Update README.md
gautamdsheth Apr 26, 2024
847b51e
Update dev-containers.md
gautamdsheth Apr 26, 2024
7c183ba
Update dev-containers.md
gautamdsheth Apr 26, 2024
f88d019
Update docker.md
gautamdsheth Apr 26, 2024
e8079c2
Create scorecard.yml
gautamdsheth Apr 26, 2024
9776438
Update scorecard.yml
gautamdsheth Apr 26, 2024
2703538
Update scorecard.yml
gautamdsheth Apr 26, 2024
150bea0
Update scorecard.yml
gautamdsheth Apr 26, 2024
fdbe662
Update scorecard.yml
gautamdsheth Apr 26, 2024
901a7a1
Update scorecard.yml
gautamdsheth Apr 26, 2024
4378e5b
Update scorecard.yml
gautamdsheth Apr 26, 2024
409fae3
Update scorecard.yml
gautamdsheth Apr 26, 2024
b9916f4
Update README.md
gautamdsheth Apr 26, 2024
c9cf67f
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 27, 2024
d698ade
Update codeql.yml
gautamdsheth Apr 27, 2024
41eee00
Update closestaleissues.yml
gautamdsheth Apr 27, 2024
1111593
Update cleanupnightlyreleases.yml
gautamdsheth Apr 27, 2024
a0fdb6e
Update buildpr.yml
gautamdsheth Apr 27, 2024
46e1db7
Update buildexternalhelp.yml
gautamdsheth Apr 27, 2024
e8696d2
Update buildpr.yml
gautamdsheth Apr 27, 2024
5c56c27
Update -Schema parameter documentation (#3923)
jackpoz Apr 27, 2024
ec6de18
Update buildpr.yml
gautamdsheth Apr 27, 2024
700768d
Update builddocsite.yml
gautamdsheth Apr 27, 2024
415a345
Update checkdocumentationbuild.yml
gautamdsheth Apr 27, 2024
f2dbdcb
Update nightlyrelease.yml
gautamdsheth Apr 27, 2024
a0f6537
Update Publish-UnpublishedImage.ps1
gautamdsheth Apr 27, 2024
be4e6a9
Update pnppowershell.dockerFile
gautamdsheth Apr 27, 2024
8ced476
Update Publish-UnpublishedImage.ps1
gautamdsheth Apr 27, 2024
797392f
Update release.yml
gautamdsheth Apr 27, 2024
7142878
Update nightlyrelease.yml
gautamdsheth Apr 27, 2024
71f174e
Update nightlyrelease.yml
gautamdsheth Apr 27, 2024
23fc810
Update release.yml
gautamdsheth Apr 27, 2024
aa79492
Update LICENSE
gautamdsheth Apr 27, 2024
1dbf806
Update shared.ps1
gautamdsheth Apr 27, 2024
90aa6d8
Delete samples/Provisioning.SelfHostedWithAzureWebJob/Engine/nuget.exe
gautamdsheth Apr 27, 2024
ca2104e
Update codeql.yml
gautamdsheth Apr 27, 2024
f4d8efa
Create SECURITY.md
gautamdsheth Apr 27, 2024
0e1ccfe
Update codeql.yml
gautamdsheth Apr 27, 2024
31a311d
Update README.md
gautamdsheth Apr 27, 2024
16b31f6
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 28, 2024
e2c01f1
Update README.md
gautamdsheth Apr 28, 2024
ef06475
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 29, 2024
a3940f3
Nightly publish to PowerShell Gallery
erwinvanhunen Apr 30, 2024
b884bcb
Nightly publish to PowerShell Gallery
erwinvanhunen May 1, 2024
36bc9cb
Nightly publish to PowerShell Gallery
erwinvanhunen May 2, 2024
ded99f5
Nightly publish to PowerShell Gallery
erwinvanhunen May 3, 2024
e3365bb
Nightly publish to PowerShell Gallery
erwinvanhunen May 4, 2024
feba329
Updated spo-tenant with additional tenant settings (#3930)
reshmee011 May 4, 2024
5a75c15
Nightly publish to PowerShell Gallery
erwinvanhunen May 5, 2024
3b0248d
Nightly publish to PowerShell Gallery
erwinvanhunen May 6, 2024
e2889ca
Nightly publish to PowerShell Gallery
erwinvanhunen May 7, 2024
597e586
Nightly publish to PowerShell Gallery
erwinvanhunen May 8, 2024
4c6400b
Nightly publish to PowerShell Gallery
erwinvanhunen May 9, 2024
aef1429
Nightly publish to PowerShell Gallery
erwinvanhunen May 10, 2024
2728c0e
Nightly publish to PowerShell Gallery
erwinvanhunen May 11, 2024
4aa35ce
Nightly publish to PowerShell Gallery
erwinvanhunen May 12, 2024
d14982a
Nightly publish to PowerShell Gallery
erwinvanhunen May 13, 2024
f05eb45
Nightly publish to PowerShell Gallery
erwinvanhunen May 14, 2024
d0e7d77
Nightly publish to PowerShell Gallery
erwinvanhunen May 15, 2024
af68c12
Nightly publish to PowerShell Gallery
erwinvanhunen May 16, 2024
6925092
Nightly publish to PowerShell Gallery
erwinvanhunen May 17, 2024
23677bb
Nightly publish to PowerShell Gallery
erwinvanhunen May 18, 2024
72c7267
Nightly publish to PowerShell Gallery
erwinvanhunen May 19, 2024
88ec8ef
Nightly publish to PowerShell Gallery
erwinvanhunen May 20, 2024
7409316
Update builddocsite.yml
gautamdsheth May 22, 2024
d576b53
Added Exchange Online properties of Microsoft 365 Groups (#3958)
KoenZomers May 22, 2024
000b526
Allow to pass Group parameter to Remove-PnPGroupMember from pipeline …
jackpoz May 22, 2024
cb3f013
Update CHANGELOG.md
gautamdsheth May 22, 2024
0720ddf
Adds documentation for missing parameter MarkNewFilesSensitiveByDefau…
reshmee011 May 22, 2024
247464f
Update SiteIDtoURL.ps1
salarson May 22, 2024
562cda3
Update version.txt
gautamdsheth May 23, 2024
625313b
Nightly publish to PowerShell Gallery
gautamdsheth May 23, 2024
d6d8b2b
Update builddocsite.yml
gautamdsheth May 23, 2024
2cb81fa
closes #3945 (#3947)
reshmee011 May 23, 2024
b7a25e5
Fixed some grammar issues (#3960)
ChVeen May 23, 2024
a673753
Update CHANGELOG.md
gautamdsheth May 23, 2024
3c12e3a
Bump MSAL.NET to latest
gautamdsheth May 23, 2024
b211588
Change runner back to linux
gautamdsheth May 23, 2024
f5de7b4
Amend to return additional parameters (#3948)
reshmee011 May 23, 2024
692786b
New cmdlet for getcontainerType and minor changes to docs (#3946)
reshmee011 May 23, 2024
d3c7f47
Update CHANGELOG.md
gautamdsheth May 23, 2024
99dd39b
Allow to pass empty values to Set-PnPTenantCdnPolicy (#3937)
jackpoz May 23, 2024
e550eff
Update CHANGELOG.md
gautamdsheth May 23, 2024
6982aa1
Nightly publish to PowerShell Gallery
erwinvanhunen May 24, 2024
5426135
Nightly publish to PowerShell Gallery
erwinvanhunen May 25, 2024
2ba7d37
Nightly publish to PowerShell Gallery
erwinvanhunen May 26, 2024
f67740b
Nightly publish to PowerShell Gallery
erwinvanhunen May 27, 2024
e892678
Nightly publish to PowerShell Gallery
erwinvanhunen May 28, 2024
bab269c
Update Disable-PnPTenantServicePrincipal.md (#3975)
markgort86 May 28, 2024
2f7c4ce
Update CHANGELOG.md
gautamdsheth May 28, 2024
f2ac568
Add additional settings RecycleBinRetentionPeriod,OneDriveBlockGuests…
reshmee011 May 28, 2024
89f9fe3
Update CHANGELOG.md
gautamdsheth May 28, 2024
3eed746
Improve security
gautamdsheth May 28, 2024
a765634
Nightly publish to PowerShell Gallery
erwinvanhunen May 29, 2024
95f50fe
Files for new cmdlets Set-PnPTenantRestrictedSearchMode and GetTenant…
reshmee011 May 29, 2024
f118317
Update CHANGELOG.md
gautamdsheth May 29, 2024
63a1b5c
Updated for MacOS
erwinvanhunen May 29, 2024
1c46d81
Additional tenant settings from api/SPOInternalUseOnly.TenantAdminSet…
reshmee011 May 29, 2024
d873357
Nightly publish to PowerShell Gallery
erwinvanhunen May 30, 2024
2140590
Remove obsolete UserVoiceForFeedbackEnabled parameter in SetTenant.cs…
gautamdsheth May 30, 2024
87f3268
Update CHANGELOG.md
gautamdsheth May 30, 2024
aebec9a
chore: Update Set-PnPHomeSite.md and SetHomeSite.cs (#3986)
gautamdsheth May 30, 2024
7ee6d49
Update PnPTenantSite to include additional properties and their sette…
gautamdsheth May 30, 2024
0d8c5ba
Update CHANGELOG.md
gautamdsheth May 30, 2024
1d475e7
feat: Add ExecuteQueryRetry to Admin commands for improved reliabilit…
gautamdsheth May 30, 2024
c4aec03
Nightly publish to PowerShell Gallery
erwinvanhunen May 31, 2024
76d1862
cmdlet to add home site (#3989)
reshmee011 May 31, 2024
3db83bc
Update CHANGELOG.md
gautamdsheth May 31, 2024
4ac757f
Added new cmdlet to return modern page scheduling enabled status
erwinvanhunen May 31, 2024
a9f689c
Moved cmdlets to Pages namespace
erwinvanhunen May 31, 2024
258e683
Update CHANGELOG.md
gautamdsheth May 31, 2024
982ee41
feat: Add SortByStorage parameter to GetContainer cmdlet & fix pagina…
gautamdsheth May 31, 2024
a2fa5d4
Update CHANGELOG.md
gautamdsheth May 31, 2024
db6ac65
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 1, 2024
34d8f95
feat: Include sensitivity labels in Get-PnPMicrosoft365Group command …
gautamdsheth Jun 1, 2024
96ecc26
Update CHANGELOG.md
gautamdsheth Jun 1, 2024
f80d541
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 2, 2024
bdd6d09
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 3, 2024
346c36f
Updated contributors
erwinvanhunen Jun 3, 2024
190ef86
Remove uservoice property since it is deprecated
gautamdsheth Jun 3, 2024
c5892fb
Update CHANGELOG.md
gautamdsheth Jun 3, 2024
36b055e
Trying macos runner
gautamdsheth Jun 3, 2024
edee0ba
Update buildpr.yml
gautamdsheth Jun 3, 2024
14bfc3a
Fix New-PnPTeamsTeam sometimes "Conflict (409): Team already exists" …
jackpoz Jun 3, 2024
636bc84
Update CHANGELOG.md
gautamdsheth Jun 3, 2024
71363e6
Feature: added new cmdlet Get-PnPFileSensitivityLabelInfo (#3994)
gautamdsheth Jun 3, 2024
56a4d6e
Update CHANGELOG.md
gautamdsheth Jun 3, 2024
6445a0f
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 4, 2024
42024c0
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 5, 2024
3186632
chore: Update Get-PnPHomeSite to include Viva Connections functionali…
gautamdsheth Jun 5, 2024
43e230f
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 6, 2024
de4f8e5
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 7, 2024
8306c9a
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 8, 2024
cc0b3c7
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 9, 2024
5279429
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 10, 2024
4613ede
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 11, 2024
3d6ef67
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 12, 2024
9a7d373
Updated permissions according to findings shared in https://github.co…
KoenZomers Jun 12, 2024
cc2484b
Merge branch 'dev' of https://github.com/KoenZomers/pnppowershell int…
KoenZomers Jun 12, 2024
1e174e3
Merge pull request #4011 from KoenZomers/dev
KoenZomers Jun 12, 2024
3c07e89
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 13, 2024
d911902
Removing faulty brackets
KoenZomers Jun 13, 2024
b8f4fae
Fixing update done through #3958 (#4013)
KoenZomers Jun 13, 2024
5948542
Update SetSiteVersionPolicy.cs (#4005)
Studermarc Jun 13, 2024
c10e437
Update CHANGELOG.md
gautamdsheth Jun 13, 2024
6adf7fb
Security: Bump MSAL.NET to latest (#4018)
gautamdsheth Jun 13, 2024
c0745e9
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 14, 2024
2e1dbff
Updated synopsis for Graph API limitations
veronicageek Jun 14, 2024
e273ac2
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 15, 2024
d20d006
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 16, 2024
c6b1819
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 17, 2024
81e332f
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 18, 2024
14ad269
Updated documentation for Set-PnPFolderPermission (#4025)
PaoloPia Jun 18, 2024
57aa30e
Update Set-PnPList.md (#4020)
markgort86 Jun 18, 2024
3d9521f
New cmdlet for Get-PnPTenantRestrictedSearchAllowedList (#3997)
reshmee011 Jun 18, 2024
1b8d11a
Update CHANGELOG.md
gautamdsheth Jun 18, 2024
ceede12
Feature #4028 : return EnableAIPIntegation in Get-PnPTenant cmdlet (#…
gautamdsheth Jun 18, 2024
95259a7
Fix #3908: improve connection validation in ConnectOnline.cs (#4031)
gautamdsheth Jun 18, 2024
dfda0e5
Adding `-IsSharePointAddInsDisabled` to `Set-PnPTenant` (#4032)
KoenZomers Jun 18, 2024
68f06b0
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 19, 2024
5b1b025
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 20, 2024
f057796
Fix error handling in Remove-PnPTeamsChannel (#4036)
jackpoz Jun 20, 2024
92e54b9
Update CHANGELOG.md
gautamdsheth Jun 20, 2024
5d53167
More settings related to version trim ,ReadOnlyForUnmanagedDevices an…
reshmee011 Jun 20, 2024
f08c226
Update CHANGELOG.md
gautamdsheth Jun 20, 2024
92077a3
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 21, 2024
aa60757
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 22, 2024
6cf2728
Update Copy-PnPFile.md
veronicageek Jun 22, 2024
78f7f9d
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 23, 2024
8c9c2ca
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 24, 2024
12df189
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 25, 2024
b331e3f
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 26, 2024
11dd5b0
Fix #4041 : issue retrieving loop sharing information (#4047)
gautamdsheth Jun 26, 2024
4d1f7ef
Update AddListFoldersToSiteTemplate.cs (#3918)
mhazebroucq Jun 26, 2024
fd298f2
Update CHANGELOG.md
gautamdsheth Jun 26, 2024
235e267
Nightly publish to PowerShell Gallery
erwinvanhunen Jun 27, 2024
1bb29bd
Bump references for 2.5 release
gautamdsheth Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/builddocsite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'

permissions: read-all

jobs:
documentation:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Wait for actions to finish
uses: softprops/turnstyle@v1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/buildexternalhelp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- dev
paths: 'documentation/**'

permissions: read-all

jobs:
build:

Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/buildpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ on:
- dev
paths:
- 'src/**'
#push:
# branches:
# - dev
# paths:
# - 'src/**'

permissions: read-all

jobs:
build_dev_branch:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- name: Checkout PnP.Framework
uses: actions/checkout@v4
Expand Down Expand Up @@ -55,5 +53,5 @@ jobs:
run: dotnet restore -p:PnPFrameworkPath="..\..\..\pnpframework\src\lib\" -p:PnPCoreSdkPath="..\..\..\pnpcore\src\sdk\"
working-directory: powershell/src
- name: Build PnP.PowerShell
run: dotnet build --configuration Debug --no-restore -p:PnPFrameworkPath="/home/runner/work/powershell/powershell/pnpframework/src/lib/" -p:PnPCoreSdkPath="/home/runner/work/powershell/powershell/pnpcore/src/sdk/"
run: dotnet build --configuration Debug --no-restore -p:PnPFrameworkPath="/Users/runner/work/powershell/powershell/pnpframework/src/lib/" -p:PnPCoreSdkPath="/Users/runner/work/powershell/powershell/pnpcore/src/sdk/"
working-directory: powershell/src
3 changes: 3 additions & 0 deletions .github/workflows/checkdocumentationbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
paths:
- 'documentation/**'
- 'pages/**'

permissions: read-all

jobs:
docfx:

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cleanupnightlyreleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'

permissions: read-all

jobs:
# This workflow contains a single job called "cleanup"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/closestaleissues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
schedule:
- cron: "30 1 * * *"

permissions: read-all

jobs:
stale:
runs-on: ubuntu-latest
Expand Down
62 changes: 62 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ dev ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ dev ]
schedule:
- cron: '36 19 * * 2'

permissions: read-all


jobs:
analyze:
name: Analyze
runs-on: windows-latest
permissions:
security-events: write
contents: read

strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.x
7.x
- name: Install dependencies
run: dotnet restore
working-directory: src/Commands
- name: Build ⚙
run: dotnet build PnP.PowerShell.csproj --nologo --configuration debug --no-incremental --verbosity diagnostic --disable-build-servers --force
working-directory: src/Commands
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
9 changes: 6 additions & 3 deletions .github/workflows/nightlyrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
workflow_dispatch:
schedule:
- cron: '30 2 * * *'

permissions: read-all

jobs:
build:

Expand Down Expand Up @@ -73,14 +76,14 @@ jobs:
- name: Build an image
run: |
VERSION=$(cat ./version.txt)-nightly
docker build --build-arg "PNP_MODULE_VERSION=$VERSION" --build-arg "BASE_IMAGE_SUFFIX=alpine-3.14" --build-arg "INSTALL_USER=root" --build-arg "SKIP_PUBLISHER_CHECK=False" ./docker -f ./docker/pnppowershell.dockerFile --tag ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-alpine-3.14;
docker build --build-arg "PNP_MODULE_VERSION=$VERSION" --build-arg "BASE_IMAGE_SUFFIX=alpine-3.17" --build-arg "INSTALL_USER=root" --build-arg "SKIP_PUBLISHER_CHECK=False" ./docker -f ./docker/pnppowershell.dockerFile --tag ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-alpine-3.17;
- name: Tag the image
run: |
VERSION=$(cat ./version.txt)-nightly
docker image tag ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-alpine-3.14 ${{ secrets.DOCKER_ORG }}/powershell:nightly
docker image tag ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-alpine-3.17 ${{ secrets.DOCKER_ORG }}/powershell:nightly
- name: Push the image
run: |
VERSION=$(cat ./version.txt)-nightly
docker login -u ${{ secrets.DOCKER_USERNAME }} -p '${{ secrets.DOCKER_PASSWORD }}'
docker push ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-alpine-3.14
docker push ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-alpine-3.17
docker push ${{ secrets.DOCKER_ORG }}/powershell:nightly
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
workflow_dispatch:
schedule:
- cron: '30 3 * * *'

permissions: read-all

jobs:
publish-docker-windows-2022:
runs-on: windows-2022
Expand Down Expand Up @@ -31,4 +34,4 @@ jobs:
shell: pwsh
run: |
$securedPassword = ConvertTo-SecureString "${{ secrets.DOCKER_PASSWORD }}" -AsPlainText -Force
./docker/Publish-UnpublishedImage.ps1 PnP.PowerShell ${{ secrets.DOCKER_USERNAME }} ${{ secrets.DOCKER_ORG }} powershell $securedPassword "root" $false "alpine-3.14"
./docker/Publish-UnpublishedImage.ps1 PnP.PowerShell ${{ secrets.DOCKER_USERNAME }} ${{ secrets.DOCKER_ORG }} powershell $securedPassword "root" $false "alpine-3.17"
58 changes: 58 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Scorecard analysis workflow
on:
push:
# Only the default branch is supported.
branches:
- dev
schedule:
# Weekly on Saturdays.
- cron: '30 1 * * 6'

permissions: read-all

jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
# Needed for Code scanning upload
security-events: write
# Needed for GitHub OIDC token if publish_results is true
id-token: write

steps:
- name: "Checkout code"
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
ref: ${{ github.event.inputs.branch }}
path: ${{ github.sha }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
with:
results_file: results.sarif
results_format: sarif
# Scorecard team runs a weekly scan of public GitHub repos,
# see https://github.com/ossf/scorecard#public-data.
# Setting `publish_results: true` helps us scale by leveraging your workflow to
# extract the results instead of relying on our own infrastructure to run scans.
# And it's free for you!
publish_results: true

# Upload the results as artifacts (optional). Commenting out will disable
# uploads of run results in SARIF format to the repository Actions tab.
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
- name: "Upload artifact"
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@8f596b4ae3cb3c588a5c46780b86dd53fef16c52 # v3.25.2
with:
sarif_file: results.sarif
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "src/PnP.PowerShell.sln"
}
68 changes: 68 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,76 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Added

- Added `New-PnPLibraryFileVersionBatchDeleteJob` and `New-PnPSiteFileVersionBatchDeleteJob` cmdlets to queue a job for deleting the file versions based on age. [#3799](https://github.com/pnp/powershell/pull/3799)
- Added `New-PnPLibraryFileVersionExpirationReportJob` and `New-PnPSiteFileVersionExpirationReportJob` cmdlets to queue a job for generating a file version expiration report for all files in a document library or site. [#3799](https://github.com/pnp/powershell/pull/3799)
- Added `Remove-PnPLibraryFileVersionBatchDeleteJob` and `Remove-PnPSiteFileVersionBatchDeleteJob` cmdlets to cancel the job for deleting file versions based on age. [#3799](https://github.com/pnp/powershell/pull/3799)
- Added `Get-PnPLibraryFileVersionExpirationReportJobProgress` and `Get-PnPSiteFileVersionExpirationReportJobProgress` cmdlets to getting the progress for the job for file versions based on age. [#3799](https://github.com/pnp/powershell/pull/3799)
- Added `-UseVersionExpirationReport` parameter to `Get-PnPFileVersion` cmdlet to get the version expiration report for a single file. [#3799](https://github.com/pnp/powershell/pull/3799)
- Added `-DelayDenyAddAndCustomizePagesEnforcement` parameter to `Set-PnPTenant` cmdlet which allows delay of the change to custom script set on the Tenant until mid-November 2024. [#3815](https://github.com/pnp/powershell/pull/3815)
- Added additional permissions for Graph application permission validate sets. [#3835](https://github.com/pnp/powershell/issues/3835)
- Added the ability to upload entire local folders with files and optionally subfolders to SharePoint Online into 'Copy-PnPFolder' [#3850](https://github.com/pnp/powershell/pull/3850)
- Added `LoopDefaultSharingLinkRole`, `DefaultShareLinkScope`, `DefaultShareLinkRole`, `LoopDefaultSharingLinkScope` and `DefaultLinkToExistingAccessReset` parameters to `Set-PnPTenant` cmdlet. [#3874](https://github.com/pnp/powershell/pull/3874)
- Added `Unlock-PnPSensitivityLabelEncryptedFile` which allows the encryption to be removed from a file [#3864](https://github.com/pnp/powershell/pull/3864)
- Added `Get-PnPLibraryFileVersionBatchDeleteJobStatus` and `Get-PnPSiteFileVersionBatchDeleteJobStatus` to check on the status of applying file based version expiration based on age on a library and site level [#3828](https://github.com/pnp/powershell/pull/3828)
- Added support for `Get-PnPSiteCollectionAppCatalog` and `Get-PnPTenantSite` to be used with vanity domain tenants [#3895](https://github.com/pnp/powershell/pull/3895)
- Added support for using vanity domain tenants with `Grant-PnPTenantServicePrincipalPermission`, `Revoke-PnPTenantServicePrincipalPermission`, `Set-PnPWebTheme`, `Invoke-PnPListDesign`, `Set-PnPSite`, `Add-PnPSiteDesignTask`, `Get-PnPSiteDesignRun`, `Get-PnPSiteDesignTask` and `Invoke-PnPSiteDesign` cmdlets [#3898](https://github.com/pnp/powershell/pull/3898)
- Added `-Detailed` to `Get-PnPMicrosoft365Group` which allows retrieval of the AllowExternalSenders, IsSubscribedByMail and AutoSubscribeNewMembers properties of the group [#3958](https://github.com/pnp/powershell/pull/3958)
- Added `-RequireSenderAuthenticationEnabled` and `-AutoSubscribeNewMembers` to `Set-PnPMicrosoft365Group` which allows setting these properties on a group [#3958](https://github.com/pnp/powershell/pull/3958)
- Added `Get-PnPContainerType` cmdlet to retrieve the list of Container Types created for a SharePoint Embedded Application in the tenant. [#3946](https://github.com/pnp/powershell/pull/3946)
- Added `-RecycleBinRetentionPeriod`,`-OneDriveBlockGuestsAsSiteAdmin`,`-OneDriveDefaultShareLinkRole`,`-OneDriveDefaultShareLinkScope` and `-OneDriveDefaultLinkToExistingAccess` parameters to the `Set-PnPTenant` cmdlet. [#3977](https://github.com/pnp/powershell/pull/3977)
- Added `Get-PnPTenantRestrictedSearchMode` and `Set-PnPTenantRestrictedSearchMode` cmdlets to enable and set up Restricted SharePoint Search. [#3976](https://github.com/pnp/powershell/pull/3976)
- Added `Get-PnPTenantInternalSetting` cmdlet to retrieve internal tenant settings not exposed via CSOM SDK. [#3902](https://github.com/pnp/powershell/pull/3902)
- Added `Add-PnPHomeSite` cmdlet to add a home site to your tenant. [#3989](https://github.com/pnp/powershell/pull/3989)
- Added `Get-PnPPageSchedulingEnabled` cmdlet to get the state of the modern page schedule feature in the library. [PR](https://github.com/pnp/powershell/commit/4ac757fc2072233529b38b2b39c36ea6b941e003)
- Added `-IncludeSensitivityLabels` parameter to `Get-PnPMicrosoft365Group` cmdlet to retrieve sensitivity labels assigned to M365 Groups. [#3991](https://github.com/pnp/powershell/pull/3991)
- Added `Get-PnPFileSensitivityLabelInfo` cmdlet to retrieve sensitivity label information about a file in a SharePoint site. [#3994](https://github.com/pnp/powershell/pull/3994)
- Added `Get-PnPTenantRestrictedSearchAllowedList` cmdlet to retrieve existing list of URLs in the allowed list. [#3997](https://github.com/pnp/powershell/pull/3997)
- Added `-IsSharePointAddInsDisabled` to the `Set-PnPTenant` cmdlet which allows disabling SharePoint Add-ins [#4032](https://github.com/pnp/powershell/pull/4032)
- Added `-RestrictContentOrgWideSearch`, `-ReadOnlyForUnmanagedDevices` and `-InheritVersionPolicyFromTenant` parameters to `Set-PnPTenantSite` cmdlet. [#4024](https://github.com/pnp/powershell/pull/4024)

### Fixed

- Fixed `Get-PnPChangeLog -Version 2.3.0` not returning the changelog for that version [#3804](https://github.com/pnp/powershell/pull/3804)
- Fixed `Get-PnPFlow` cmdlet throwing time out error due to incorrect URL used in HTTP request. [#3820](https://github.com/pnp/powershell/pull/3820)
- Fixed `Copy-PnPList` cmdlet to better handle lookup columns. [#3870](https://github.com/pnp/powershell/pull/3870)
- Fixed NullDereferenceException happening when an exception is logged in PnPConnectedCmdlet but the connection passed through -Connection parameter is not the last one. [#3885](https://github.com/pnp/powershell/pull/3885)
- Fixed NullDereferenceException in `Get-PnPUserProfileProperty` cmdlet when the user profile doesn't exist, showing a better error message. [#3891](https://github.com/pnp/powershell/pull/3891)
- Fixed the dev build process on Mac OS devices. [#3907](https://github.com/pnp/powershell/pull/3907)
- Fixed `Get-PnPContainer` cmdlet to also handle pagination in case of large no. of containers in a tenant. [#3990](https://github.com/pnp/powershell/pull/3990)
- Fixed `New-PnPTeamsTeam` cmdlet to better handle error specifically such as `Conflict (409): Team already exists`. [#3992](https://github.com/pnp/powershell/pull/3992)
- Fixed `Remove-PnPTeamsChannel` issue where it was throwing incorrect exception. [#4036](https://github.com/pnp/powershell/pull/4036)

### Changed
- Renamed `Get-PnPSiteFileVersionExpirationReportJobProgress` to `Get-PnPSiteFileVersionExpirationReportJobStatus` [#3828](https://github.com/pnp/powershell/pull/3828)
- Renamed `Get-PnPSiteVersionPolicyProgress` to `Get-PnPSiteVersionPolicyStatus` [#3828](https://github.com/pnp/powershell/pull/3828)
- `Remove-PnPGroupMember` cmdlet now supports removing members from pipeline. [#3955](https://github.com/pnp/powershell/pull/3955)
- Changed `Set-PnPTenantCdnPolicy` cmdlet to allow PolicyValue parameter to be an empty string or $null, while still being mandatory. [#3937](https://github.com/pnp/powershell/pull/3937)
- Marked `UserVoiceForFeedbackEnabled` as obsolete in `Set-PnPTenant` cmdlet as Microsoft doesn't support this. [#3985](https://github.com/pnp/powershell/pull/3985)
- `Get-PnPTenantSite` cmdlet now returns additional properties like `ArchiveStatus`, `EnableAutoExpirationVersionTrim` and many more. [#3987](https://github.com/pnp/powershell/pull/3987)
- `Add-PnPListFoldersToSiteTemplate` cmdlet now wont export RoleBindings which are `Limited Access`. It caused issues while applying the template. [#3918](https://github.com/pnp/powershell/pull/3918)

### Removed

- Removed `UserVoiceForFeedbackEnabled` property from `Get-PnPTenant` as it is deprecated. [PR](https://github.com/pnp/powershell/commit/190ef864d2e20249658eff93feadf0effb24882d)

### Contributors

- Maxime Hazebroucq [mhazebroucq]
- Paolo Pialorsi [PaoloPia]
- Marc Studer [Studermarc]
- Mark Gort [markgort86]
- Christian Veenhuis [ChVeen]
- Tobias Maestrini [tmaestrini]
- WCONFR [WCONFR]
- Jenny Wu [msjennywu]
- Reshmee Auckloo [reshme011]
- Aimery Thomas [a1mery]
- Arleta Wanat [PowershellScripts]
- Giacomo Pozzoni [jackpoz]
- [blarrywangmsft]
- Koen Zomers [koenzomers]
- Erwin van Hunen [erwinvanhunen]

## [2.4.0]

### Added
Expand Down
8 changes: 2 additions & 6 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
Microsoft 365 Patterns and Practices (PnP)
MIT License

The MIT License (MIT)

Copyright (c) Microsoft Corporation

All rights reserved.
Copyright (c) 2024 Microsoft 365 & Power Platform Community

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Last version | Last nightly version
-------------|---------------------
[![PnP.PowerShell](https://img.shields.io/powershellgallery/v/pnp.powershell)](https://www.powershellgallery.com/packages/PnP.PowerShell/) | [![PnP.PowerShell](https://img.shields.io/powershellgallery/v/pnp.powershell?include_prereleases)](https://www.powershellgallery.com/packages/PnP.PowerShell/)

[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/pnp/powershell/badge)](https://scorecard.dev/viewer/?uri=github.com/pnp/powershell)

This module is a successor of the [PnP-PowerShell](https://github.com/pnp/pnp-powershell) module. The original cmdlets only work on Windows and Windows PowerShell and supports SharePoint On-Premises (2013, 2016 and 2019) and SharePoint Online. This version of the cmdlets is cross-platform (i.e it works on Windows, MacOS and Linux) but it will only support SharePoint Online. Going forward we will only be **actively maintaining the cross-platform PnP PowerShell** module.

For more information about installing or upgrading to this module, please refer to [the documentation](https://pnp.github.io/powershell/articles/index.html).
Expand Down
18 changes: 18 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Security Policy

## Disclaimer

**ALL CODE IN THIS REPOSITORY IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**

---

## Supported Versions

The only supported version is the latest one.


## Reporting a Vulnerability

To report a vulnerability, please [create an issue](https://github.com/pnp/powershell/issues/new/choose) and tag the issue as `vulnerability-suspected`.

Upon receipt of the issue, we will flag it as having a suspected vulnerability and request the support from the community to identify and resolve, if possible, the issue.
7 changes: 5 additions & 2 deletions build/Build-Debug.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,13 @@ if ($LASTEXITCODE -eq 0) {
# Load the Module in a new PowerShell session
$scriptBlock = {
$documentsFolder = [environment]::getfolderpath("mydocuments");

if ($IsLinux -or $isMacOS) {
if ($IsLinux) {
$destinationFolder = "$documentsFolder/.local/share/powershell/Modules/PnP.PowerShell"
}
elseif ($IsMacOS) {
$destinationFolder = "~/.local/share/powershell/Modules/PnP.PowerShell"
}
else {
$destinationFolder = "$documentsFolder/PowerShell/Modules/PnP.PowerShell"
}
Expand Down
Loading
Loading