无法 add/connect Azure Analysis Services 中的 CosmosDB

Unable to add/connect CosmosDB in Azure Analysis Services

我在同一区域(印度西部)创建了 Azure 分析服务和 CosmosDB。但是当我尝试在 Azure 分析服务中添加新模型时,我只能在数据中找到示例数据(Adventurous DW)源列表。我无法在数据源的下拉列表中找到 CosmosDB 名称。

Microsoft 提到我们可以从内存模型的 Azure 分析服务连接到 Cosmos DB。但我什至无法在列表中找到 Cosmos DB。

https://docs.microsoft.com/en-in/azure/analysis-services/analysis-services-datasource

遵循官方教程:Add a sample model from the portal,您只能使用示例模型,它是 Adventure Works Internet Sales (1200) 示例数据模型的完整版本。示例模型可用于测试模型管理、连接工具和客户端应用程序以及查询模型数据。

但是根据 supported list data source document 中的陈述,cosmos db 只需要 Tabular 1400 and higher models

所以,请按照 Adventure Works tutorial to create a tabular model project.Then you could create a connection 到您的 cosmos db 帐户 inn 表格模型资源管理器,右键单击 Data Sources > Import from Data Source

键入您的数据库信息:

另外,您可以参考与此相关的案例:https://social.msdn.microsoft.com/Forums/en-US/9394a10b-f085-4a68-9951-5000a6f799ef/cosmos-db-data-source-how-to-configure-the-key-in-azure-analysis-services?forum=AzureAnalysisServices