看起来我们现在可以使用逻辑应用程序中的 SQL Server 连接器对 Azure AD 进行身份验证,这太棒了!
我的问题是当我通过 ARM 模板更改此连接器的名称时,当我在 Azure Api 连接刀片中为该连接选择“编辑 Api 连接”时,我不再有 Azure AD 集成选项,它看起来像 SQL Server身份验证连接。
从逻辑应用创建连接时与 Azure AD 集成的 Api 连接
从我所看到和尝试的情况来看,当我从 Azure 导出模板时,它们看起来完全相同。以下是示例。
从 Azure AD 集成连接导出模板:
"resources": [
{
"type": "Microsoft.Web/connections",
"apiVersion": "2016-06-01",
"name": "[parameters('azure_ad_authenticated_connection')]",
"location": "<valid_location>",
"properties": {
"displayName": "{<db_name>} {<db_server_name>}",
"customParameterValues": {},
"api": {
"id": "[concat('/subscriptions/<subscription_id>/providers/Microsoft.Web/locations/<location>/managedApis/', parameters('connections_sql_name'))]"
}
}
}
]
Run Code Online (Sandbox Code Playgroud)
从 SQL Server 身份验证连接导出的模板:
"resources": [
{
"type": "Microsoft.Web/connections",
"apiVersion": "2016-06-01",
"name": "[parameters('sql_server_auth_connection')]", …Run Code Online (Sandbox Code Playgroud)