My Azure bookmarks

Snapshots & storage

Backup & VM Agent

Service principal

Using Azure Active Directory Service Principal


ARM templates

ARM policy:

Change resourcegroup




Microsoft Azure Resource Manager

My Azure bookmarks

Azure can’t find your Microsoft account

To get access to a Azure subscription with an user account, the account must exist either in your Azure Active Directory (AAD) or as Microsoft account.

This blogpost is about a really annoying thing with Microsoft accounts used in Azure.

Let’s say you created a Microsoft account like and you try to add it to a subscription in Azure and Azure won’t find it!

Classic portal


New portal



Strange isn’t it? First I thought that I had to register my as a Microsoft account in the same way like you do if you’re using a non-Microsoftbased e-mailaddress. But this wasn’t the case – you get the information that your already is an Microsoft account.

So what’s the problem?

Microsoft accounts have a nice feature that make it’s possible to add other e-mailaccounts (aliases) to the actual Microsoft account and log in with those accounts to your Microsoft account.

The thing is that if one of those e-mailaccounts is selected as ”primary e-mailaccount”, it’s address becomes the primary account identifier!

Login at and try to register for an Azure trial subscription, you will get some information about which e-mailaddress that is choosen as your Microsoft account:


So let’s try to add the alias address to the Azure subscription:


And the Microsoft (alias) account is successfully added to your subscription!

Azure can’t find your Microsoft account

Deploy to Azure Button

The Deploy to Azure Button is a really nice feature for users (or companies) to deploy things to Azure through templates from GitHub. It’s also a great way for software companies to make it easy to deploy their products to Azure.

Read more about it at or Then use the Azure wizard to set it up:

Deploy to Azure Button