web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get User Profile (V2) ...
Power Automate
Unanswered

Get User Profile (V2) - How to specify query

(0) ShareShare
ReportReport
Posted on by 37

Hi,

 

When I'm trying to use Get USer Profile (V2) to get a specific field in the user profile, I get the following error:

 

{
 "error": {
 "code": "BadRequest",
 "message": "Query option '$select' was specified more than once, but it must be specified at most once.",
 "innerError": {
 "request-id": "eedd1e5b-a610-405c-a38c-35035df7f6a0",
 "date": "2018-01-08T11:21:51"
 }
 }
}

 

What am I doing wrong here? I guess the query field is supposed to act as the $select. It doesn't matter what I write in the field - I keep getting the above error.

 

Any help with the syntax of the Query field in this action would be much appreciated.

 

Kind regards,

Peter Rundqvist

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @svp95bos,

     

    Could you please share a screenshot of your flow's configuration?

     

    The error message told that the query option '$select' was specified more than once within your "Get user profile (V2)" action. The issue is confirmed on my side. 

     

    I afraid that we could not use OData query in Select query field of "Get user profile (V2)" action to get the specific field, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,

    Kris

  • svp95bos Profile Picture
    37 on at

    Hi,

     

    This is how my sample flow looks like.The first image show the configuration (sorry, it is in swedish) while the second shows the result of the execution. The first action is simply a button action.

     

    Kind regards,

    Peter

     

     

     

  • svp95bos Profile Picture
    37 on at

    Hi,

     

    Thanks for getting back. Does this mean that the query field in the "Get user profile (V2)" action isn't used? I can see that the action is still in preview.

     

    Kind reagrds,

    Peter

  • Community Power Platform Member Profile Picture
    on at

    Hello,

     

    Do you guys have any news about this issue?

     

    I am working on a customer tenant and now "Get User Profile (v1)" is no more available. I am stucked with the v2 version which does not allow to specify which properties I want to retrieve.

     

    Thank you,

    Denis

  • Community Power Platform Member Profile Picture
    on at

    Where did get user profile (v1) go to?

  • svp95bos Profile Picture
    37 on at
    Hi!

    I actually had to give this up and use the Graph API instead.

    Kind regards, Peter

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard