Forum Discussion
brunozanoelo
7 years agoPost Patron
Uploading PBIX File in C# sample (HELP!)
Good morning everyone, For centuries I'm looking to upload pbix files automatically in my workspace locate into the PowerBI Service. I The best example is this one: https://community.powerbi.co...
- 7 years ago
Hi brunozanoelo
You don't need dedicated capacity now. It has no connection with the autentication.
Are you running behind the code behind any proxy ? Which blocks your autentication ?
Can you try executing in Post man ?
Jayendran
7 years agoSolution Sage
Hi brunozanoelo
Glad you solved your problem.
Yes there is way to replace the dataset, using the ImportConflictHandlerMode by assigning CreateOrOverwrite
https://api.powerbi.com/v1.0/myorg/imports?datasetDisplayName={datasetDisplayName}&nameConflict={nameConflict}Reference:
https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimport#importconflicthandlermode
brunozanoelo
7 years agoPost Patron
Jayendran , there´s no property in the dataset object to use the dataset/refresh history;
https://powerbi.microsoft.com/en-us/blog/announcing-data-refresh-apis-in-the-power-bi-service/
I´m trying to implement this, will keep in touch...