microsoftgraph / msgraph-sdk-dotnet-auth

Archived - use the TokenCredential classes provided by Azure.Identity. https://docs.microsoft.com/en-us/dotnet/api/overview/azure/identity-readme
https://graph.microsoft.com
MIT License
78 stars 19 forks source link

How to get OAuth access token from VSTO Outlook add-in when user logged to Office 365 #98

Closed albertly closed 3 years ago

albertly commented 3 years ago

My end user has Outlook connected to Office 365 and have an old VSTO add-in that needs to connect to my Rest API.

I need to implement SSO solution to my Rest API.

I want to get an access token from VSTO add-in without prompting an user (or maybe prompting once ), he is already authenticated in Outlook with his Office 365 account.

Is it possible? AB#8002

MIchaelMainer commented 3 years ago

@albertly I don't know if this is possible. This repo is for the Microsoft Graph .NET authentication library for use with the .NET client libraries for Microsoft Graph. This would be an excellent question to post to StackOverflow.