Forum Discussion
Uploading PBIX File in C# sample (HELP!)
- 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 ?
Got it! I´ve found the problem!
I will post this source in github in a few days. I just need to fix a few details. (I think this will help a lot of ppl too) :)
I´m facing one problem that when I send my dataset, he doesn't replace, even if is the same pbix name, there´s any possibility to replace the dataset? I need this because I have tons of configurations to auto refresh data.
Thank you a lot my friend.
Warm Regards,
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
- brunozanoelo7 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...