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

Extensions with delegated permissions scope / Graph APIs #411

Closed
DakotaWray2 opened this issue Aug 2, 2024 · 1 comment
Closed

Extensions with delegated permissions scope / Graph APIs #411

DakotaWray2 opened this issue Aug 2, 2024 · 1 comment

Comments

@DakotaWray2
Copy link

I'm interested if anyone has extended this accelerator to implement extensions that use delegated permissions to access data from Microsoft Graph? Thanks!

@DakotaWray2
Copy link
Author

Hi folks I just wanted to follow-up that I have achieved this.

  • First step was to modify auth-api.ts to handle permission scopes for azuread and pass the accessToken in session.
  • Second step was to modify chat-api-default-extensions.ts to add new default extensions that utilize @microsoft/microsoft-graph-client.
  • Lastly modify the default persona to know that it can call the default functions that use graph.

I need to figure out the token refresh logic but it is working well!

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

No branches or pull requests

1 participant