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

"IDX10500 ..." Error #47

Open uwspstar opened 7 years ago

uwspstar commented 7 years ago

After I download code, and run the Step 2 . It shows "IDX10500 ..." Error

IDX10500: Signature validation failed. Unable to resolve SecurityKeyIdentifier: 'SecurityKeyIdentifier ( IsReadOnly = False, Count = 2, Clause[0] = X509ThumbprintKeyIdentifierClause(Hash = 0x6152B1D25071BFE1A85DE2B0430918B74667AB44), Clause[1] = System.IdentityModel.Tokens.NamedKeySecurityKeyIdentifierClause ) ', token:....

Do you have any idea ?

Thanks,

Step 2: Run the sample in Visual Studio 2013

The sample app is preconfigured to read data from a Demonstration company (GraphDir1.onMicrosoft.com) in Azure AD. Run the sample application, and from the main page, authenticate using this demo user account: demoUser@graphDir1.onMicrosoft.com graphDem0

VitorX commented 7 years ago

Able to reproduce this issue too. The issue is relative to the test tenant, I suggest that you use you own tenant to run this code sample.