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 / Unknown error when usi...
Power Automate
Unanswered

Unknown error when using HTTP action to call graph API (Create a Team)

(0) ShareShare
ReportReport
Posted on by 126

I was using HTTP action to call graph API to create a team of Microsoft Teams, an error occurred after the flow finished. I have registered an Azure AD App and grant the Group.ReadWrite.All permission. See the details from the below pictures:

Flow to call the api:Capture.PNG

Error:

Capture1.PNG

 

Anyone can help? Thanks!

Categories:
I have the same question (0)
  • Zhangzhonghao Profile Picture
    126 on at

    Update for this post. The error may caused by the incorrect permissions of my registered Azure AD App, so I followed the guide https://www.lee-ford.co.uk/using-flow-with-graph-api/ to registered an new Azure AD App and set the permission as required.Capture.PNG

     

    Update the body with owners@odata.bind property as the guide mentioned. Capture1.PNG

    Finally I got a BadRequest error:

    {
      "error": {
        "code""BadRequest",
        "message""Invalid bind property name owners in request.",
        "innerError": {
          "date""2020-08-26T10:21:29",
          "request-id""82479320-f8ff-425f-8c58-7c097e506399"
        }
      }
    }
     
    Anyone can help me with this issue? Very appreciate!
  • Verified answer
    rimatos Profile Picture
    on at

    Hi @Zhangzhonghao ,

     

    Just tested this on my end and got the same error as you.
    I managed to workaround it changing the endpoint to use the 'beta' version instead of '1.0'.

     

    image.png

     

    Could you test it and verify if you still have the same issue when using this endpoint?

    Regards,

    Ricardo

  • Zhangzhonghao Profile Picture
    126 on at

    @rimatos Thanks for your help!!! Yeah, I just replaced to "beta", it worked for me. Hope you can add this information to that API Doc, I spent two days stucking in this issue...😫

  • Zhangzhonghao Profile Picture
    126 on at

    Hi @rimatos , I've got a new problem with calling graph api to create a plan(Planner). Here is the details: https://powerusers.microsoft.com/t5/Building-Flows/Flow-failed-when-calling-createPlan-graph-API/m-p/670876#M90274, could you please help to take a look? Very appreciate!

  • cjanow3 Profile Picture
    9 on at

    Glad you solved this, it's given me some additional things to try with my related issue.  Any input would be appreciated.

  • cjanow3 Profile Picture
    9 on at

    Glad you solved this, it's given me some additional things to try with my related issue.  Any input would be appreciated.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard