Getting all plans and tasks from global administrator account

Copper Contributor

Hi all,

 

I'm trying to retrieve a plan associated to a group with a global admin account but I can only access it if I'm in this plan as member.

 

https://graph.microsoft.com/beta/groups/<group-id>/plans in a group with a plan where I'm member returns the expected JSON, but if I don't have membership in this group/plan, it returns a "UnknownError", which corresponds, debbuging with visual studio, to a 403 (forbidden) error. Is it working as expected for a global admin account?

 

1 Reply
To access the group details you need to be a member of that particular group. In order to make this work you need to include Global admin account as a member to all groups.