【Azure Logic App】在中国区的微软云服务上,使用逻辑应用是否可以下载SharePoint上的文件呢? - LuBu0505/My-Code GitHub Wiki

问题描述

在中国区的微软云服务上,使用逻辑应用是否可以下载SharePoint上的文件呢?

目前遇见的问题时,选择Logic App的SharePoint组件,登录SharePoint账号时,只能选择中国区的登录账号,不能使用Global Sharepoint账号。 image.png

问题解答

Azure China的Logic App中的 Sharepoint Connector只能通过中国区账号登录,不能使用Global的账号登录,因为无法在Azure China的Logic App中使用Global Sharepoint。

调查到Sharepoint有配套的RSET API, 所以可以使用HTTP Connector调用Global Sharepoint API 来实现它。 image.png

参考资料

从 Azure 逻辑应用中的工作流调用外部 HTTP 或 HTTPS 终结点 : https://docs.azure.cn/zh-cn/connectors/connectors-native-http?tabs=standard

Reading data with the SharePoint REST interface : https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-rest-endpoints#reading-data-with-the-sharepoint-rest-interface

当在复杂的环境中面临问题,格物之道需:浊而静之徐清,安以动之徐生。 云中,恰是如此!