如何使用带有SharePoint Provider Hosted应用程序的Graph API。 [英] How to use Graph API withing SharePoint Provider Hosted app.
问题描述
我想在SharePoint Provider Hosted应用程序中使用Graph API向新访客用户发送邀请。 我收到冲突错误,Graph API和Provider Hosted应用程序使用不同的机制来授权用户。提供托管应用程序使用ACS作为令牌服务器,Microsoft Graph使用较新的Azure AD STS服务器。因此在部署 上述问题有人可以提供帮助吗?
app解决方案时会出现冲突错误。我认为由于不同的实现机制,身份模型正在变得冲突。
您好,
请使用ADAL JS在加载项或SharePoint框架中调用Microsoft Graph API。
以下文章供您参考:
使用网络部件中的OAuth调用Microsoft Graph API
调用其他服务的SharePoint应用程序架构
最好的问候,
Dennis
I want to use Graph API within SharePoint Provider Hosted app to send invitation to new Guest User.
I am getting conflict error and Both Graph API and Provider Hosted app uses different mechanism to authorize user. Provide Hosted app uses ACS as a token server and Microsoft Graph uses the newer Azure AD STS server. Hence getting conflict error while deploying
app solution. I believe Identity model is getting conflict due to different implementation mechanism. Could anyone help on above issue?
Hi,
Please use ADAL JS to call Microsoft Graph APIs in add-in or SharePoint framework.
The following articles for your reference:
Call the Microsoft Graph API using OAuth from your web part
An Architecture for SharePoint Apps That Call Other Services
Best Regards,
Dennis
这篇关于如何使用带有SharePoint Provider Hosted应用程序的Graph API。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!