Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Obtaining the Assigned Username from Planner and Adding to Excel

(0) ShareShare
ReportReport
Posted on by

Ben_Sully_0-1684336393275.png

To explain the flow, wherever this user is assigned, it lists the teams it is part of, lists the planners from those teams and looks for tasks with a coloured label assigned. The difficulty was pulling through who the task was assigned to. To do this I initiated a string variable at the start called "Assigned To" which is blank. I then put in the set variable the expression "item()?['_assignments'][0]['userid']". The flow works as intended but always states it has failed and I believe the code is the failure point. Can anyone help with this problem?

 

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Obtaining the Assigned Username from Planner and Adding to Excel

    Hi @Ben_Sully 

     

    Pleas replace 'Get user profile (V2)' action with 'Get User' action of Azure AD connector to get the display name or other properties of user based on its Id:

    ManishSolanki_0-1684348068517.png

     

    If this helps, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

     

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.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow