Skip to main content

Notifications

Community site session details

Community site session details

Session Id : oeZkoS/NUigbMNK1jiPnhA
Power Automate - Using Flows
Unanswered

Planner User Ids (Created By, Assigned To, Assigned By) to Display Name

Like (0) ShareShare
ReportReport
Posted on 30 Oct 2023 17:50:02 by 17

I'm following one of the posts that explains how to convert Planner users IDs to Display Names using "Get user profile (V2)"

 

However, I'm running into failures when the UPN is not a GUID. It's some string that looks like this:

 

ja1NMv8Bv0yH8DTxSDwK12UAPTX8

 

My list of User Ids are a mix of the above an GUIDs by the way. I find that odd, too.

 

How do I get display names that works for both GUIDs and the type above?

  • v-qiaqi@microsoft.com Profile Picture
    on 31 Oct 2023 at 02:43:26
    Re: Planner User Ids (Created By, Assigned To, Assigned By) to Display Name

    Hi @carlom_iptech,

    Here I give you an example based on AssignedTo.

    1). When you use the ‘assignments’ dynamic content from a Planner task, you will get an object, where you need to extract the user id within.

    2). You can use the ‘Select’ action in a similar way as when extracting user email addresses from user objects.

    vqiaqimsft_1-1698720129100.png

    3). The output will be an array that’ll contain only the ‘userId’. Add an ‘Apply to each’, use the ‘Select’ output as the input, and ‘Get user profile’ for each of the ids. 

    vqiaqimsft_2-1698720163056.png

     

     

  • carlom_iptech Profile Picture
    17 on 30 Oct 2023 at 18:23:16
    Re: Planner User Ids (Created By, Assigned To, Assigned By) to Display Name

    It appears the 28 character Ids are of former employees. How do I retrieve Display Names for them?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Using Flows

#1
KD-02050901-0 Profile Picture

KD-02050901-0 2

#1
VictorIvanidze Profile Picture

VictorIvanidze 2

Overall leaderboard

Featured topics

Restore a deleted flow