这让我发疯。
我的主要目标是在我的 Rails Web 应用程序中嵌入 POWER BI 报告/磁贴。
我有一个带有一些报告的 POWER BI 帐户。我还在 Azure 门户上为 Power BI Embedded 创建了一个工作区集合。
通过门户,我无法将工作区添加到我的 WorkspaceCollection(为什么是 M$?)
我正在使用 OSX,所以我无法遵循这些说明(Visual Studio 中的 PowerBI-embedded.sln): https ://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get -开始样品/
因此,作为替代方案,我使用 OSX Azure CLI: https ://azure.microsoft.com/en-us/documentation/articles/xplat-cli-install/
登录后我可以这样做:
$ azure powerbi -h
help: Commands to manage your Azure Power BI Embedded Workspace Collections
help:
help: Create a new workspace collection
help: powerbi create [options] <resourceGroup> <name> <location> [tags]
help:
help: List workspace collections within subscription or within resource group
help: powerbi list [options] [resourceGroup]
help:
help: Commands to manage your Power BI Workspace Collection keys
help: powerbi keys list [options] <resourceGroup> <name>
help: powerbi keys renew [options] <resourceGroup> <name>
help:
help: Commands to manage your Power BI Workspaces
help: powerbi workspaces list [options] <resourceGroup> <name>
help:
help: Options:
help: -h, --help output usage information
help:
help: Current Mode: arm (Azure Resource Management)
...和这个:
$ azure powerbi list
info: Executing command powerbi list
+ Getting workspace collections in subscription: 12345678-1234-1234-1234-123456789012
data: Name Group Location Provisioning State Tags
data: --------------------------- --------------------- ----------- ------------------ ----
data: MyCompanyWorkspaceCollection MyCompanyResourceGroup West Europe Succeeded null
data: MyCompany-WC MyCompanyResourceGroup West Europe Succeeded null
info: powerbi list command OK
伟大的!
现在,如何在 MyCompanyWorkspaceCollection ( ) 中配置新的工作区Provision a new workspace in an existing workspace collection
?
之后,如何将 PBIX 文件导入该工作区?
非常感谢您的建议!