From e2cff3a05d1b0c45232ba696320fc31e1470f419 Mon Sep 17 00:00:00 2001 From: Vaibhav Gaddam <188270566+vgaddam-pm@users.noreply.github.com> Date: Tue, 2 Jun 2026 14:12:28 -0500 Subject: [PATCH] Add -AuditOnly parameter to Set-SPORestrictedSiteCreationForApps Added -AuditOnly parameter to cmdlet documentation to indicate its behavior when site creation is restricted. --- .../Set-SPORestrictedSiteCreationForApps.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPORestrictedSiteCreationForApps.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPORestrictedSiteCreationForApps.md index 04c29a2ed..09c309611 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPORestrictedSiteCreationForApps.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPORestrictedSiteCreationForApps.md @@ -138,6 +138,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -AuditOnly + +> Applicable: SharePoint Online + +Shows what would happen if the cmdlet runs without enforcing the policy by only giving audit events when site creation is restricted. + +```yaml +Type: Boolean +Parameter Sets: (All) +Aliases: +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SiteType > Applicable: SharePoint Online