Jun 07 2019 05:31 AM
Hi Guys
I am quite new to Graph and I was wondering if there is functionality I am missing. I am sure I can write some very long PS script to do this but worth a post before I start...
So I want to see all the Planners in my Organisation, I know I can use graph to retrieve all the Plans associated with a group: https://graph.microsoft.com/v1.0/groups/<group id>/Planner/Plans
However there seem to be two problems with this:
So before I start writing laborious scripts and adding myself to all 365 groups, is there anyway to deal with these two issues in a more fluid way. I.e. get access (i'm a global admin on the tenancy) and then list all the groups in one query - maybe a wildcard?
I am asking here as I can't find anything out there which seems to answer these issues.
Cheers
Dan
Jun 08 2019 01:07 AM
Solution
To my knowledge, there is no way to get plans and its data without being a member of the plan's associated group even if you have global admin privilege.
If you have added yourself as member in all plans (groups), then you can use below end-point to lists all the plans where you are member, but this api also has some problem as it will list plan only when you personally visit the plan in Planner portal at-least onetime. To my knowledge, both the api end-point and the issue is not documented anywhere.
# Not recommended to use this api without proper testing.
https://graph.microsoft.com/v1.0/me/planner/plans
With Global Admin privilege what you can do now is : You can export specific user's all plans data without being a member of the user's plans. You can refer below post for more details.
Jun 10 2019 05:23 AM
@kombaiah Murugan That's a great idea, thanks!
Jun 08 2019 01:07 AM
Solution
To my knowledge, there is no way to get plans and its data without being a member of the plan's associated group even if you have global admin privilege.
If you have added yourself as member in all plans (groups), then you can use below end-point to lists all the plans where you are member, but this api also has some problem as it will list plan only when you personally visit the plan in Planner portal at-least onetime. To my knowledge, both the api end-point and the issue is not documented anywhere.
# Not recommended to use this api without proper testing.
https://graph.microsoft.com/v1.0/me/planner/plans
With Global Admin privilege what you can do now is : You can export specific user's all plans data without being a member of the user's plans. You can refer below post for more details.