1

I'm trying to use the MS Graph API without user credentials in console application to create tasks in MS Planner.

I've created it with user credentials, and everything seems to work, except that I can only create tasks in buckets where the user is a member of the Office 365 group.

I've followed all the steps in the dev informatie from MS: https://developer.microsoft.com/en-us/graph/docs/concepts/auth_v2_service

I'm getting a token back, but when I'm trying to create a task, I'm getting a error: "insufficient privileges to complete the operation' or "not enough permissions".

Can somebody point me in the right direction, or supply me of some working c# code to connect to the MS Graph API with AppId + SecretId

Thank you.

2
  • Do you use this? If yes, this document says that application permissions are not supported. Commented Jun 15, 2018 at 6:32
  • @robdy , yeah I used that.. Did not saw that information.. Thanks for pointing that out. Do you know if there is another way to do this? Commented Jun 15, 2018 at 6:50

1 Answer 1

2

As you use create PlannerTaks, you'll see in the docs that application permissions for that (same is for beta version):

enter image description here

Based on that you'll have to use delegated permission to create tasks.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.