Why is Power Automate not removing users from a Planner task?

Anonymous
2025-06-24T16:29:00+00:00

I am trying to remove a user from a planner task through power automate and it seems like it's working on power automate, but when I go to planner, the user still remains assigned to the task. I can add users to the task within the same action on power automate and it works fine. It is grabbing the correct email for the user. Even if I put in a user's ID or email, it will not remove them from the task. I can manually go in and remove users, so it isn't an access problem. I have tested this on multiple accounts and on different planners, but the problem persists.

Microsoft 365 and Office | Install, redeem, activate | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Anonymous
    2025-06-24T18:02:20+00:00

    Dear Jasmin,

    Thank you for posting in Microsoft Community.

    I understand the challenge you're facing where your Power Automate flow shows as successful for removing a user from a Planner task, but the user remains assigned in Planner. This can definitely be perplexing, especially when adding users works seamlessly and manual removal is possible. This issue is often related to how the Planner API handles updates to assigned users.

    Here’s a breakdown of why this might be happening and the recommended approaches to ensure users are successfully unassigned:

    1.Using the Specific "Unassign users from a task" Action:

    Power Automate provides a dedicated action specifically for removing users. If you're attempting to remove users by only "Update task" or "Assign users" and simply leaving out the user you want to remove, the Planner API might not interpret this as an instruction to remove them, especially if you're not sending the complete, updated list of all remaining assignees.

    • Solution: Ensure you are using the "Unassign users from a task" action in your Power Automate flow. This action is designed for this specific purpose and usually requires the Task ID and a semicolon-separated list of the User IDs (or emails, if supported by the action's configuration) you wish to remove. This is generally the most reliable method.

    2.Planner Tasks Use a Multi-Value Assigned Users Property:

    If the dedicated "Unassign users from a task" action is not available or not suitable for your specific flow design, you might be trying to manage assignments by updating the task's "Assigned To" property. When you update a multi-value property like "Assigned To" via the "Update a task" action, you typically need to provide the entire, new list of assigned users. If you only specify the user to remove without including the rest of the currently assigned users, Planner may ignore the update or revert it, as it expects the full current state.

    • Solution:
      • Retrieve the Current Assigned Users List: Use the "Get task details" action to fetch the task's current list of assigned users.
      • Build a New Assigned Users List (Excluding the User to Remove): In your flow, create a collection or string variable that contains all the users who should remain assigned to the task, explicitly excluding the one(s) you want to remove.
      • Update the Task with the New List: Use the "Update a task" action and feed this newly constructed list (containing only the desired assigned users) back into the "Assigned To" property. This overwrites the previous list with your desired assignments.

    3.Issues with Deleted or Former Users:

    If the user you are trying to remove has been deleted or is no longer an active user in Azure AD, Planner may struggle to update assignments related to that "stale" user entry. Tasks assigned to such users might sometimes appear as assigned to a generic "Member" or become difficult to manage programmatically.

    • Solution: If the user is a deleted Azure AD account, programmatic removal via Power Automate might be inconsistent or impossible. In such cases, manual removal directly within the Planner UI or, in extreme cases, recreating the task entirely might be necessary.

    Additional Notes:

    • After running your Power Automate flow, allow a few minutes for Planner to synchronize. Sometimes, the Planner interface (especially in Teams) might display cached information.
    • Confirm you are using the correct User ID format (e.g., Azure AD object ID vs. User Principal Name vs. email address) for the specific Power Automate action you're using. You can often obtain the correct User ID using a "Get user (V2)" action from the Azure AD connector.

    I hope this information helps clarify the situation and provides you with workable solutions. Should you have any further questions or need additional assistance, please don't hesitate to reach out. We're always here to help. Have a wonderful day!

    Kind regards,
    Kai-L - MSFT | Microsoft Community Support Specialist

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2025-06-26T22:33:44+00:00

    Dear Jasmin,

    Just checking in to see if the above information was helpful. If you have any further updates on this issue, please feel free to post back.

    0 comments No comments