cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
devsyw
Resolver I
Resolver I

Problem: Share Flow with sharepoint connection

Hi automate users,

 

I've shared my Power App and power automate flows(instant) for another colleague to test, I've granted him as one of the owners of my PA and other flows, 

and he is also the owner of a sharepoint site which includes some lists related to the PA and flows,

he has fixed his connection in the power apps portal, however, still got errors for the SharePoint action in power automate :

 

{"error_description":"Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown."}

 

and here is part of the error msg  from PA:

devsyw_0-1633700314498.png

 

 

Is there any way that I can fix it?

I thought the new connections requirement will be auto-required to the other owner?

This MS doc did not help neither in my case : https://docs.microsoft.com/en-us/power-automate/add-manage-connections

 

Does anyone have any idea to solve this issue? 

 

thanks in advance!

PA user

 

1 ACCEPTED SOLUTION

Accepted Solutions
devsyw
Resolver I
Resolver I

issue solved by simply( or a bit painful while waiting for the change to happen), ask the tester to remove all the connections, unshare and share the app again, then when tester plays the app, the app will ask for connection, choose the correct connection and login with the correct account.

View solution in original post

4 REPLIES 4
devsyw
Resolver I
Resolver I

Just consulted SharePoint Specialist, who encountered this issue might simply first try to remove and add the flow again to PA. I'll try it again with my colleague and update whether we solve the issue.
CFernandes
Super User
Super User

Hey @devsyw 

 

Bad gateway means that the failure is temporary or transient, please try to resubmit the flow. If you are still having the issue, please try to recreate the flow to see if it will work.

 

You can try to Export the Power Automate and reimport it > Connect to your Power Apps and then try again. - Fpr details see - https://www.c-sharpcorner.com/article/correct-way-of-exporting-power-automate-from-one-environment

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

devsyw
Resolver I
Resolver I

Hi @CFernandes !

thank you for the reply! Though my flow is now testing in the original environment, I'll try to apply your suggestion when I export it to another environment.

I have to add one more piece of info about my flow, 

I created the App and flow under A environment, the tester is testing the App also under A environment(testing environment), and the sharepoint site (with some lists to be used in some related flows to be used in this App) created under B environment , so in this flow, I need to connect to the sharepoint list (with 'get item' action) under B connection, the tester has the permission to access sharepoint list, he is also connected to sharepoint with B environment. Would the location of SharePoint lists cause him not able to access it? 

 

many thanks in advance!

PA user

devsyw
Resolver I
Resolver I

issue solved by simply( or a bit painful while waiting for the change to happen), ask the tester to remove all the connections, unshare and share the app again, then when tester plays the app, the app will ask for connection, choose the correct connection and login with the correct account.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,074)