Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.