Azure-Samples / active-directory-dotnet-graphapi-web

A .NET 4.5 MVC web app that demonstrates how to query the Azure AD Graph API using the Azure AD Graph Client Library
82 stars 68 forks source link

AcquireTokenSilentAsync can't find Access Token #43

Open BarryWaluszko opened 7 years ago

BarryWaluszko commented 7 years ago

App can't execute Graph API call. It can be reproduced under the page localhost/UserProfile, where as a result app falls is into a loop. I found that it's because AuthenticationContext.AcquireTokenSilentAsync can't acquire Access Token. Don't know if this issue persist only in my environment ?

Compufreak345 commented 7 years ago

I got the same issue after recreating the solution in Visual Studio 2015. Your fix helped - thanks!

onkarrajambatwar commented 7 years ago

Hi I am not able to find Access Token. Is this fixed or still open?

BarryWaluszko commented 7 years ago

@onkarrajambatwar the master branch still has this issue, you need to add this patch manually