Skip to content

Add User.Read scope for /me Graph call#78

Merged
joratz merged 3 commits intomainfrom
users/joratz/graphscope
Dec 9, 2025
Merged

Add User.Read scope for /me Graph call#78
joratz merged 3 commits intomainfrom
users/joratz/graphscope

Conversation

@joratz
Copy link
Contributor

@joratz joratz commented Dec 9, 2025

Fixes issue #66 by adding scope required for /me Graph calls to consent request.

@joratz joratz requested review from a team as code owners December 9, 2025 00:18
Copilot AI review requested due to automatic review settings December 9, 2025 00:18
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 adds the User.Read scope to the required scopes array in InteractiveGraphAuthService to support the /me Graph API call used in A365CreateInstanceRunner.cs for identifying the current user as a sponsor during agent identity creation.

Key Changes

  • Added User.Read scope to the RequiredScopes array to enable querying the current user's profile via the /me endpoint

sellakumaran
sellakumaran previously approved these changes Dec 9, 2025
Copilot AI review requested due to automatic review settings December 9, 2025 17:42
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

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

@joratz joratz merged commit d22144f into main Dec 9, 2025
11 checks passed
@joratz joratz deleted the users/joratz/graphscope branch December 9, 2025 18:58
sellakumaran pushed a commit that referenced this pull request Feb 27, 2026
* Add User.Read scope for /me Graph call

* Add tests for scope
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.

5 participants