Skip to main content
Community site session details

Community site session details

Session Id : HtFEQTa9282wS/8guxVg7i
Power Automate - Using Flows
Answered

Power Automate - Send an HTTP request V2 using Id

Like (0) ShareShare
ReportReport
Posted on 24 Oct 2023 04:12:37 by 15
Hi experts,
 
I am trying to use the action "Send HTTP request V2" to retrieve user details based on Id.
 
Currently I am using the URI:
 
This results in the error:
 
URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. Resources: groups. Uri: https://graph.microsoft.com/v1.0/users?$filter=Id eq 'XXXXXX'
 
I need to be able to determine a user by user id as I only have user id or display name available to me via Power Virtual Agent. I can not use display name as it is not unique.
 
Any help appreciated.
 
PA API.png

 

  • Verified answer
    WORSLEP Profile Picture
    15 on 25 Oct 2023 at 00:51:12
    Re: Power Automate - Send an HTTP request V2 using Id

    Hi @CFernandes ,

     

    I ended up implementing an alternate solution.

     

    The PVA Bot hand off is Display Name and User ID. I used Display Name in a "Serach for Users" action. I then used the result of the search in a filter array filtered to where the UserId = BOT User ID. The output of the filter array means I have the correct user based on User ID.

     

    PVA.png

     

    Thanks for your help

     

     

  • CFernandes Profile Picture
    8,295 Most Valuable Professional on 24 Oct 2023 at 08:51:49
    Re: Power Automate - Send an HTTP request V2 using Id

    @WORSLEP - If it works, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • WORSLEP Profile Picture
    15 on 24 Oct 2023 at 08:40:45
    Re: Power Automate - Send an HTTP request V2 using Id

    Thanks @CFernandes , will try my luck with my admin and updating the DLP policy. Really appreciate your quick response.

  • CFernandes Profile Picture
    8,295 Most Valuable Professional on 24 Oct 2023 at 07:35:31
    Re: Power Automate - Send an HTTP request V2 using Id

    Hey @WORSLEP 

     

    You will need to request your Admin to Edit the DLP policy and whitelist the AzureAD connector...

     

    or details on how to change\edit the DLP policy see - https://docs.microsoft.com/en-us/power-platform/admin/prevent-data-loss#edit-a-dlp-policy 

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • WORSLEP Profile Picture
    15 on 24 Oct 2023 at 07:32:09
    Re: Power Automate - Send an HTTP request V2 using Id

    Thanks @CFernandes ,

     

    Unfortunately, when I try to use "Invoke an HTTP request" I get the following.

     

    I don't suppose you have any other options I could try?

     

    ThanksPA API 2.png

  • CFernandes Profile Picture
    8,295 Most Valuable Professional on 24 Oct 2023 at 06:28:59
    Re: Power Automate - Send an HTTP request V2 using Id

    Hey mate @WORSLEP 

     

    You have stumbled on a known issue... If you look at the Help section, you will find 

     

    CFernandes_0-1698128737277.png

     

     

    The word around would be to use Azure AD "Invoke an HTTP request.

     

    CFernandes_1-1698128922246.png

     

    Ref link - https://www.c-sharpcorner.com/article/using-graph-api-in-power-automate/ 

     

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel 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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading started