gpt4 book ai didi

Azure 数据工厂链接服务到 Sharepoint

转载 作者:行者123 更新时间:2023-12-02 06:39:41 27 4
gpt4 key购买 nike

我已经在 Azure 中创建了服务原则,并在 Sharepoint Online 中创建了客户端 ID 和 key 。

尝试在 Azure 数据工厂中创建链接服务时失败。

错误: -

Failed to get metadata of odata service, please check if service urland credential is correct and your application has permission to theresource. Expected status code: 200, actual status code: BadRequest,response is..

请帮助我如何向 SharePoint 网站授予服务原则权限。

最佳答案

您需要向 Sharepoint 提供应用程序权限。

如果您拥有 Sharepoint 的管理员访问权限,那么您可以提供对服务主体的访问权限

如果您需要以编程方式执行此操作,则可以使用以下 XML:<AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope="http://xxxxxxx" Right="Read" /> </AppPermissionRequests>

关于Azure 数据工厂链接服务到 Sharepoint,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65807542/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com