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?
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.
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.
It appears the 28 character Ids are of former employees. How do I retrieve Display Names for them?
KD-02050901-0
2
VictorIvanidze
2