Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resets graph environment session to its original state. #2842

Conversation

timayabi2020
Copy link
Contributor



Fixes #2795

Changes proposed in this pull request

  • Resets session to original environment set during authentication. This is required especially when subsequent graph requests are not connecting to the default environment which has graph.microsoft.com as the base Uri (See PrepareUri method in InvokeMgGraphRequest.cs file)

@timayabi2020 timayabi2020 merged commit 9ff2b42 into dev Jul 12, 2024
4 checks passed
@timayabi2020 timayabi2020 deleted the 2795-when-using-in-azurechinacloud-environment-find-mggraphpermission-changes-msgraph-api-endpoints-from-china-to-global branch July 12, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants