Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Change the username (email) of my microsoft account in the default directory

$
0
0

Hi,

I activated my azure account using my old Microsoft account email (A@old.com). Later I changed my Microsoft account to use another email (B@new.com).

When I tried to create a Key Vault today, I got this error:

New-AzureKeyVault : Cannot find the Active Directory object 'B@new.com' in tenant
'some tenant'. Please make sure that the user or application service principal you are
authorizing is registered in the current subscription's Azure Active directory. The TenantID displayed by the cmdlet
'get-AzureSubscription -current' is the current subscription's Azure Active directory.

So I looked at the default directory, and found the user name is listed as A@old.com, even though I logged in using B@new.com username.

Is there anyway to update the default directory to use the B@new.com address instead?

Thanks.


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>