首页 文章

Cosmos DB数据源 - 如何在Azure Analysis Services中配置密钥

提问于
浏览
0

在Visual Studio中,我创建了一个具有Cosmos DB数据源的表格模型 .

如果在Visual Studio中我处理模型,数据源连接到Cosmos DB,我可以在Excel中浏览数据 . 我已成功将模型部署到Azure Analysis Services,但非常正确的是部署没有部署Cosmos DB Key,使我的数据库无法访问 .

我试过了:

  • 在Azure中,将密钥添加到数据源 . Azure UI中没有任何地方可以执行此操作 .

  • 从SSMS编辑数据源 . 系统会提示您输入Cosmos DB Key,但SSMS会抛出异常 .

  • 从SSMS执行XMLA命令将Cosmos数据库密钥添加到数据源,我已经在MSDN中搜索了需要设置但无法找到我需要的属性 .

如何将密钥部署到数据库以便Azure可以使用它?

2 回答

  • 0

    谢谢您的回复 .

    如你所述,'fix'使用SSMS来连接 Refresh .

    如果您尝试使用SSMS编辑连接属性,那么这不起作用 .

  • 0

    我无法重复您的问题 .

    我能够在visual studio中创建具有Cosmos DB数据源的表格模型 . 它只是给出了添加CosmosDB作为数据源的警告 . 但是,它仍然添加数据源 .

    enter image description here

    我可以使用cosmosDB密钥将模型部署到Azure Analysis Service .

    enter image description here

    我能够连接到SSMS中的Analysis服务,并能够毫无问题地刷新CosmosDB Key .

    enter image description here

    enter image description here

    enter image description here

    在使用编辑数据源并使用SSMS输入Cosmos DB密钥时,您会看到什么异常?

相关问题