Skip to content

Weekly Permissions sync 2026-02-08#1434

Closed
marabooy wants to merge 2 commits intomasterfrom
permissions-update/2026-02-08
Closed

Weekly Permissions sync 2026-02-08#1434
marabooy wants to merge 2 commits intomasterfrom
permissions-update/2026-02-08

Conversation

@marabooy
Copy link
Contributor

@marabooy marabooy commented Feb 8, 2026

Weekly Permissions sync 2026-02-08

@marabooy marabooy requested a review from a team as a code owner February 8, 2026 00:33
Copilot AI review requested due to automatic review settings February 8, 2026 00:33
Copy link
Contributor

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

Weekly sync updating the repository’s permission manifests to reflect newly added/updated Microsoft Graph permissions and endpoint-to-scope mappings.

Changes:

  • Added new WorkIQ-related permission entries and updated several UserAuthMethodAuthApp permission IDs/resourceAppIds in provisioning metadata.
  • Extended Files.* permission path mappings to include Drive archive/unarchive endpoints.
  • Updated permission definitions/mappings for Places (adding Application scheme support) and SharePoint cross-tenant migration app endpoints.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
permissions/new/provisioningInfo.json Adds new WorkIQ permission entries and updates several existing auth-method permission GUIDs/resource app IDs.
permissions/new/permissions.json Adds new endpoint path mappings (Drive archive/unarchive), expands Place.ReadWrite.All scheme support, and adds SharePoint migration app endpoints.

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

"resourceAppId": "59eca866-2f46-40b8-96ff-63f663121ef9"
}
],
"WorkIQAgent.Ask": [
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

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

The "WorkIQAgent.Ask" key is indented differently than surrounding keys (extra leading space). This file appears to use consistent 4-space indentation per nesting level, and the mis-indentation can cause formatting/lint checks to fail. Please align this key’s indentation with the adjacent entries.

Copilot uses AI. Check for mistakes.
Comment on lines 24117 to 24122
"/drive/bundles/{driveItemId}/archive": "",
"/drive/bundles/{driveItemId}/unarchive": "least=DelegatedWork,DelegatedPersonal",
"/drive/following/{driveItemId}/archive": "",
"/drive/following/{driveItemId}/unarchive": "least=DelegatedWork,DelegatedPersonal",
"/drive/items/{driveItemId}/archive": "",
"/drive/items/{driveItemId}/unarchive": "least=DelegatedWork,DelegatedPersonal",
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

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

In this Files.Read pathSet, the new archive/unarchive endpoints have inconsistent "least" markings: archive paths are "" while the corresponding unarchive paths are marked least=DelegatedWork,DelegatedPersonal. For paired operations like this, the least-required permission should generally be consistent; please verify which permission is actually minimal and update the least markers (and/or move the least markers to the correct permission block) so archive and unarchive match.

Copilot uses AI. Check for mistakes.
Comment on lines 24127 to 24130
"/drives/{drivesId}/root/archive": "",
"/drives/{drivesId}/root/unarchive": "least=DelegatedWork,DelegatedPersonal",
"/shares/{sharesId}/driveItem/archive": "",
"/shares/{sharesId}/driveItem/unarchive": "least=DelegatedWork,DelegatedPersonal",
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

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

These newly added share-based archive/unarchive paths use a different casing and placeholder style ("/shares/{sharesId}/driveItem") than the existing share paths nearby (e.g. "/shares/{id}/driveitem/..."). If path matching is case-sensitive or relies on canonical templates, this can create duplicate/unmatched entries. Please normalize the segment casing and parameter naming to the canonical form used in this file/spec.

Copilot uses AI. Check for mistakes.
Comment on lines 45788 to 45792
"/solutions/sharepoint/migrations/crossorganizationmigrationapps": "least=DelegatedWork,Application",
"/solutions/sharepoint/migrations/crossorganizationmigrationapps/{appId}/unregister": "least=DelegatedWork,Application",
"/solutions/sharepoint/migrations/crossOrganizationmigrationtasks": "least=DelegatedWork,Application",
"/solutions/sharepoint/migrations/crossOrganizationmigrationtasks/{id}/cancel": "least=DelegatedWork,Application"
}
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

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

The new migration app endpoints use a different casing pattern ("crossorganizationmigrationapps") than the existing endpoints in the same area ("crossOrganizationmigrationtasks", "crossOrganizationGroupMappings"). If URL/path matching is case-sensitive, this inconsistency can break permission resolution. Please confirm the correct Graph path casing and make it consistent across all related entries.

Copilot uses AI. Check for mistakes.
Comment on lines 45840 to 45841
"/solutions/sharepoint/migrations/crossOrganizationGroupMappings(sourceGroupObjectId={sourceGroupObjectId})": "least=DelegatedWork,Application",
"/solutions/sharepoint/migrations/crossorganizationmigrationapps/{appId}": "least=DelegatedWork,Application",
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

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

This added path ("/solutions/sharepoint/migrations/crossorganizationmigrationapps/{appId}") uses the lower-case "crossorganization..." segment, while other sibling endpoints in this section use "crossOrganization..." casing. Please verify the intended canonical path and align casing consistently to avoid mismatches.

Copilot uses AI. Check for mistakes.
@jasonjoh jasonjoh closed this Feb 10, 2026
@jasonjoh jasonjoh deleted the permissions-update/2026-02-08 branch February 10, 2026 20:38
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