Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create Planner plan, Error 401 - Unauthorized: Access is denied due to invalid credentials.

Hello guys !


I want to create a flow with an HTTP request to create a planner plan.

When I create this planner plan, an error displayed : "401 - Unauthorized: Access is denied due to invalid credentials."


Firstly, I give the permissions to my application on Microsoft Azure.

These permissions are :

  • Directory.AccessAsUser.All (Delegated)
  • Directory.ReadWrite.All (Delegated)
  • Group.ReadWrite.All (Delegated)



Then, I get my access token :



Before create a planner, I create a new Microsoft group and I add a member to this group. Theses flows are executed by an administrator account :



Then I make an HTTP request for create a Planner plan :


(The value of my access token is : "Bearer {token}")


When I execute this flow, everything is working until the HTTP request.



I tried to run this HTTP request with Postman but the response is the same :



Do you have a solution to debug my query or any idea where the problem is?

Advocate II
Advocate II

Different use case (getting Planner details from Graph) but same general setup and error/issue here. Registered an app, selected correct permissions, admin consented...


When I go to collect the token, it works, but the token doesn't seem to be working. Getting 401 - Unauthorized.


The only thing you might want to try differently is not putting your bearer token into the Raw authentication setting, but instead passing it as a header parameter. My flow isn't working, so I'm not the best person to be giving advice at the moment, but most of the documentation I've seen suggests this approach:



New Member

Hi, I am having the same issue! Did you get a solution?

Helpful resources

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,762)