Showing results for 
Search instead for 
Did you mean: 
New Member

Syncing Office 365 Calendar to Google Calendar

Hi, I've been using this flow ("Sync changes including adding, updating and deleting from Office 365 Calendar to Google Calendar.") for many months but have in the past few months received notifications of failed flows, always failing at the very last step, "Create events in Google calendar". It doesn't give me any option to "fix" it - please help!


I got this message:

InvalidTemplate. Unable to process template language expressions in action 'Create_an_event' inputs at line '1' and column '2855': 'The template language function 'substring' parameter is out of range: 'start index' must be non-negative integer and should be less than the length of the string. Please see for usage details.'.

Flow Capture.PNG

Community Support
Community Support

Re: Syncing Office 365 Calendar to Google Calendar

Hi @blueskyescapes ,


Could you please share more details about the expression with substring?

Also could you please share a screenshot of the Create an event action in your flow?


Best regards,



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

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,677)