Skip to content

Implementation to set "DelayContentSecurityPolicyEnforcement" on Tenant#5288

Merged
gautamdsheth merged 3 commits intopnp:devfrom
NishkalankBezawada:feature/New-Prop-DelayCSP
Apr 14, 2026
Merged

Implementation to set "DelayContentSecurityPolicyEnforcement" on Tenant#5288
gautamdsheth merged 3 commits intopnp:devfrom
NishkalankBezawada:feature/New-Prop-DelayCSP

Conversation

@NishkalankBezawada
Copy link
Copy Markdown
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

What is in this Pull Request ?

Added a new property to Set-PnPTenant commandlet, to set DelayContentSecurityPolicyEnforcement on the tenant.

Note : Delay of the enforcement is upto 90 days, until June 1, 2026

Examples

Set-PnPTenant -DelayContentSecurityPolicyEnforcement $true

Link to the article

Thanks,
Nish

@reshmee011
Copy link
Copy Markdown
Collaborator

@NishkalankBezawada : Looks good! Update the documentation to add the additional parameter.

@NishkalankBezawada
Copy link
Copy Markdown
Collaborator Author

@NishkalankBezawada : Looks good! Update the documentation to add the additional parameter.

Hey @reshmee011, Its now done :)

@gautamdsheth
Copy link
Copy Markdown
Collaborator

hey @NishkalankBezawada - please also add it to changelog and for get-pnptenant as well, I guess is just going to be an additional boolean variable in the model.

@NishkalankBezawada
Copy link
Copy Markdown
Collaborator Author

NishkalankBezawada commented Apr 14, 2026

hey @NishkalankBezawada - please also add it to changelog and for get-pnptenant as well, I guess is just going to be an additional boolean variable in the model.

Hey @gautamdsheth, I have tested it already and Get-PnPTenant is returning the variable. This variable has existed already in SPOTenant model as DelayContentSecurityPolicyEnforcement

@gautamdsheth
Copy link
Copy Markdown
Collaborator

Awesome stuff, merging it !

@gautamdsheth gautamdsheth merged commit 2978650 into pnp:dev Apr 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants