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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
v-jianpeng-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.