cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
andyw324
Regular Visitor

Automated CSV Uploads via API no longer allowed in May 2019 version

I am currently testing out the May 2019 version of Power BI Report Server and am encountering an issue when uploading CSVs via the SOAP API (using reportserice2010.asmx).

 

We have a daily SSIS job that generates data and uploads the reults to Power BI Report Server using the CreateCatalogItem function to post a csv (converted into a binary stream) as a application/octet-stream MIME Type. This works fine on PBIRS August 2018 but with the May 2019 update the following error is returned:

 

Uploading or saving files with .csv extension is not allowed. Contact your administrator if you have any questions

 

I know our setup maybe fairly unique but has anyone else encountered this and found a resolution?

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

They added extra security to the allowed file extensions in the Jan 2019 release. You can add extra extensions to the allowed list using SSMS. Connect to http://yourserver/reports in the SSMS object explorer

 

Then right click on the server and choose properties

201906 allow csv1.png

 

Then in the "Advanced" tab edit the AllowedResourceExtensionsForUpload property and add ,*.csv to the end of this list.

 

201906 allow csv2.png

View solution in original post

2 REPLIES 2
d_gosbell
Super User
Super User

They added extra security to the allowed file extensions in the Jan 2019 release. You can add extra extensions to the allowed list using SSMS. Connect to http://yourserver/reports in the SSMS object explorer

 

Then right click on the server and choose properties

201906 allow csv1.png

 

Then in the "Advanced" tab edit the AllowedResourceExtensionsForUpload property and add ,*.csv to the end of this list.

 

201906 allow csv2.png

Thanks for the detailed walk through of the fix. Completely missed that addition in the release notes as the Jan 2019 update was not applied and jump straight to the May 2019 release notes. :D.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors