Powershell Function: Blob output set content-type?

Andrea McCool 1 Reputation point

Is it possible to configure the content-type (and other attributes, I suppose) of a blob created through a powershell Azure Function? Is it possible to do this via binding configuration, or in the powershell script?

Seems to default to 'application/octetstream' regardless of output blob content - I would like to be able to specify content type such as 'text/html' or 'application/pdf' etc.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,997 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,501 Reputation points Microsoft Employee

    @Andrea McCool While the output binding doesn't support this, you should be able to use the Az.Storage PowerShell Module directly to achieve the same.

    0 comments No comments