Skip to content

Add PolicyName parameter to Start-SPORestrictedAccessForSitesInsights#1182

Merged
Ruchika-mittal01 merged 4 commits into
MicrosoftDocs:mainfrom
kgunda1997:user/kgunda/cmdletdocumentation
Jun 18, 2026
Merged

Add PolicyName parameter to Start-SPORestrictedAccessForSitesInsights#1182
Ruchika-mittal01 merged 4 commits into
MicrosoftDocs:mainfrom
kgunda1997:user/kgunda/cmdletdocumentation

Conversation

@kgunda1997

Copy link
Copy Markdown
Contributor

Documents the new -PolicyName parameter on Start-SPORestrictedAccessForSitesInsights, used to scope the Actions Blocked by Policy report to a single policy.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 1e7019c:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Start-SPORestrictedAccessForSitesInsights.md ❌Error Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPORestrictedAccessForSitesInsights.md ⚠️Warning Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ⚠️Warning Details

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Start-SPORestrictedAccessForSitesInsights.md

  • Line 0, Column 0: [Error: PSMD2Yaml_FileProcessFailed] Failed to process file: Failed to convert Start-SPORestrictedAccessForSitesInsights.md to YAML file by PlatyPS, need to check the content, can execute Measure-PlatyPSMarkdown to obtain diagnostics.

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPORestrictedAccessForSitesInsights.md

  • Line 0, Column 0: [Warning: file-not-found - See documentation] Invalid file link: './Start-SPORestrictedAccessForSitesInsights.yml'.

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md

  • Line 0, Column 0: [Warning: PSMD2Yaml_InconsistentCmdletsInModule] Inconsistent cmdlets found in module: Microsoft.Online.SharePoint.PowerShell. 1 cmdlets listed in the module file (PlatyPS output YAML) but not in the module folder or failed to process: Start-SPORestrictedAccessForSitesInsights.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@github-actions github-actions Bot requested a review from sachin-lalwani June 17, 2026 19:11
@github-actions

Copy link
Copy Markdown

@sachin-lalwani
You've been added as a reviewer to this pull request because you're listed as a Content Lead for the product area or feature covered by one or more articles in this PR.

Before this PR can be merged, a Content Lead needs to add the Sign off label to it. Only one of the listed reviewers needs to add the Sign off label. Before you sign off a PR, confirm the following:

  • The PR is not in draft state. When the changes in this PR are ready to be published, select the Ready to merge button at the bottom of the page.
  • Article content has been checked for technical accuracy.
  • There are no errors or warnings in build validation.
  • There are no severity 1 or 2 PoliCheck issues.
  • All required PR checks at the bottom of the PR are passing.

After you've confirmed the above, do the following to sign off:

  1. Select the gear next to Labels.
  2. Select Sign off from the label list.
  3. Click away from the label list.

image

After you've signed off, our operations (PubOps) team will review the PR for issues that may impact formatting and the customer experience. If any changes are needed, they will return
the PR to the submitter with required changes. After they've completed those changes, you need to sign off again.

When the PR passes PubOps review, they'll merge the PR. If the PR is merged into the main branch, changes will go live within the next couple hours.

If you think you were incorrectly added as a reviewer, have questions about this process, or need help signing off on this PR, post a message to https://aka.ms/tcphelp.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 373dafe:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Start-SPORestrictedAccessForSitesInsights.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@kgunda1997

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

## DESCRIPTION

After this cmdlet is executed, the restricted access control insights report generation request is initiated for the requested report subtype. |
This cmdlet enables administrator to trigger the build of a new restricted access control insights report for the data from last 28 days.

@samkabue samkabue Jun 17, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from M365 Copilot based on Microsoft Writing Style Guide:

This cmdlet starts the generation of a new restricted access control insights report based on data from the previous 28 days.
``` #Closed


> Applicable: SharePoint Online

It is an optional parameter, used together with -ActionsBlockedByPolicy, that scopes the report to a single policy.

@samkabue samkabue Jun 17, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-ActionsBlockedByPolicy

add backticks:

`-ActionsBlockedByPolicy`
``` #Closed

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 8099d5d:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Start-SPORestrictedAccessForSitesInsights.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@samkabue samkabue left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@samkabue samkabue added Microsoft submitter Sign off The pull request is ready to be reviewed and merged by PubOps labels Jun 18, 2026
@Ruchika-mittal01 Ruchika-mittal01 self-assigned this Jun 18, 2026
@Ruchika-mittal01 Ruchika-mittal01 added the In review PubOps is reviewing the pull request label Jun 18, 2026
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 556f9de:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Start-SPORestrictedAccessForSitesInsights.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@Ruchika-mittal01 Ruchika-mittal01 merged commit 2ed2562 into MicrosoftDocs:main Jun 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In review PubOps is reviewing the pull request Microsoft submitter sharepoint-server-itpro/svc Sign off The pull request is ready to be reviewed and merged by PubOps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants