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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Forms API implementation
Power Automate
Answered

Forms API implementation

(0) ShareShare
ReportReport
Posted on by

I have tried to implement get API MS Form but get error bellow :

vividichtarosa_0-1716778186278.png

 

 

Categories:
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @vividichtarosa 

    This error code means that your user ID may be wrong in your side.

    You need to check your User ID.

    vyueyunmsft_0-1716778676472.png

     

    You can get the ID in your Azure :

    vyueyunmsft_1-1716778779766.png

     

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

  • vividichtarosa Profile Picture
    on at

    Hi @v-yueyun-msft ,

    Thanks for your feedback.

    But I didn't create a tenant, how do I get the object ID?

  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @vividichtarosa 

    You can also use this action to get the user id:

    vyueyunmsft_0-1716780007758.png

     

     

    Best Regards,

    Yueyun Zhang

  • vividichtarosa Profile Picture
    on at

    hi @v-yueyun-msft ,

    arrgghh you save my day

  • vividichtarosa Profile Picture
    on at

    hi @v-yueyun-msft ,

    i have one question again

    in my browser, i can get the response like this

    vividichtarosa_0-1716799494721.png

     

    but when i implemented in power automate, i get error like this

    vividichtarosa_1-1716799590774.png

     

     

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @vividichtarosa 

    I test it in my side , it works good:

    vyueyunmsft_0-1716800324538.png

    formapi/api/Environment ID/users/userid/light/forms('form id')?$select=id,title,questions&$expand=questions($expand=choices)

     

    And what's the detailed error code in yoru side.

     

     

    Best Regards,

    Yueyun Zhang

  • vividichtarosa Profile Picture
    on at

    Hi @v-yueyun-msft ,

    The detailed error like this

    vividichtarosa_0-1716801191789.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard