Skip to content

Weekly Permissions sync 2026-03-24#1478

Closed
marabooy wants to merge 2 commits intomasterfrom
permissions-update/2026-03-24
Closed

Weekly Permissions sync 2026-03-24#1478
marabooy wants to merge 2 commits intomasterfrom
permissions-update/2026-03-24

Conversation

@marabooy
Copy link
Copy Markdown
Contributor

Weekly Permissions sync 2026-03-24

@marabooy marabooy requested a review from a team as a code owner March 24, 2026 20:20
Copilot AI review requested due to automatic review settings March 24, 2026 20:20
Copy link
Copy Markdown
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 permissions sync updating Microsoft Graph permission metadata, primarily aligning AdministrativeUnit routes’ scheme availability and removing deprecated hidden permission entries from provisioning info.

Changes:

  • Removed hidden, disabled AdministrativeUnit* (Basic/Member) application-scheme entries from provisioningInfo.json.
  • Expanded /directory/administrativeunits* routes under AdministrativeUnit.Read.All / AdministrativeUnit.ReadWrite.All to allow Application scheme (previously DelegatedWork only).
  • Refactored AdministrativeUnit.ReadWrite.All method grouping by folding DELETE into the existing {id} pathSet.

Reviewed changes

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

File Description
permissions/new/provisioningInfo.json Removes hidden/disabled AdministrativeUnit* application entries from provisioning metadata.
permissions/new/permissions.json Broadens /directory/administrativeunits* to include Application scheme under AdministrativeUnit permissions.

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

Comment on lines 455 to 459
"/administrativeunits/delta": "least=DelegatedWork,Application",
"/directory/administrativeunits": "least=DelegatedWork",
"/directory/administrativeunits/{id}": "least=DelegatedWork",
"/directory/administrativeunits": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}/members": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}/members/{id}": "least=DelegatedWork,Application"
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

This change expands AdministrativeUnit.Read.All to allow the Application scheme on the /directory/administrativeunits* aliases (previously DelegatedWork-only). Since this broadens app-only access to directory administrative unit data, please confirm this is intentional and aligns with the service's authorization model/source-of-truth for these endpoints.

Copilot uses AI. Check for mistakes.
Comment on lines 496 to 500
"/administrativeunits": "least=DelegatedWork,Application",
"/administrativeunits/{id}/members": "least=DelegatedWork,Application",
"/directory/administrativeunits": "least=DelegatedWork",
"/directory/administrativeunits/{id}/members": "least=DelegatedWork"
}
},
{
"schemeKeys": [
"DelegatedWork",
"Application"
],
"methods": [
"DELETE"
],
"paths": {
"/administrativeunits/{id}": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}": "least=DelegatedWork,Application"
"/directory/administrativeunits": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}/members": "least=DelegatedWork,Application"
}
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

AdministrativeUnit.ReadWrite.All: /directory/administrativeunits* paths were changed from DelegatedWork-only to DelegatedWork,Application. This broadens app-only access on the directory alias endpoints; please confirm this is intentional and matches the upstream authorization contract for these routes.

Copilot uses AI. Check for mistakes.
@jasonjoh jasonjoh closed this Mar 27, 2026
@jasonjoh jasonjoh deleted the permissions-update/2026-03-24 branch March 27, 2026 16:52
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.

3 participants