Azure 函数数据绑定错误

Azure Function data binding error

我的 Azure 函数(触发器 - Blob,输出 - 数据绑定到 MS SQL DB)抛出错误

2017-04-03T17:17:33.475 Exception while executing function: Functions.BlobToDB. System.Net.Http: Response status code does not indicate success: 404 (Execution Failure inner exception: The specified item 'TestEnt' is not found.).

我的数据库中有 TestEnt,连接字符串被验证了几次。

函数代码:

public static async Task Run(Stream myBlob, string name, IAsyncCollector<TestEnt> outputData, TraceWriter log)
{
        var R = new TestEnt();
        R.TestEntId = Guid.NewGuid();
        R.TestEntName = "Test";
        await outputData.AddAsync(R);
        log.Info($"ok!");        
}

public class TestEnt
{
    public Guid TestEntId { get; set; }

    public string TestEntName { get; set; }

}

感谢帮助!

我想我找到了解决方案 - 您需要用网络路由填充数据库服务器名称(dbservername.database.windows.net 不仅是数据库服务器名称)

enter image description here