Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure LogicApp OAuth API连接器和ARM部署_Azure_Azure Resource Manager - Fatal编程技术网

Azure LogicApp OAuth API连接器和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", "

在这里寻找一些建议。我们大部分时间都尝试在“完整模式”下进行ARM部署。但是对于像onedriveforbusiness这样的API连接器,我们注意到oauth是无效的,必须有人进入门户重新授权API连接器

是否有解决此问题的变通方法?或者我应该将逻辑应用程序分离到一个以增量模式运行的单独部署中吗?

您可以配置为传递到ARM模板

此处使用的ARM模板是:

{
    "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连接然后重新部署并不能解决问题。