Hi There -
Thanks to you all for your answers in here; I've been able to teach myself a great deal from just reading the answers. But I've gotten myself stumped with this one.
I have a Form I'm moving responses for to a Sharepoint (no issues with that part). But as part of creating the full record, I'm attempting to look up the user the response is recorded for using a field on the form that is ultimately an employee ID. That employee ID is located in the "Nickname" field within Azure. Is there a way I can use the "Get User Profile (v2)" function to look up based on that employee ID within the Nickname field to return the user profile vs. searching by email only? It works flawlessly returning it on the email address that's stored as part of the form entry, but in this case, I may have situations where the user making the entry may not be the user who the entry is for (such as a supervisor or support personnel).
Thank you so much! This solved not only my current conundrum, but a separate one I've been stumped on for a while and never revisited.
Hi @codywalker,
The Get User Profile (V2) action only allows you to retrieve a profile based on either the User principal name or id. There is also a Search for Users (V2) action. That allows you to search within the display name, given name, surname, mail, mail nickname and user principal name.
Are you using an extensionattribute in Azure Active Directory or do you actually mean the mailNickName attribute?
https://learn.microsoft.com/en-us/azure/active-directory-b2c/user-profile-attributes
In case of the second scenario you could use a Search for Users (v2) action instead.
Alternatively, you could also use a Graph API list users method with a $filter query parameter in a Send an HTTP request action (Office 365 Groups connector)
https://graph.microsoft.com/v1.0/users/?$filter=mailNickname eq '@{variables('employeeID')}'&$select=id,mail
stampcoin
39
Churchy
20
Chriddle
19
Super User 2025 Season 1