Share via

Unable to fetch RosterPlans for a user using application permission or user permission

NectaaAdmin 5 Reputation points
2024-04-22T06:22:20.4133333+00:00

Unable to fetch users Planners.

rosterPlans

https://learn.microsoft.com/en-us/graph/api/planneruser-list-rosterplans?view=graph-rest-beta&tabs=http

GET https://graph.microsoft.com/beta/users/{usersId}/planner/rosterPlans

Application permission given: Tasks.Read.All | Tasks.ReadWrite.All

Error:

{
    "error": {
        "code": "",
        "message": "You do not have the required permissions to access this item.",
        "innerError": {
            "date": "2024-04-22T06:07:34",
            "request-id": "de55ce13-8473-4809-905e-2ca24e8083f2",
            "client-request-id": "de55ce13-8473-4809-905e-2ca24e8083f2"
        }
    }
}

###############################

  1. I also tried using Global Admins account in Graph explorer.
  2. I tried to fetch all the roster planner of a user.
  3. It returns error. No permission. Same as above error.

#################################

MY Ultimate goal is to be able to fetch all the planners created by a user or a user is a part of. Be it m365 planner or personal planer (roster plans).

We want to manage all planners as Admin.

Microsoft Security | Microsoft Graph
{count} vote

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.