LogicApp CRM 连接器创建记录给出 500 错误
LogicApp CRM connector create record gives a 500 error
我用大约一周前发布的最新版本构建了一个相当简单的 LogicApp。它每小时运行一次,并尝试在 CRM 在线创建记录。我以同样的方式创建了一个 LogicApp 来检索记录并且可以正常工作。
失败的输入和输出如下所示:
{
"host": {
"api": {
"runtimeUrl": "https://logic-apis-westeurope.azure-apim.net/apim/dynamicscrmonline"
},
"connection": {
"name": "subscriptions/6e779c81-1d0c-4df9-92b8-b287ba919b51/resourceGroups/spdev-eiramar/providers/Microsoft.Web/connections/EE2AF043-71F0-4780-A8D1-25438A7746C0"
}
},
"method": "post",
"path": "/datasets/xxxx.crm4/tables/accounts/items",
"body": {
"name": "Test 1234"
}
}
输出:
{
"statusCode": 500,
"headers": {
"pragma": "no-cache",
"x-ms-request-id": "d121f98c-3dd5-4e6d-899b-5150b17795a3",
"cache-Control": "no-cache",
"date": "Tue, 01 Mar 2016 12:27:09 GMT",
"set-Cookie": "ARRAffinity=xxxxx082f2bca2639f8a68e283db0eba612ddd71036cf5a5cf2597f99;Path=/;Domain=127.0.0.1",
"server": "Microsoft-HTTPAPI/2.0",
"x-AspNet-Version": "4.0.30319",
"x-Powered-By": "ASP.NET"
},
"body": {
"status": 500,
"message": "Unknown error.",
"source": "127.0.0.1"
}
}
有人知道如何解决这个问题吗?
您是否设置了访问 CRM 组织的安全角色,即您可以从浏览器访问 URL 吗? https://xxxx.crm4.dynamics.com
更新:已推出针对此问题的修复程序。请重试您的方案。
我用大约一周前发布的最新版本构建了一个相当简单的 LogicApp。它每小时运行一次,并尝试在 CRM 在线创建记录。我以同样的方式创建了一个 LogicApp 来检索记录并且可以正常工作。
失败的输入和输出如下所示:
{
"host": {
"api": {
"runtimeUrl": "https://logic-apis-westeurope.azure-apim.net/apim/dynamicscrmonline"
},
"connection": {
"name": "subscriptions/6e779c81-1d0c-4df9-92b8-b287ba919b51/resourceGroups/spdev-eiramar/providers/Microsoft.Web/connections/EE2AF043-71F0-4780-A8D1-25438A7746C0"
}
},
"method": "post",
"path": "/datasets/xxxx.crm4/tables/accounts/items",
"body": {
"name": "Test 1234"
}
}
输出:
{
"statusCode": 500,
"headers": {
"pragma": "no-cache",
"x-ms-request-id": "d121f98c-3dd5-4e6d-899b-5150b17795a3",
"cache-Control": "no-cache",
"date": "Tue, 01 Mar 2016 12:27:09 GMT",
"set-Cookie": "ARRAffinity=xxxxx082f2bca2639f8a68e283db0eba612ddd71036cf5a5cf2597f99;Path=/;Domain=127.0.0.1",
"server": "Microsoft-HTTPAPI/2.0",
"x-AspNet-Version": "4.0.30319",
"x-Powered-By": "ASP.NET"
},
"body": {
"status": 500,
"message": "Unknown error.",
"source": "127.0.0.1"
}
}
有人知道如何解决这个问题吗?
您是否设置了访问 CRM 组织的安全角色,即您可以从浏览器访问 URL 吗? https://xxxx.crm4.dynamics.com
更新:已推出针对此问题的修复程序。请重试您的方案。