Skip to content

docs: fix LRO requirement sentence typos#585

Open
Rohan5commit wants to merge 1 commit intomicrosoft:vNextfrom
Rohan5commit:docs/fix-lro-requirement-wording-20260427
Open

docs: fix LRO requirement sentence typos#585
Rohan5commit wants to merge 1 commit intomicrosoft:vNextfrom
Rohan5commit:docs/fix-lro-requirement-wording-20260427

Conversation

@Rohan5commit
Copy link
Copy Markdown

Summary

  • fix the requirement sentence typo in the long-running operations pattern

Related issue

  • N/A (trivial documentation typo fix)

Guideline alignment

  • follows CONTRIBUTING.md documentation guidance and targets the vNext branch
  • keeps the change to a single documentation sentence with no behavior impact

Validation

  • ran git -c core.whitespace=cr-at-eol diff --check

Copilot AI review requested due to automatic review settings April 27, 2026 02:41
@Rohan5commit Rohan5commit requested a review from a team as a code owner April 27, 2026 02:41
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes a typo in the Microsoft Graph long-running operations (LRO) design pattern documentation to improve clarity and correctness.

Changes:

  • Corrected spelling in the “requirement” sentence describing what “safe” means for LRO creation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 56 to +59
- For most implementations of the LRO pattern (like the example above), there will be 3 permissions necessary to comply with the principle of least privilege: `ArchiveOperation.ReadWrite.All` to create the `archiveOperation` entity, `ArchiveOperation.Read.All` to track the `archiveOperation` entity to completion, and `Archives.Read.All` to retrieve the `archive` that was created as a result of the operation.
For APIs that would have been modeled as a simple `GET` on the resource URL, but that are modeled as long-running operations due to MSGraph performance requirements, only the `Archive.Read.All` permission is necessary as long as creating the `archiveOperation` entity is "safe".
Here, "safe" means that there are no side effects of creating the `archiveOperation` entity that would change the functionality of any entities outside of the `archive` being retrieved.
This requirment does not mean that the API must be idempotent, but an idempotent API is suffucient to meet this requirement.
This requirement does not mean that the API must be idempotent, but an idempotent API is sufficient to meet this requirement.
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

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

The permission name in this paragraph is inconsistent: the previous bullet uses Archives.Read.All, but this sentence says Archive.Read.All. Please verify the correct permission name and make it consistent, since readers may copy/paste these scopes.

Copilot uses AI. Check for mistakes.
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.

2 participants