Share via

Get plannerPlan API is not working

Amir Sohail 416 Reputation points
2022-02-09T08:18:33.737+00:00

AOA

I hope all of you are feeling well!

Currently, we are using Graph API and our organization wants to get details of the planner using plan_Id with a delegated level token.

Problem statement: we are facing a permission issue and the error is=> "message": "You do not have the required permissions to access this item."
we have added all permission to our user but still, we are facing the same issue.

please check below step one by one

For getting plan user needs below permission
172387-plan-permssion.jpg

We have added all permission to our user please check below screenshot
172525-screenshot-2022-02-09-at-10954-pm.png
172456-screenshot-2022-02-09-at-10939-pm.png

But still, we are facing a permission error please check below screenshot
172495-plan-permission-error.jpg

I need help why its behaving like this

Microsoft Security | Microsoft Graph

Answer accepted by question author

  1. CarlZhao-MSFT 46,456 Reputation points
    2022-02-09T08:59:31.773+00:00

    Hi @Amir Sohail

    This is a typical problem, you must add your users to the group to get the plan, because the group is the owner of the plan.

    ![172551-image.png]1


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


0 additional answers

Sort by: Most helpful

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.