Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
AkashJain
Regular Visitor

The scheduled refresh failed after taking ownership from take ownership api

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

 

3 REPLIES 3
Anonymous
Not applicable

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.

vjianpengmsft_0-1718332959284.png

 

 

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.

 

SaiTejaTalasila
Super User
Super User

Hi @AkashJain ,

 

You can open that semantic model settings and you need update the data source credentials to fix this issue.

 

Thanks,

Sai Teja 

ibarrau
Super User
Super User

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,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors