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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

API REST Update Dataset Settings

Hello everyone, 

 

I have a problem:

 

I am using Azure DevOps to create a pipeline in Power BI service.
I use the Power BI Automation Tools extension + PowerShell Scripts + Power BI Rest API

However, I am not able to update my dataset settings.

I would like to be able to automatically retrieve the id of my dataset and then add it to the following REST API:

POST https://api.powerbi.com/v1.0/myorg/datasets/IdDataset/Default.UpdateParameters

 

Does anyone have an idea or can help me?

 

Thanks in advance,

 

Charline

1 ACCEPTED SOLUTION
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, you can get the id of your dataset, then you need to understand these restrictions below.
The parameter types Any and Binary can't be updated for some security reasons. Please check the parameter's type.

Parameters names are case-sensitive. Please check if the name in request body.

And please check the there are some limitations on power bi dataset. For more details you can refer this link.

Datasets - Update Parameters In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs

 

Or what is message of the responses when you try update parameters?

 

Best Regards

Community Support Team _ chenwu zhu

 

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

View solution in original post

1 REPLY 1
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, you can get the id of your dataset, then you need to understand these restrictions below.
The parameter types Any and Binary can't be updated for some security reasons. Please check the parameter's type.

Parameters names are case-sensitive. Please check if the name in request body.

And please check the there are some limitations on power bi dataset. For more details you can refer this link.

Datasets - Update Parameters In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs

 

Or what is message of the responses when you try update parameters?

 

Best Regards

Community Support Team _ chenwu zhu

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.