Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions permissions/new/permissions.json
Original file line number Diff line number Diff line change
Expand Up @@ -10849,6 +10849,81 @@
"ownerSecurityGroup": "DcsMsGraphSchemaAdmins"
}
},
"CopilotPackages.Read.All": {
"authorizationType": "oAuth2",
"schemes": {
"DelegatedWork": {
"adminDisplayName": "Read all packages information",
"adminDescription": "Allows the user to read the packages information",
Copy link

Copilot AI Dec 13, 2025

Choose a reason for hiding this comment

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

Inconsistency between adminDescription and userDescription: The admin description says "Allows the user to read the packages information" (singular "user"), but the user description says "Allows the app to read packages information." These descriptions should be consistent in their phrasing. Consider updating the adminDescription to match the pattern used in userDescription, for example: "Allows the app to read the packages information on behalf of the signed-in user."

Copilot uses AI. Check for mistakes.
"userDisplayName": "Read all packages information",
"userDescription": "Allows the app to read packages information.",
"requiresAdminConsent": false,
"privilegeLevel": 3
},
"Application": {
"adminDisplayName": "Read all packages information",
"adminDescription": "Allows the app to read packages information without a signed-in user.",
"requiresAdminConsent": true,
"privilegeLevel": 4
}
},
"pathSets": [
{
"schemeKeys": [
"DelegatedWork",
"Application"
],
"methods": [
"GET"
],
"paths": {
"/copilot/admin/catalog/packages": "least=DelegatedWork,Application",
"/copilot/admin/catalog/packages/{packageId}": "least=DelegatedWork,Application"
}
}
],
"ownerInfo": {
"ownerSecurityGroup": "m365adminsvcdevteam"
}
},
"CopilotPackages.ReadWrite.All": {
"authorizationType": "oAuth2",
"schemes": {
"DelegatedWork": {
"adminDisplayName": "Read and update all packages information",
"adminDescription": "Allows the user to read and update the packages information",
Copy link

Copilot AI Dec 13, 2025

Choose a reason for hiding this comment

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

Inconsistency between adminDescription and userDescription: The admin description says "Allows the user to read and update the packages information" (singular "user"), but the user description says "Allows the app to read and update packages information." These descriptions should be consistent in their phrasing. Consider updating the adminDescription to match the pattern used in userDescription, for example: "Allows the app to read and update the packages information on behalf of the signed-in user."

Copilot uses AI. Check for mistakes.
"userDisplayName": "Read and update all packages information",
"userDescription": "Allows the app to read and update packages information.",
"requiresAdminConsent": true,
"privilegeLevel": 3
},
"Application": {
"adminDisplayName": "Read and update all packages information",
"adminDescription": "Allows the app to read and update packages information without a signed-in user.",
"requiresAdminConsent": true,
"privilegeLevel": 4
}
},
"pathSets": [
{
"schemeKeys": [
"DelegatedWork",
"Application"
],
"methods": [
"GET",
"POST"
],
Comment on lines +10913 to +10916
Copy link

Copilot AI Dec 13, 2025

Choose a reason for hiding this comment

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

The permission description mentions "read and update packages information," but the HTTP methods only include GET and POST. Typically, update operations require PATCH or PUT methods (as seen in other similar ReadWrite permissions like AuthenticationContext.ReadWrite.All which includes DELETE, PATCH, and PUT). Consider adding PATCH, PUT, or DELETE to the methods array if package information needs to be updated or deleted, or clarify in the description that only creation (POST) and reading (GET) are supported.

Copilot uses AI. Check for mistakes.
"paths": {
"/copilot/admin/catalog/packages": "least=DelegatedWork,Application",
"/copilot/admin/catalog/packages/{packageId}": "least=DelegatedWork,Application"
}
}
],
"ownerInfo": {
"ownerSecurityGroup": "m365adminsvcdevteam"
}
},
"CopilotSettings-LimitedMode.Read": {
"authorizationType": "oAuth2",
"schemes": {
Expand Down
16 changes: 8 additions & 8 deletions permissions/new/provisioningInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3510,15 +3510,15 @@
],
"CopilotPackages.Read.All": [
{
"id": "",
"id": "a2dcfcb9-cbe8-4d42-812d-952e55cf7f3f",
"scheme": "DelegatedWork",
"environment": "public",
"isHidden": true,
"isEnabled": false,
"isHidden": false,
"isEnabled": true,
"resourceAppId": "59eca866-2f46-40b8-96ff-63f663121ef9"
},
{
"id": "",
"id": "72f0655d-6228-4ddc-8e1b-164973b9213b",
"scheme": "Application",
"environment": "public",
"isHidden": true,
Expand All @@ -3528,15 +3528,15 @@
],
"CopilotPackages.ReadWrite.All": [
{
"id": "",
"id": "e9c5fd18-ac15-43dd-9f5c-6f9611dd5604",
"scheme": "DelegatedWork",
"environment": "public",
"isHidden": true,
"isEnabled": false,
"isHidden": false,
"isEnabled": true,
"resourceAppId": "59eca866-2f46-40b8-96ff-63f663121ef9"
},
{
"id": "",
"id": "ed31732f-9495-47ed-ba3b-4ed0948c1c64",
"scheme": "Application",
"environment": "public",
"isHidden": true,
Expand Down