Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

AADSTS9002325: Proof Key for Code Exchange is Required for cross-origin authorization code redemption

johnfeist
Mega Sage

I've built an integration with MSFT Teams that works from a service catalog item.  We have a sandbox instance of O365 that I used to do my testing.  Everything works fine in that environment.

Now that we're getting ready to implement, I need to connect to our production instance and that's where the trouble starts.  We've converted the OAUTH Application, credentials, etc. to be pointing to the production instance (tenant id, client id and client secret).  The problem is that when I try to get a token, from the REST message or the credentials, I get the error shown in the attached MSFTError.png.  Can anyone translate what the message is telling me and how I get past that?

All answers are gratefully appreciated.

:{)

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster
2 REPLIES 2

Fedorovich Leon
Giga Contributor

Hi @johnfeist,

I hope you resolve this problem?
If Yes write resolution here please.
I have similiar error for OAuth for Email. 

 

Our MS specialist changed type of Azure application from Single-Page Application to WEB and I can authorized.