Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
I am a Power BI/SQL developer who has inherited a website that integrates with Power BI using C# APIs. This has been working fine until today - whenever I attempt to load a Power BI report from the website, it throws an exception which I've tracked down in the code to here:
var groupId = (await PowerBIClient.Groups.GetGroupsAsync()).Value.FirstOrDefault()?.Id;
if (string.IsNullOrEmpty(groupId))
{
throw new EntryPointNotFoundException("No group available, need to create a group and upload a report");
}
When I attempted to load the Workspace containing the reports in the Power BI portal, I found that I no longer had access, because for some reason my pro license was now a free license (I was also unable to publish reports to the portal). After renewing the license for me, I regained access and once again could publish.
My current assumption is that the two are related. I'm trying to find how Power BI access is granted from the website, and if it is possible that the account used to access this could have also been downgraded to free?!
Does anyone know how I can find which user has access to the report? Is it defined on the App Service in Azure? Unfortunately, everyone who knows about the website set up were either contractors or have left, so there is no one else here I can turn to.
Solved! Go to Solution.
Hi @RobMar74 ,
var groupId = (await PowerBIClient.Groups.GetGroupsAsync()).Value.FirstOrDefault()?.Id;
if (string.IsNullOrEmpty(groupId))
{
throw new EntryPointNotFoundException("No group available, need to create a group and upload a report");
}
When your pro license is downgraded to a free license, you will lose the access to the App workspace and you couldn't publish your report to that App workspace. You could only access to "My Workspace" and publish your report to "My Workspace".
And if you want to access to the report which is embedded for organization, you should have access to the workspace and the report. Then you need to have PPU / PRO license or you are free but your workspace should in A P or EM capacity.
For reference:
Tutorial: Embed Power BI content using a sample embed for your organization application
You can manage permission to a report in Power BI Service.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @RobMar74 ,
var groupId = (await PowerBIClient.Groups.GetGroupsAsync()).Value.FirstOrDefault()?.Id;
if (string.IsNullOrEmpty(groupId))
{
throw new EntryPointNotFoundException("No group available, need to create a group and upload a report");
}
When your pro license is downgraded to a free license, you will lose the access to the App workspace and you couldn't publish your report to that App workspace. You could only access to "My Workspace" and publish your report to "My Workspace".
And if you want to access to the report which is embedded for organization, you should have access to the workspace and the report. Then you need to have PPU / PRO license or you are free but your workspace should in A P or EM capacity.
For reference:
Tutorial: Embed Power BI content using a sample embed for your organization application
You can manage permission to a report in Power BI Service.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I've found an article that seems to point to my issue.
Not sure how it has been set up, but it does state that if we use a master user, that user needs to have a Power BI Pro or Premium license.
I’m currently unsure how to find which is the master user (if indeed it is a master user we use)
Check out the November 2023 Power BI update to learn about new features.
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
2 |