cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helena1
Level: Powered On

Error in connection between PowerApps and Flow

Hi!

 

I'm getting the exact same issue as this previous post; https://powerusers.microsoft.com/t5/Using-PowerApps/Flow-BUG/td-p/71606

 

I have a flow that is being called from PowerApps which is no longer working, trying to run the flow gives me the error: 

"Unable to process template language expressions in action The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline']['connectionId']' cannot be evaluated because property 'shared_sharepointonline' doesn't exist, available properties are 'shared_sharepointonline_1, shared_office365'"

 

I tried to reconnect the flow in PowerApps, but then I get the error "Failed to register service". I tried to create a new flow from scratch which seemed to work for a while then didn't, it seems it stopped working when I added another owner to the flow and he change the outlook connection to his account. Oh, and also I call the Flow from both a mobile app and from a SP list using PowerApps, and it is only the mobile app that fails. Which causing me to suspect that the flow itself is not the problem here, but rather the connection to the PowerApps app.

 

Any advice on next step?

Regards,

Helena

4 REPLIES 4
Community Support Team
Community Support Team

Re: Error in connection between PowerApps and Flow

The error message here indocates that the connection switched from the 

'shared_sharepointonline'  to  'shared_sharepointonline_1, shared_office365'".

Would you please take a check under the Connection page, to verify if the connection has been created correctly?

Manage your Connections in PowerApps

 

By the way, could you please share your Flow configuration details here?

There are some issues when working with the connection within Microsoft Flow, as the Action added can't switch the connection string automatically, and I suspect the issue should be caused by this in your scenario.

More information about the issue i mentioned:

Change original owner of a flow

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Helena1
Level: Powered On

Re: Error in connection between PowerApps and Flow

The connections have been recreated several times and the issue is always the same; if I try to use an account that is not my own it will fail. My account is the one set as owner of the PowerApp (which I cannot change) and is also the one I used for creating the flow.

 

The flow itself is nothing special, it connects to a SharePoint list to fetch information about an item and sends email using the outlook connector. I am pretty sure that error does not lies in the flow at it works just fine when being called from SharePoint rather than powerapps. The issue, like you say, seems to be the connection Flow - Powerapp, and I don’t know how to fix it. Note than when I add another account for connections, I also cannot re-add the flow in PowerApps. When I remove the other account, I can again re-add the flow. 

janpeter
Level: Powered On

Re: Error in connection between PowerApps and Flow

When I add a new column to sharepoint list the flow cannot be easely updated to show the new column.
Also the flow connection in the App must be removed to reconise the new column and starts working again

Natali_Winon365
Level: Power Up

Re: Error in connection between PowerApps and Flow

Hi, 

 

Could you solve this problem? I have the same issue as you described in your post.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 200 members 4,497 guests
Please welcome our newest community members: