Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
960 views
in Technique[技术] by (71.8m points)

core - Microsoft Graph - Planner API in a Service

Im trying to make a little .core service to keep gitlab issue's and a board on Microsoft Planner in sync.

Gitlab side isn't an issue however talking to the planner aspect is proving problematic.

In Azure I have successfully added an App Registration and using the delegated permissions, I can do what I need, BUT when it gets the access token, I get the old

To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code ******** to authenticate.

Which as im trying to make this into a service, isn't great.

I then setup permission as a deamon but Planner dosn't allow assess to 'Application Permissions' which planner needs.

So is there another option?

question from:https://stackoverflow.com/questions/65601084/microsoft-graph-planner-api-in-a-service

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Unfortunately Planner does not support Application Permissions. You can try to use a user account specifically created to act as your service as a workaround. There is currently no timeline for Planner supporting Application Permissions, however this is in our work backlog.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...