403 Error with Planner API

I am posting this here as it is a vexing issue, and I have received no feedback or guidance on it.

If you use Power Automate with the Planner Graph API or you have developed a solution that used the Planner Graph API to create tasks you will be affected by this problem:

https://feedbackportal.microsoft.com/feedback/idea/91794c73-0e87-ef11-9442-6045bdb4f28f

Essentially, the issue is that the new PREMIUM Plans that you can create from Teams Planner App (and soon the updated Planner Website), are not fully supported in the Graph API.

When you try to POST (create) a task for example you get a 403 error. This would imply that you need some type of Graph API Permission in your Entra ID Registration, but there is NO DOCUMENTATION on this at all.

If you or your organization use Microsoft Planner and have recently upgrade to Premium plans, and you automate your plans, please UP VOTE the item reference above.

If you are using Power Automate, here is a simple one I created. If a task is created and assigned to you anywhere in Planner, it will create a new task for you on a specified plan in a specified bucket.

  1. If I run this, it creates a new task on the Plan: “Starts of Basic”
  2. If I upgrade the plan to PREMIUM and then go to any other plan and create a task, and the automation runs, this is what I get:

This is the error you get:

{
"error": {
"code": "ArchivedEntityCanNotBeUpdated",
"message": "Archived entity can't be modified.",
"innerError": {
"date": "2024-10-22T13:33:52",
"request-id": "f6cbf471-eead-49e8-944c-c3d9f9b00147",
"client-request-id": "f6cbf471-eead-49e8-944c-c3d9f9b00147"
}
}
}

5 thoughts on “403 Error with Planner API”

  1. We had a similar issue with GraphAPI – it was not working for us and we reported a bug. Not much changed, but I’ve found a guy in Canada, who actually develops GraphAPI and we started getting fixes we need, though still have unresolved ones. Need a contact?

  2. Oh, I see you work for MS—so you probably have plenty of contacts you could share too! I have a couple of questions about Kryl’s Trello solution. Would you mind sparing a few minutes to share your experience, developer to developer? I also develop(ed) a solution to integrate Trello and MS, and now in the process of review/validation, and have very little visibility on what to expect. Thanks in advance, –Oleg

    1. I do have some contacts and can find my way to the right people, but I am also avoiding a conflict of interest. The Planner issue is one of those. I have to let it play out on the global stage and let the issue present itself organically. There has been “no official statement” on the incomplete API and I have to honor that.

  3. I just experienced exactly the same issue. Thanks for sharing this with the internet. I worked around it by not using a Premium Plan.

Leave a Reply