Hello,
I'm trying to update the dataset datasource for an Azure Data Lake. I would like to modify the path "https://xxx.azuredatalakestore.net/temp/test" by environment.
I tried to use the API: POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/Default.UpdateDatasources
with the following body:
But I got the following error:
{
"error": {
"code": "InvalidRequest",
"message": "Parameter UpdateDetails is missing or invalid"
}
}
After I tried to use the following API:
POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/Default.UpdateParameters
with the following body:
{
"updateDetails": [
{
"name": "path",
"newValue": "https://xxx.azuredatalakestore.net/temp/NEW_TEST"
}
]}
But I got the following error:
{
"error": {
"code": "ItemNotFound",
"message": "Dataset parameters at positions 1 cannot be found in f21c26c3-e894-4d61-9414-5c9458d2706c",
"target": "f21c26c3-e894-4d61-9414-5c9458d2706c"
}
}
So is there a way to update a Dataset datasource for Azure Data Lake ? I'm wrong ?
Thanks
Regards