Azure LogicApp OAuth API连接器和ARM部署
在这里寻找一些建议。我们大部分时间都尝试在“完整模式”下进行ARM部署。但是对于像onedriveforbusiness这样的API连接器,我们注意到oauth是无效的,必须有人进入门户重新授权API连接器 是否有解决此问题的变通方法?或者我应该将逻辑应用程序分离到一个以增量模式运行的单独部署中吗?您可以配置为传递到ARM模板 此处使用的ARM模板是:Azure LogicApp OAuth API连接器和ARM部署,azure,azure-resource-manager,Azure,Azure Resource Manager,在这里寻找一些建议。我们大部分时间都尝试在“完整模式”下进行ARM部署。但是对于像onedriveforbusiness这样的API连接器,我们注意到oauth是无效的,必须有人进入门户重新授权API连接器 是否有解决此问题的变通方法?或者我应该将逻辑应用程序分离到一个以增量模式运行的单独部署中吗?您可以配置为传递到ARM模板 此处使用的ARM模板是: { "type": "microsoft.web/connections", "
{
"type": "microsoft.web/connections",
"apiVersion": "2016-06-01",
"name": "[variables('Principal Data Factory Connection Name')]",
"location": "[resourceGroup().location]",
"dependsOn": [],
"properties": {
"api": {
"id": "[concat(subscription().id, '/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/azuredatafactory')]"
},
"displayName": "Service Princiapl Data Factory Connection",
"parameterValues": {
"token:clientId": "[parameters('Service Principal App Id')]",
"token:clientSecret": "[parameters('Service Principal Secret')]",
"token:TenantId": "[parameters('Service Principal Tenant')]",
"token:resourceUri": "https://management.core.windows.net/",
"token:grantType": "client_credentials"
}
}
}
在配置中传递凭据。无需授权/验证。您确定这适用于WordOnline Business和OneDrive for Business吗?尝试设置此设置时,我遇到以下错误:不允许在连接上使用参数“token:clientId”,因为在注册API时未将其定义为连接参数。。删除现有的API连接然后重新部署并不能解决问题。