Get Team's Planner using App Only permission in Azure Function

213 Views Asked by At

Is there any example how I can achieve following requirement:

I need to read Planner Plans from Group in an Azure Function trough Graph Api.

Application permissions are not supported, only delegated.

I tried with ConfidentialClientApplicationBuilder with OnBehalfOfProvider, but no luck. I do not know how to set UserAssertion in this case.

Also, username and password flow is not an option, because end user can use MFA.

2

There are 2 best solutions below

2
Jeremy Thake MSFT On

Unfortunately Microsoft Planner APIs on Microsoft Graph do not support Application permissions (App-only) . This is confirmed in the docs here https://learn.microsoft.com/en-us/graph/api/planner-post-plans?view=graph-rest-1.0&tabs=http#permissions

Please vote up the feature request for this https://microsoftgraph.uservoice.com/forums/920506-microsoft-graph-feature-requests/suggestions/5904632-application-permissions-to-task-api

0
wghilliard On