Notifications
Announcements
I'm building a Power Automate flow that loops through Microsoft Planner tasks and:
The issue:
I'm stuck at extracting the assigned user ID from the assignments field. I'm using a step called ExtractAssignedUserId, but it fails with:
assignments
ExtractAssignedUserId
The template function 'keys' is not defined or not valid.
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']
Thanks & Regards, Nived N
Stay connected: LinkedIn | YouTube | Blogs
Was this answer helpful? If yes, please mark it as the solution by selecting the checkbox in the discussion thread. Your feedback motivates me to keep contributing. Thank you!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 538 Super User 2025 Season 2
Tomac 405 Moderator
abm abm 252 Most Valuable Professional