Azure-Samples / active-directory-dotnetcore-daemon-v2

A .NET Core daemon console application calling Microsoft Graph or your own WebAPI with its own identity
MIT License
240 stars 149 forks source link

Document Update - Own API manifest instructions to avoid HTTP 401 Unauthorized #193

Open abarberenaCPDS opened 1 month ago

abarberenaCPDS commented 1 month ago

Hello 👋,I am requesting an update for 2-Call-OwnApi:

Context

After following the current steps the daemon console gets an 401 Unauthorized error.

image

Output from console app:

image
balcsok commented 3 weeks ago

Had the same problem, but your recommendation to update accessTokenAcceptedVersion from null to 2 did the trick, thank you.