I bought some Office 365 license and learned that I automatically got a free basic Azure AD along with that.

So now I joined my first PC to the Azure AD and logged in with an Office 365 user:


but, the %userprofile% turned out to be:

C:\Users\FirstLast (C:\Users\RetoHöhener)

I expected:

C:\Users\first.last (C:\Users\reto.hoehener)

After some googling I found that this is the sAMAccountName (correct?).

I cannot figure out how to change the SAM account name in the Azure AD web admin application. I am missing a page that corresponds to this classical AD dialog:

FirstLast seems like a very inconvenient default because e.g. my last name contains a german umlaut so my userprofile would also contain a special character, which will probably break countless applications.

See also:

  • What kind of Windows 95 applications can't handle Unicode in filenames and paths in 2018? – Esa Jokinen Aug 11 '18 at 9:34
  • 1
    Your comment feels like a subtle put-down. Am I supposed to interpret it as "You should not worry about sAMAccountName and naming of %userprofile% in your network? – Reto Höhener Aug 11 '18 at 11:20
  • Yes. I think Microsoft has thought this through. – Esa Jokinen Aug 11 '18 at 11:22
  • Whereas traditional on-premises AD might have all kind of systems and devices attached to it, having limitations that Windows doesn't, AzureAD is more lightweight. I would still avoid all possible anomalies on regular AD. – Esa Jokinen Aug 11 '18 at 11:25
  • FirstLast looks like an anomaly to me. The user name I chose is first.last@domain.com, so I expected the default sAMAccountName to be the part before the @ -> first.last – Reto Höhener Aug 11 '18 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.