Upload media for streaming or encoding

Media Services logo v3


Azure Media Services will be retired June 30th, 2024. For more information, see the AMS Retirement Guide.

In Media Services, you upload your digital files (media) into a blob container associated with an asset. The Asset entity can contain video, audio, images, thumbnail collections, text tracks and closed caption files (and the metadata about these files). Once the files are uploaded into the asset's container, your content is stored securely in the cloud for further processing and streaming.

Collect values

Before you get started, you'll need to collect or think about a few values.

  1. The local file path to the file you want to upload
  2. The asset ID for the asset (container)
  3. The name you want to use for the uploaded file including the extension
  4. The name of the storage account you are using
  5. The access key for your storage account

File naming

Reserved characters

  • Media Services uses the value of the asset file name when building URLs for streaming content. For this reason, percent-encoding is not allowed. The value of the name property cannot have any of the following percent-encoding-reserved characters: !*'();:@&=+$,/?%#[]". Also, there can only be one '.' for the file name extension.
  • The length of the name should not be greater than 260 characters.


Media Services doesn't limit the file size for uploading videos.

  1. Navigate to the Media Services account you want to work with.
  2. Select Assets.
  3. Select the + Upload. The Upload a video asset screen appears.
  4. Select the folder icon next to the Upload files field.
  5. Select the media files to upload. An asset naming field will appear. You can change the name or use the default name. If more than one media file is uploaded, more than one asset will be created. An asset naming field will appear for each.
  6. Select I agree and upload. The upload begins. When the upload is finished, the new asset(s) will be listed in the Assets screen.

Get help and support

You can contact Media Services with questions or follow our updates by one of the following methods: