Using the Windows Azure Media Services Preview with the Azure SDK 1.7

A few weeks ago we’ve announced the public preview of the Windows Azure Media Services

Being a preview things are expected to be a little bit rough on the edges and in the media services casse this currently means account setup through powershell only until we release the portal-based experience.

The instructions on how to set-up a Media Services account can be found here; unfortunately these use the Windows Azure PowerShell Cmdlets, which – at their current version – do not support the latest SDK version (1.7) – fair enough, given that it was released last week, but I wanted to play now! Smile

Fortunately, though, only two steps require the cmdlets – 5 and 6 – and looking at what they do (download publishing settings flie and using it to create a Media Services account) I realised it’s quite straight forward to replace them with manual steps; here what I’ve done –

First – I needed to ensure you have a management certificate for the required subscription in the management portal – and I did. this certificate is required to remotely manage accounts and deployments.

Then I needed to download the publishing profile and the easiest way to do that is to browse to https://windows.azure.com/download/publishprofile.aspx sign in and save the file that gets downloaded.

Next I needed to execute a couple of the Media Services powershell cmdlets, so I started with

Import-Module -Name ".\Microsoft.WindowsAzure.MediaServices.Management.PowerShell.dll

followed by

Import-MediaServicesPublishSettings and providing the path to the publishing settings file I downloaded earlier to the parameter when prompted.

With this done I could go back to the original instructions and carry on with step 7 onwards, resulting in a working Media Services account

Of course this is all very temporary, but if you do want to use it, and like me you only have the latest SDK, now you have no excuse!

About Yossi Dahan
I work as a cloud solutions architect in the Azure team at Microsoft UK. I spend my days working with customers helping be successful in the cloud with Microsoft Azure.

2 Responses to Using the Windows Azure Media Services Preview with the Azure SDK 1.7

  1. Grisha says:

    Thanks a lot Yossi.
    I came across this very same problem earlier today.
    One question about the following though:
    “First – I needed to ensure you have a management certificate for the required subscription in the management portal – and I did. this certificate is required to remotely manage accounts and deployments.”

    How can I obtain this certificate?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: