I'm building a Power Automate flow that loops through Microsoft Planner tasks and:
Emails the assigned user if the task is due tomorrow
Emails the Manager if the task is 2 days overdue
I'm stuck at extracting the assigned user ID from the assignments
field.
I'm using a step called ExtractAssignedUserId
, but it fails with:
Correct way to extract assigned user ID/email from the task
Help structuring the conditionals (due tomorrow or 2 days overdue)
General review of the logic in the screenshot
formatdatetime(items('Apply_to_each_2')?['dueDateTime'],'yyyy-MM-dd')
adddays(formatdatetime(utcnow(),'yyyy-MM-dd'),1)
item()['userId']
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2