Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hello
I am a developer working on power bi embedding in dot net. I am a facing issue while I am trying to clone an existing Dataset to another,
I am following this article https://learn.microsoft.com/en-us/analysis-services/tom/tom-pbi-datasets?view=asallproducts-allversi...
where it has explained to create and clone models
everyting works fine until below highlighted line
when this above highlighted line executes it throw error because Model property is always null, I tried to create multiple reports and published on power bi service but no luck on those as well.
my workspace is in dedicated capacity and I am using service principal in my embedded app
could anyone help here
Thanks in advance
Hi @Yogi_India ,
Based on the description, try to verify that the service principal has the necessary permissions on the workspace.
Then, try to check if the dedicated capacity is properly for cloning.
Besides, review if having a model can be cloned.
Viewing the following document to learn more information.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @Anonymous,
First of all thanks for your help here,
As per your suggestion I cross checked about the things that you explained above
1) My service principal has admin permissions on the workspace.
2) I checked about dedicated capacity, and found that I am using premium capacity you can see below screenshot
But I am not sure how to check if dedicated capacity is properly for cloning? could you please expain more, how i can check if capacity has enough rights to clone models?
3) if having a model can be cloned? here also I am not sure how to check if model can be cloned or not, could you please elaborate how to make sure if model can be cloned?
more about my model: I have created Report from Power BI Desktop and using Sql server data connection and published in Power Bi services and change connection to sql gateway, and refresh the model.
I am egger to heard from you
Thanks in advance
Yogesh