cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
niknaks456
Regular Visitor

Testing a bot with authentication - AADSTS9002325

Hello all,

 

trying to get a test bot to authenticate with Azure AD and getting the following error after following the setup guides on Tomasz Poszytek blog and via the 5 minute power platform video - https://www.youtube.com/watch?v=Zd9mi88V91Q

 

I get the login button on the test bot then a new page opens and I get the following error.

 

Error

Sign in Sorry, but we’re having trouble with signing you in.

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

Troubleshooting details If you contact your administrator, send this info to them.

 

Copy info to clipboard

Request Id: 564dd2ab-a278-4855-9576-a982a5541b00

Correlation Id: 9e58626b-d5e0-48dd-bac2-4d297b41b21c

Timestamp: 2020-05-17T15:51:56Z

Message: AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.

1 ACCEPTED SOLUTION

Accepted Solutions
niknaks456
Regular Visitor

Sorry for the delay, if the only time I have had to review it again.

 

I revisited this page and started all over again.

https://docs.microsoft.com/en-us/power-virtual-agents/configuration-end-user-authentication

 

I also removed it first as it may have been holding onto something but appears to be OK now in my test bot.

 

New issue is I cant add it to an existing topic, the option to add auth doesn't appear but does if i create a new topic, frustrating.

View solution in original post

5 REPLIES 5
renatoromao
Super User
Super User

Hi @niknaks456 ,

 

Can you take some pictures of your scenario?

- Inside Permissions on Azure portal

- Inside your Authentication panel on PVA portal


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Hi @niknaks456 ,

 

Any updates?


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português
ChristianAbata
Super User
Super User

hi @niknaks456  plase make shure you have copied the same URL auth in your app in Azure AD and in PVA that could be the problem. Next you can do is try to replave some characters in the APP azure AD key, see sometime is necessary to change the + character to url encode code. You can try looking the codes here https://www.w3schools.com/tags/ref_urlencode.ASP



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
niknaks456
Regular Visitor

Sorry for the delay, if the only time I have had to review it again.

 

I revisited this page and started all over again.

https://docs.microsoft.com/en-us/power-virtual-agents/configuration-end-user-authentication

 

I also removed it first as it may have been holding onto something but appears to be OK now in my test bot.

 

New issue is I cant add it to an existing topic, the option to add auth doesn't appear but does if i create a new topic, frustrating.

rvphilip
New Member

I had a similar issue with a sentiment analysis bot that I was recently working on. I think the main issue here is that NLP is not stable with the platform independence. I used TensorFlow and scipay for developing the bot and I think the proof keys for these are not similar to the existing ones like python or JS. There have been similar issues previously where chatbot development services that I developed were having issues in the authorization. I hope in the next cross authorization update these issues will be solved

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a free PVA chatbot creation workshop

Register for a free PVA chatbot creation workshop

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Top Solution Authors
Top Kudoed Authors
Users online (4,296)