cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DaniCalifornia
New Member

Action HTTP request to Microsoft Graph API in order to create Planner plan - error 400 invalid id

Dear community,

 

I am trying to use the Microsoft groups HTTP request action in order to create a new Planner plan (whereas instead of "XXXXX", I have inserted the group ID I want the plan to be created in):

request.PNG

But whenever I do this, I get the following 400 response:

 

{
  "error": {
    "code": "",
    "message": "Invalid id",
    "innerError": {
      ...
    }
  }
}

 

Unfortunately, I can not find out, what this means. Does it mean I have the wrong group ID? I extracted the group ID from a link to my MS Teams team. Is this the wrong way to determine the group ID?

Thanks for your help and best regards

 

DaniCalifornia

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @DaniCalifornia ,

 

I ran it successfully. I get my group id via azure ad portal.

https://portal.azure.com/

vxiaochenmsft_0-1664865494338.png

Also, please check the prerequisite.

vxiaochenmsft_1-1664865587641.png

 

https://learn.microsoft.com/en-us/graph/api/planner-post-plans?view=graph-rest-1.0&tabs=http#request...

 

Best Regards,

Wearsky

 

View solution in original post

2 REPLIES 2
v-xiaochen-msft
Community Support
Community Support

Hi @DaniCalifornia ,

 

I ran it successfully. I get my group id via azure ad portal.

https://portal.azure.com/

vxiaochenmsft_0-1664865494338.png

Also, please check the prerequisite.

vxiaochenmsft_1-1664865587641.png

 

https://learn.microsoft.com/en-us/graph/api/planner-post-plans?view=graph-rest-1.0&tabs=http#request...

 

Best Regards,

Wearsky

 

DaniCalifornia
New Member

Thank you, got it working with this 🙂

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,388)