LogicApp CRM连接器创建记录给出500错误

时间:2016-03-01 12:49:29

标签: dynamics-crm azure-logic-apps

我构建了一个相当简单的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"
    }
}

有人知道如何解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

您是否设置了安全角色来访问CRM组织,即您是否可以从浏览器访问该URL? https://xxxx.crm4.dynamics.com

更新:修复此问题已推出。请重试您的方案。