Others

Fix Power Automate Planner Flow Not Retrieving Assigned User IDs

Aamir Naveed AkramAamir Naveed Akram Oct 19, 2026 869 views

Question details

The user is attempting to export Microsoft Planner tasks into a SQL database using a scheduled Power Automate flow, but the fields for assigned user details are returning blank.

How to Fix Power Automate Planner Flow Not Retrieving Assigned User IDs
Product
Power Automate
Device & OS
not provided
Scenario
Scheduling a workflow to retrieve Planner tasks and store task details, including assignee emails, names, plan names, and bucket names, into SQL storage.
Observed behavior
The flow successfully retrieves the Planner tasks, but the assigned user fields remain completely blank instead of populating with the corresponding user IDs, names, or email addresses.
Before you start

Ensure your Power Automate connections to Microsoft Planner and Office 365 Users are fully authenticated, and that you have the appropriate directory permissions to view user profile data.

Solution 1Recommended

Use the Office 365 Users Connector to Extract User Details

Since the Planner connector often returns assignments as a complex object or raw IDs, you need to parse these IDs and map them to the Office 365 Users connector to retrieve actual names and emails.

Microsoft Planner stores task assignments as a JSON object where the User ID is the key. To get human-readable data like email addresses and display names for your SQL database, you must extract this ID and query the directory.

1
Add an 'Apply to each' loop

After your 'List tasks' or 'Get task' Planner action, add an 'Apply to each' control and select the 'Assignments' dynamic content.

2
Parse the Assignment ID

Use a 'Compose' action or 'Parse JSON' inside the loop to extract the specific User ID from the task assignment object.

3
Add 'Get user profile (V2)'

Search for the Office 365 Users connector, select 'Get user profile (V2)', and pass the extracted User ID into the User (UPN) field.

4
Map variables to your SQL action

Once the profile is retrieved, use dynamic content such as 'Display Name' and 'Mail' to populate the corresponding fields in your 'Insert row' SQL action.

Use the Office 365 Users Connector to Extract User Details
Handling Multiple Assignees: If a task has multiple assignees, you will need to initialize a string variable and append each user's name or email to it within the loop before writing the final string to your SQL database.
Free Microsoft Office alternative

Boost Your Daily Productivity with WPS Office

While you troubleshoot complex backend automations and workflows, ensure your daily document management is hassle-free. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office for all your Word, Excel, and PowerPoint needs.

  1. 1. Download the installer: Visit the official WPS Office website and click the free download button.
  2. 2. Install the software: Run the downloaded installer file and follow the simple on-screen instructions.
  3. 3. Open your documents: Launch WPS Office to instantly open, edit, and save your existing Office files without losing formatting.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Free and lightweight suite that runs smoothly on Windows, Mac, Linux, iOS, and Android.Familiar tabbed user interface ensures a seamless transition with zero learning curve.Built-in PDF editing suite to manage, merge, and convert documents effortlessly.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Automate return assignment IDs instead of names for Planner tasks?

The Microsoft Planner API is designed to return raw assignment IDs for database efficiency. To get human-readable names and emails, you must cross-reference these IDs with Azure Active Directory using the Office 365 Users connector.

How do I get the Bucket Name instead of the Bucket ID in my flow?

You need to add a 'List buckets' action for the specific Plan before your task loop. Inside your loop, you can then use a 'Filter array' action to match the Bucket ID from the task to the Bucket Name from your list.

Why are the assignment fields completely blank in my SQL database?

This usually happens when dynamic content is improperly mapped. Because 'Assignments' is a complex JSON object rather than a simple string, passing it directly into a SQL text column without parsing it or looping through it first will result in blank or NULL values.