Showing results for 
Search instead for 
Did you mean: 
Level 8

Re: Error 520 - API Hub token exchange internal server failure.

Just had an update on the premiere support ticket I raised: 

"our PG team we have asked the  SharePoint team to look into the issue as the clientRequestId for the trigger where PG seeing sharePointAdapterException is causing the issue and need their intervention to fix this."

Level 8

Re: Error 520 - API Hub token exchange internal server failure.

I haven't read all the posts on this thread (there are so many!), but here is the info I got from my talk with Microsoft support today and my related thoughts:

  1. Microsoft says there is a known issue where authorization token on a data connection over the gateway can become corrupted.  Engineers are aware and working on it.
  2. Microsoft suggests two temporary workarounds for recovery.  My preferred solution is to recreate the connection and change the flows to use the new connection.  The message to fix the trigger does not go away until the flow executes the next time.  The other solution is to copy the flow (save as).  Personally, I don't want a collection of broken flows and a challenge figuring out which are the working ones.
  3. There is still an issue in discovering that the issue exists in a timely manner.  No email notice is sent because the flow never executes due to the trigger problem.  If I happen to notice that something didn't happen that should have, I can go into the run history and see if the fix trigger message exists.  Unfortunately, that is too late to recover in time for the dependent processes to work.  My idea is to create a heartbeat solution.  Schedule a flow to create a file over the same connection, which should fail and send a notice.  If I find that it does not, I can create a 2nd flow to watch for that created file, and send email if it does not find it.  


Helpful resources


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,684)