Forum Discussion
fxs7576_02
1 year agoHelper I
Problem with Refreshing Dataset after Parameter Change with Service Principal
Hi PowerBI Community, I have a few semantic models (sourced from AWS/GCS and not via. Gateway) that are not owned by Service Principal. My goal is to programmatically change some parameters that ...
fxs7576_02
1 year agoHelper I
Thanks lbendlin .
After the 'Takeover Dataset' step, I tried the Datasources Update endpoint
with the following request body:
{
'updateDetails': [
{'datasourceSelector':
{
'datasourceType': 'MySql',
'connectionDetails': {
'server': 'demo_server_01',
'database': 'demo_database_01'
}
},
'connectionDetails': {
'server': 'demo_server_01',
'database': 'demo_database_01'
}
}
]
}
But received the following message:
{"error":{"code":"InvalidRequest","message":"The given connection details for selector # are invalid"}}Is there any information in the request body that I need to add or modify?
LJonesStripe
1 year agoRegular Visitor
Did you ever manage to find the solution to this?