The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a report and a semantic model in a workspace. I downloaded the report using API with DownloadType as 'LiveConnect'. When I try to import this report to another workspace using 'Post Import in Group' API, I get 'Not Found' error. I used Service Principal.
When I use my User Account, it works fine. I created the report and semantic models in the service using my service account. Service Principal is a 'Contributor' in both workspaces.
Solved! Go to Solution.
Hi @T91,
Thank you for reaching out to the Microsoft Fabric Forum Community.
If the issue still persists, I’d recommend raising a support ticket with Microsoft. The support team can look into the backend and provide more in-depth assistance tailored to your environment.
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
Warm regards,
Prasanna Kumar
Hi @T91,
Thank you for reaching out to the Microsoft Fabric Forum Community.
As we haven’t received a response, we’ll be closing this thread for now. If the issue persists or you need any further assistance, please don’t hesitate to start a new thread.
Thank you & Regards,
Prasanna kumar
Hi @T91,
Just checking, have you had a chance to open a support ticket, as suggested. If so, we'd love to hear the current status or any updates from that.
If the issue was resolved through the support ticket, it would be great if you could share the solution here as well. It could really help other community members find answers more quickly.
Warm regards,
Prasanna Kumar
Hi @T91,
Thank you for reaching out to the Microsoft Fabric Forum Community.
If the issue still persists, I’d recommend raising a support ticket with Microsoft. The support team can look into the backend and provide more in-depth assistance tailored to your environment.
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
Warm regards,
Prasanna Kumar
Hi @T91,
Just following up to see if the solution provided was helpful in resolving your issue. Please feel free to let us know if you need any further assistance.
Best regards,
Prasanna Kumar
Hi @T91
The ‘Not Found’ error when importing a report with a Service Principal happens because the SP doesn’t have enough permissions. Even if it’s a Contributor, it usually needs to be a Member or Admin in both workspaces and have access to the underlying dataset. Also, the Power BI tenant settings must allow the Service Principal to use the API. Your user account works because it has full access, but the SP’s access is more limited. To fix this, increase the SP’s workspace role, ensure tenant API permissions are enabled, and confirm the SP can access the dataset the report connects to.
Thanks for the responses. But I still get 404 error.
I gave Service Principal 'Admin' role in both source and destination workspaces.
I can see that service principal has access in dataset's 'manage permissions' page.
Tenant settings allow the Service Principal to use the API
Hi @T91,
Thank you for reaching out to the Microsoft Fabric Forum Community.
Even though the Service Principal is a Contributor in the workspace, that role alone does not grant the necessary Build permission on the semantic model, which is required for importing or binding LiveConnect reports. To resolve the issue, you must explicitly assign Build access to the Service Principal on the dataset through the dataset’s “Manage Permissions” settings. This permission allows the Service Principal to properly reference the semantic model during the import process.
Best regards,
Prasanna Kumar
Hi @T91,
Thank you for reaching out to the Microsoft Fabric Forum Community.
And also thanks to @SaiTejaTalasila for Prompt and helpful response.
To resolve the issue when importing a LiveConnect report using a Service Principal, ensure that tenant settings in the Power BI Admin Portal allow Service Principals to use Power BI APIs, and that the Service Principal is included in the allowed security group. Additionally, confirm that the semantic model is accessible within the destination workspace, or use the Rebind Report API after import to reassign the report to a valid dataset.
If this solution helped, please consider marking the response as accept as solution and giving it a thumbs-up so others can benefit as well.
Best regards,
Prasanna Kumar
Hi Prasanna Kumar,
Tenant settings to allow Service Principals to use Power BI APIs is enabled. I don't use security groups. I also verified that the semantic model is accessible.
Using the rebind API works.
Hi @T91 ,
Service principal might not have sufficient access to the semantic model (dataset) that the LiveConnect report is linked to. Unlike user accounts, Service Principals also require explicit access to the dataset or Build permissions on the semantic model to successfully import and bind LiveConnect reports.
Thanks,
Sai Teja
Hi Sai Teja,
The Service Principal is a 'Contributor' in the semantic model's workspace. Doesn't that grant all the necessary permissions? Should I explicitly assign any additional permissions?