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

Error in connection between PowerApps and Flow



I'm getting the exact same issue as this previous post;


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?



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




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.
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. 

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

Not applicable

Re: Error in connection between PowerApps and Flow



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

Helpful resources


Power Automate Community User Group Member Badge

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


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 165 members 5,792 guests
Please welcome our newest community members: