Reputation: 2088
I am receiving access denied when trying to access the plans by group in beta using the endpoint https://graph.microsoft.com/beta/plans. I use clientsecret and clientId and I granted my application all required permissions on Azure AD as well as consented by admin. Is there a limitation? is this feature not available using app only permissions?
Upvotes: 0
Views: 720
Reputation: 166
if your app is running on a back-end server (not in a browser), do not forget to add offline_access
scope (in addition to Group.Read.All
and Group.ReadWrite.All
).
Having these scopes, I can successfully access Plans of Unified group using query like this:
/beta/plans?$filter=owner eq '{groupId}'
Upvotes: 1