Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Issue with building flow for finding the last Friday of the month for a recurrence flow

I'm building a flow starting with a recurrence once a month, but I want it to run on the last Friday of every month.


I've set up the flow as below but I'm getting this error message: Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'Template language expression cannot be evaluated: the default fired trigger is not defined at current scope. '.'.


The actions I'm using in condition are:


Screenshot 2022-05-09 212139.png
Power Participant
Power Participant


This dates video may help:


And if this only runs once a month, it’s not going to trigger when you want it as 1 month later may not be the last Friday of the month.


Try using a weekly recurrence set to only run on Fridays. 
Then create a trigger condition to check whether it is the last Friday or the 4th Friday of the month.

Frequent Visitor

Thank you for pointing this out. What is the best expression to use to 'Then create a trigger condition to check whether it is the last Friday or the 4th Friday of the month.'?

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 (2,043)