Showing results for 
Search instead for 
Did you mean: 
Advocate III
Advocate III

Flow Error: "[connection] cannot be evaluated because property '[...]' not available

I wish that Mark did not mark "recreating the Flow" as the answer for this post because this bug still persists.


The closest way I've been able to recreate this issue on a consistent basis is to create a flow with a given set of connectors (SharePoint, OneDrive, etc.). The Flow can work flawlessly and seem great. Then, if I go back and now want to add an additional connector (custom or OOTB such as Outlook) I will get an error that the given connector is not available. It'll read like the following:


Unable to process template language expressions in action 'Send_an_email_notification_2' inputs at line '1' and column '2505': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sendmail']['connectionId']' cannot be evaluated because property 'shared_sendmail' doesn't exist, available properties are 'shared_excelonlinebusiness, shared_onedriveforbusiness, shared_sharepointonline'. Please see for usage details.'.



The Flow originally was created with SharePoint, Excel Online, and OneDrive (as seen in the available properties listed in the error). Then once I went to add the Send Mail connector a week later to just send a simple notification email, it reports that it "cannot be evaluated..." because the property / connector doesn't exist....




Flow absolutely has a bug handling connectors (seems to be consistently related to OneDrive for Business associated Flows if that helps narrow it down). Please don't tell me to just re-create it.


Advocate III
Advocate III

Also to note, if I go to the Connectors page of the Flow. I get an error reading "Cannot read property 'properties' of undefined, however doesn't show me what is undefined?


Flow Connection Undefined Error.JPG

Hi @stormea,


What’s your current situation?


How did you add other connectors to an existing flow?


Did you try to add an action in the flow?


Could you share more details to help reproduce this issue?


Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-yamao-msft, I've been able to narrow it down more. It looks like the Flow has to be created with a PowerApp Trigger and a given amount of connectors. Once I save, and then re-open the Flow and try to add an additional (new) connector, this is when the error pops up.


The workaround is to export the Flow, then re-import it as new. I found the workaround here when I encountered the same issue myself:

Recently discovered an easier workaround, though not as reliable: Test Flow with manual trigger.


2018-10-30 16_37_34-OneNote.png


After clicking the "Test Flow" and selecting "I'll perform the trigger action", a dialog appears that will map connections.


2018-10-30 16_41_01-Photos.png


This has worked for me once.


Not applicable

Yeah, got the same issue but with Flow Trigger. As soon as I set another trigger, the problem is resolved.

I came across the same issue and I think I found the reason due to this is happening. If you add a new connection in the flow after creating it and use the test cases which are running on the previous connection configuration then it will generate this error.


Because in the previous run it doesn't have access to the newly added connections.


Solution:- Don't use the previous test case for testing it. Trigger the flow manually or perform the action which triggers the flow.


If this answer helps you please give a thumbs up.


Thank You.

@Naveen_772 that was the answer I have been looking for for two days!!!! Once I started the Flow from scratch it worked perfectly. THX a 1000 times 😊



Awesome, thanks.  I did edit the flow after I had assigned the flow run to the button and got the same error.  I had to remove flow run function and add it back and it worked.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,289)