Set Container Name for Asset on Azure Media Service

Sejal Chorge 116 Reputation points

Initially, if I create an Asset, it creates a container with a name as follow asset-GUID

  1. I want to know if I can use the existing container and assign it to the asset? As I have a container name "asset-public", as I want to store all media into that single container. Refer below


  1. I would also like to know if I can add a custom Name to the container like video-media-asset.
Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
307 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. David Bristol 971 Reputation points Microsoft Employee

    Storing all content in a single container is not really supported. This is because all operations are done at the asset level. For example, if you encode a video, you don't encode a specific file. You encode the asset. The same is true with publishing. Media Services was built with the intention of one asset per video. See

    You can use a custom container name for your asset. As per you can specify the properties.container which is the Storage container name. Keep in mind that this container must be at the root level of the Storage account.

    3 people found this answer helpful.