Hi everyone,
I'm creating a flow in Power Automate to read events from Outlook and create/update tasks in Planner.
I have a GetCalendar (Office 365) step with operationId = CalendarGetTables_V2, and then an Apply to each called Calendars to iterate through the calendars and call "GetEvents".
The problem is that the editor won't let me save: the error message appears:
"The input parameters for the 'Calendars' operation contain invalid expressions..."
The error points to the "Select an output from previous steps" field of Apply to each.
I've already tried several inputs:
`outputs('GetCalendar')?['body/value']`
`coalesce(outputs('GetCalendar')?['body/value'], json('[]'))`
I also tried including `Parse JSON` (schema with a value array of `{id,name}`) and iterating:
`outputs('JSON')?['body']?['value']`
I also tried working around it with `Select/Compose`, but the `Apply` is still invalid.
Has anyone seen this in the new designer?
What's the correct way to populate the `Apply to each` with the return from `CalendarGetTables_V2`?
Is there a workaround (classic designer, another connector/action to list calendars, etc.)?
If needed, I can post screenshots of the "Calendars" step and the code display for `GetCalendar`.
Thank you!