cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tnshr
Regular Visitor

Failing to send Teams or Email notification from a Flow

I have reached boiling point with this Power Automate bug. I created a flow that uploads items from an excel sheet to a SharePoint list. At most this uploads 256 items from a single Excel table, fine. The process takes about 3 mins to complete so obviously I will have to send a notification back to the user. For this I intended to send a Teams message as a flow bot to the user, which I have used several times on other flows I have done. But for this particular flow, I am getting the error message as follows:

 

InvalidTemplate. Unable to process template language expressions in action 'Post_a_message_as_the_Flow_bot_to_a_user' inputs at line '1' and column '2207': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_teams']['connectionId']' cannot be evaluated because property 'shared_teams' doesn't exist, available properties are 'shared_sharepointonline, shared_excelonlinebusiness'. Please see https://aka.ms/logicexpressions for usage details.'.
 
I have tried everything from removing and adding the connection again, redoing the entire flow, all giving this very frustrating error. A similar error comes up when I try to send an Email message. Here's the flow: 
 

FLOW Screenshot 2020-10-19 091210.png

1 REPLY 1
Reimi
Community Support
Community Support

Please try to delete the flow from the PowerApps app and re-add to the app.

I guess there missing a connection of Teams in Power Apps. You can add all connection necessary for the flow to the app by re-adding the flow.

Helpful resources

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

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,729)