Skip to content

Document Agent User site and tenant restrictions - #1203

Merged
Rebecca Agiewich (rjagiewich) merged 4 commits into
MicrosoftDocs:mainfrom
krishnatejagunda:docs/restricted-for-ai-teammates
Oct 1, 2026
Merged

Rebecca Agiewich (rjagiewich) merged 4 commits into
MicrosoftDocs:mainfrom
krishnatejagunda:docs/restricted-for-ai-teammates

Conversation

@krishnatejagunda

@krishnatejagunda krishnatejagunda commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • document Get-SPOSite and Set-SPOSite using the current RestrictAccessControlForAgenticUser property and parameter
  • document Get-SPOTenant and Set-SPOTenant for the organization-wide restriction
  • clarify that the policy is enforced at runtime without changing existing permissions

Validation

  • parameter and property names match the current SPO.Core SPOSite.cs and spotenant.cs implementations
  • Set-SPOTenant syntax includes the parameter in all five documented parameter sets
  • branch history is squashed to one documentation commit

@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 2028f68:

✅ Validation status: passed

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

For more details, please refer to the build report.

@krishnatejagunda krishnatejagunda changed the title Document AI teammates site restriction Document Agent User site and tenant restrictions Sep 22, 2026
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit c091bfa:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • [Error: CannotMergeCommit] Cannot merge commit c091bfa89bb91b0516cab244cd470e3ba5c22421 in branch docs/restricted-for-ai-teammates of repository https://github.com/krishnatejagunda/OfficeDocs-SharePoint-PowerShell into branch main (commit 998703fb7586ad898f1515606eee3a2ee080ef2f). Please follow this documentation: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ to use git.exe to resolve you content conflicts locally and then push to remote.

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

Learn Build status updates of commit db9bcb0:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • [Error: CannotMergeCommit] Cannot merge commit db9bcb01634484dbe6272e44502fa7f163decb41 in branch docs/restricted-for-ai-teammates of repository https://github.com/krishnatejagunda/OfficeDocs-SharePoint-PowerShell into branch main (commit 998703fb7586ad898f1515606eee3a2ee080ef2f). Please follow this documentation: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ to use git.exe to resolve you content conflicts locally and then push to remote.

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.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a649c65a-7312-4e02-a089-7d7a55f34e63
@krishnatejagunda
krishnatejagunda force-pushed the docs/restricted-for-ai-teammates branch from db9bcb0 to 401ade8 Compare September 22, 2026 19:35
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 401ade8:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • [Error: CannotMergeCommit] Cannot merge commit 401ade81a2b4a61c453a6a1f8fe3dec3278b9c95 in branch docs/restricted-for-ai-teammates of repository https://github.com/krishnatejagunda/OfficeDocs-SharePoint-PowerShell into branch main (commit 799d150d74db9bb3e7a10c5080f7a5c582fda7b2). Please follow this documentation: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ to use git.exe to resolve you content conflicts locally and then push to remote.

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.

@krishnatejagunda
krishnatejagunda marked this pull request as ready for review October 1, 2026 20:10
@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 cc6b345:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOSite.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTenant.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

Updated examples for Set-SPOSite to reflect changes in parameters for anonymous link types and access control.
@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 72cfb00:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOSite.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTenant.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

Reintroduce EXAMPLE 32 for restricting access control for Agent Users.
@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 8f9c081:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOSite.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTenant.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@krishnatejagunda

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

:shipit:

@samkabue-msft Sam M. Kabue (samkabue-msft) added Microsoft submitter Sign off The pull request is ready to be reviewed and merged by PubOps labels Oct 1, 2026
@rjagiewich Rebecca Agiewich (rjagiewich) added the In review PubOps is reviewing the pull request label Oct 1, 2026
@rjagiewich
Rebecca Agiewich (rjagiewich) merged commit 058d845 into MicrosoftDocs:main Oct 1, 2026
13 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.

3 participants