Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k 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?


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

1 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...