Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
For the needs of embedding reports in our SaaS platform we have to provision Power BI embedded capacity in Azure, A SKU capacity. We have a problem though to identify correctly the value of the location property.
First we tried to use the corresponding PowerShell command but when we execute it like this:
New-AzureRmPowerBIEmbeddedCapacity -ResourceGroupName "rc-reporting" -Name "rcdevembeddedcpacity" -Administrator "powerbidevmaster@xxxxx.onmicrosoft.com" -Location "northeurope" -Sku A1
we get back the following error
New-AzureRmPowerBIEmbeddedCapacity : Invalid Sku: 'A1'. Available Skus are: ''
And whatever the values we tried (A1 to A6) we got back the same error.
We managed to provision embedded capacity when we used the following ARM template
{
"comments": "Power BI embedded capacity",
"apiVersion": "2017-10-01",
"type": "Microsoft.PowerBIDedicated/capacities",
"location": "North Europe",
"name": "[variables('powerbiCapacityName')]",
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"properties": {
"administration": {
"members": [
"powerbidevmaster@xxxxxx.onmicrosoft.com"
]
}
}
}And the command to deploy
New-AzureRmResourceGroupDeployment -ResourceGroupName "rc-reporting" -TemplateFile .\powerbi.json -prefix "rcdev"
Our main issue is to identify the right value for the Location property. We can't use whatever location we would like, for example the location resource group resides in. It's related to the location the Power BI Service exists for the data center or similar. According to the documentation here
"The location where Power BI is hosted for your tenant. This setting is resolved automatically, a different location cannot be selected."
Indeed when you try to provision the capacity through Azure portal you can only select one location so it's resolved automatically. In our case we need to automate this process and don't have a manual step. So we don't know how to correctly retrieve this location property though PowerShell. Omitting completely the Location property results to an error that it is required.
Solved! Go to Solution.
Hi,
We do not have an API that returns your PBI location.
Currently it can only be done manualy either my looking in the location Azure portal selects for you or by going to Power BI portal and clicking ? -> About Power BI - there you will see your location as well.
Thanks,
Tal
Hi,
We do not have an API that returns your PBI location.
Currently it can only be done manualy either my looking in the location Azure portal selects for you or by going to Power BI portal and clicking ? -> About Power BI - there you will see your location as well.
Thanks,
Tal
Hi @xabikos,
First we tried to use the corresponding PowerShell command but when we execute it like this:
New-AzureRmPowerBIEmbeddedCapacity -ResourceGroupName "rc-reporting" -Name "rcdevembeddedcpacity" -Administrator "powerbidevmaster@xxxxx.onmicrosoft.com" -Location "northeurope" -Sku A1
we get back the following error
New-AzureRmPowerBIEmbeddedCapacity : Invalid Sku: 'A1'. Available Skus are: ''And whatever the values we tried (A1 to A6) we got back the same error.
I noticed that the -Sku parameter should be a String value. So have you tried putting A1 in double quote in the command(like -Sku "A1") to see if it works?
Honestly I'm not very familiar with Azure PowerShell commands. If it is still doesn't work, I would suggest you also create a new issue on Azure PowerShell Issues for better assistance. ![]()
Regards
Hello @v-ljerr-msft
Thank you for your reply.
I tried to pass the Sku parameter as string, with double quotes but no luck.
I will see if posting an issue on the corresponding GitHub issue might help.
Regards
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |