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.4k views
in Technique[技术] by (71.8m points)

office js - Outlook Addins with graph api

We are currently using outlook rest api with getCallbackTokenAsync() as suggested here https://stackoverflow.com/a/57518222/13983926

The outlook rest api is now deprecated. Is there a new suggestion or solution for connecting to graph api from office addins?

sideloading would not be an option, our addin is already public for 365 paid and free outlook customers.

question from:https://stackoverflow.com/questions/66068824/outlook-addins-with-graph-api

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

1 Reply

0 votes
by (71.8m points)

You can use SSO to obtain access tokens to call the Microsoft Graph API. Documentation on getting started with SSO can be found here.

Please be sure to follow the format requirements in the manifest for SSO, or your add-in may be rejected from AppSource until it meets the required format.


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

...