Skip to content

Fix graph consent Issue#216

Merged
Josina20 merged 2 commits intomainfrom
users/josjoy/fixgraphpermissionsissue
Feb 4, 2026
Merged

Fix graph consent Issue#216
Josina20 merged 2 commits intomainfrom
users/josjoy/fixgraphpermissionsissue

Conversation

@Josina20
Copy link
Contributor

@Josina20 Josina20 commented Feb 2, 2026

Show the graph consent/inheritable permissions failure in Setup summary

Fix Tested :
image

@Josina20 Josina20 requested review from a team as code owners February 2, 2026 22:59
Copilot AI review requested due to automatic review settings February 2, 2026 22:59
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

This PR fixes an issue with Microsoft Graph inheritable permissions failing during the setup process. The fix ensures that Graph permission failures are tracked separately as warnings rather than causing complete setup failures, allowing partial success scenarios.

Changes:

  • Added tracking for Graph inheritable permissions failures through new properties in SetupResults and BlueprintCreationResult
  • Enhanced error handling to treat Graph permission failures as warnings with recovery actions
  • Added comprehensive test coverage for the new Graph permission failure scenarios

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
SetupResults.cs Added GraphInheritablePermissionsFailed property to track Graph permission failures
SetupHelpers.cs Added recovery action display for Graph permission failures
BlueprintSubcommand.cs Updated blueprint creation to return Graph permission failure status and error details
AllSubcommand.cs Added logic to track and warn about Graph permission failures
SetupResultsTests.cs Added comprehensive tests for SetupResults and BlueprintCreationResult classes
SetupHelpersDisplaySummaryTests.cs Added tests for display summary with Graph permission failure scenarios

@Josina20 Josina20 linked an issue Feb 2, 2026 that may be closed by this pull request
@rahuldevikar761
Copy link
Collaborator

In the status summary, we should explictly call out whose inheritable permissions are set

tmlsousa
tmlsousa previously approved these changes Feb 3, 2026
@Josina20
Copy link
Contributor Author

Josina20 commented Feb 3, 2026

In the status summary, we should explictly call out whose inheritable permissions are set

Fixed :
image

@Josina20 Josina20 enabled auto-merge (squash) February 3, 2026 20:40
@Josina20 Josina20 merged commit 35cd754 into main Feb 4, 2026
6 of 8 checks passed
@Josina20 Josina20 deleted the users/josjoy/fixgraphpermissionsissue branch February 4, 2026 17:32
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.

Throw error when Inherited permission for Graph are skipped.

5 participants

Comments