cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kchirala
Level: Power Up

ms flow connecter for creating a blob in azure storage not creating html files with correct content type. Html files not rendering properly

Hi All,

 

I have a connector for copying files from my sharepoint library to azure blob storage. If the file is html file, it copies with the content type text/plain instead of text/html. I even tried by placing the content type in the connector as well. 

 

Thanks in advance

 

Azure Blob Storage screen shot:

Untitled.png

Capture.PNG

1 REPLY 1
Community Support Team
Community Support Team

Re: ms flow connecter for creating a blob in azure storage not creating html files with correct content type. Html files not rendering properly

Hi @kchirala ,

 

I am afraid that I don't have an environment to test azure storage here, so I can't confirm if this is an issue.

 

Please try the following three methods.

  • Use Get file metadata to get MediaType of the file, and then configure it in Create blob-Content-Type field.29.PNG

 

  • Do not configure Content-Type field, use File name with extension to configure Blob name field.30.PNG

 

  • Use Get file content action to get the file content, change the Infer Content Type to No. Do not configure Content-Type field when configuring Create blob action, and the configuration of other fields is the same as before.31.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,077)