Share via

Problem generating API token using the microsoft identity client nugget package

Thomas Patterson 1 Reputation point
2022-06-15T15:11:38.837+00:00

So I have a program that fetches an api key using the AcquireATokenFromCacheOrUsernamePasswordAsync method. This has been working for the past 2 months or so and recently it has started producing an API key that has an invalid signature and I can't for the life of me figure out why. The program hasn't been touched since it was deployed, so everything is the same. I have updated the nugget package which has made no difference, and I can't seem to figure out what has gone wrong. The information held within the token is correct but the signature is failing.

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.