Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
im trying to download bi report through c# application. but get workspce info that time getgroup().value showing 0. my code mentioned below.. shall i do any configiration in BI side. how to create groups..
var workspaces = pbiClient.Groups.GetGroups().Value;
foreach (var workspace in workspaces)
{
if (workspace.Name.Equals(WorkspaceName))
return workspace;
}
return null;
getgroups().value showing 0 so return value is null. so i getting error workspce is null
Anyone share solution for this
Hi @tsraaj,
What type of workspace are you testing and where did this workspace host? Have you checked you are testing with the account that has corresponding permission to operate these workspaces?
Please share some more detailed information or help us clarify and troubleshoot your issue.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
User | Count |
---|---|
3 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
10 | |
8 | |
5 | |
4 | |
4 |