Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I'm stepping through the "App Owns Data" sample and have hit a wall...
Power BI - Embed Sample
Solved! Go to Solution.
Actually, it is possible to get a groupid from PowerBI.Apiary - so I used that.
They still exist but appear to be hidden now behind the app workspace...
I was stuck at the same point, and only later figured this out.
The default workspace called "My Workspace" does not have a guid. But if you create a new "workspace", and click on it, the url clearly contains the group guId as also highlighted below.
https://app.powerbi.com/groups/7c99fe0e-cea8d-4f15-bc8c-82af1c86c4a6/groupwelcome
Just in case if anyone finds this useful.
As per the online documentation, for the "App Owns Data" sample, a workspace is mandatory, though it was not limited.
When you are ready to move to production, your app workspace must be assigned to a capacity. Power BI Embedded, within Microsoft Azure, offers capacity to use with your applications.
You could still try to comment out the below code snippet in Homecontroller.cs and change other part code in the sample, however it is not recommended.
if (string.IsNullOrEmpty(GroupId)) { return "GroupId is empty. Please select a group you own and fill its Id in web.config"; } // Group Id must be a Guid object. if (!Guid.TryParse(GroupId, out result)) { return "GroupId must be a Guid object. Please select a group you own and fill its Id in web.config"; }
Actually, it is possible to get a groupid from PowerBI.Apiary - so I used that.
They still exist but appear to be hidden now behind the app workspace...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
11 | |
3 | |
2 | |
2 | |
2 |