Delegated permissions from administrator

Ignacio Zafra Jiménez 1 Reputation point
2021-07-23T14:02:34.587+00:00

We have a problem consenting permissions and obtaining access tokens to call MSGraph API. Our product is like follows:

We have an API that works with MSGraph. Until now, we have been using Aplication permissions to access resources as mail and calendar.
We would like to start using Task To-Do API and it only supports Delegated permissions.
Our API works with multiple tenant and multiple users in each tenant.
We use admin consent to give all necesary permissions and generate a token aftewards to make requests to MSGraph (Aplication permissions endpoints).

With these new changes, is there a way to generate a token valid for To-Do API directly from an administrator, or is mandatory that each user signs in to create a personal auth token valid for this API?
We would like to avoid the proccess of user sign in as our API is meant to work behind another application we do not develop after administrator has given consent.

Thank you in advance

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,030 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.