【问题标题】:Is there a way to create a custom connector for other tenant?有没有办法为其他租户创建自定义连接器?
【发布时间】:2022-01-19 18:37:12
【问题描述】:

我正在寻找是否有办法为其他租户或作为访客创建自定义连接器?

【问题讨论】:

  • 我在这个问题上得到 -1 有什么原因吗?

标签: azure-api-management powerapps power-automate-custom-connector


【解决方案1】:

连接器是围绕 API 的包装器或代理,它在 Power Automate 或 Power Apps 与后端服务或数据源之间进行交互。

自定义连接器(API 连接器)使您能够在 Power Automate 和 Power Apps 中连接您自己的 Web API (REST API)。 要创建自定义连接器,首先我们需要在 Azure Active Directory 中启用身份验证,然后将其中一个 API 注册为自定义连接器,最后在 Power Automate 中连接到它。

Azure Active Directory 中的身份验证

首先,您需要创建一个 Azure Active Directory (AAD) 应用程序,该应用程序在调用 API 端点时执行身份验证。

  • 首先在 Azure Active Directory 中创建一个应用注册
  • 现在在已注册应用的设置中,转到所需权限添加 API

有关更多详细信息,请查看 Microsoft 文档的 Enable authentication in Azure Active Directory 部分。

自定义连接器

配置 AAD 应用程序后,我们现在可以创建自定义连接器。

  • 点击 Power Automate 网页顶部的设置后,选择自定义连接器
  • 选择创建自定义连接器,然后导入 OpenAPI 文件
  • Security页面,提供应用的AAD信息并设置Resource URL。

有关详细信息,请查看 Microsoft 文档的 Create a custom connector 部分。

【讨论】:

    猜你喜欢
    • 2021-05-25
    • 1970-01-01
    • 2012-08-21
    • 2019-08-22
    • 2016-08-25
    • 1970-01-01
    • 1970-01-01
    • 2021-04-18
    • 2020-01-15
    相关资源
    最近更新 更多