Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I hit the api for taking ownership of the dataset to run my update parameters API. but the issue is Now I am hitting the refresh data set API and the dataset is not getting refreshed as Ownership is not on Power Bi now.
Can anybody please help me solve this?
This is update parameter API -
https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/Default.UpdateParameters
This is the Dataset ownersip API I am using -
https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/Default.UpdateParameters
Your solutions is great @ibarrau
Hi, @AkashJain
Have you solved the current problem? If you have already solved the current problem, then you can share your workaround here or mark your helpful reply as a solution so that others in the community can quickly find an answer if they encounter the same problem.
You can also check the following:
You should first make sure that you are the owner of the semantic model, if not, then you may encounter the error you are now in.
You can try to build your own test semantic model and then update your parameters through the API to see if it works correctly, if it works, then the cause of your original problem is caused by your permissions.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @AkashJain ,
You can open that semantic model settings and you need update the data source credentials to fix this issue.
Thanks,
Sai Teja
Hi. Once you change parameters from the API, the datasource might not be exactly like PowerBi knows. That makes PowerBi ask for the credentials again. Make sure to edit credentials with the UI for that exact parameter configuration.
I hope that helps,
Happy to help!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
33 | |
32 | |
19 | |
12 | |
8 |
User | Count |
---|---|
52 | |
37 | |
29 | |
14 | |
12 |