why would azure ad joined machine show user as local ad

asked 2021-11-08T11:18:34.117+00:00
Rob Davies 1 Reputation point

Hi

We have been recently moving lot of our laptop to Azure AD from local AD, We have flattened all of these machine and rebuilt them user is logging in with email account.

When running echo %username% i get localad\user , when running whoami i get the same, when running dsregcmd /status i get out put that the machine is azure joined.

were is it pulling that the user is local ad login ?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,584 questions
No comments
{count} votes

3 answers

Sort by: Most helpful
  1. answered 2021-11-08T12:40:07.86+00:00
    Vasil Michev 61,461 Reputation points Microsoft MVP

    The user can still login using a local account, even if the machine is Azure AD Joined. Thus what you are describing above is normal/expected. Make sure they login via the AzureAd\username or user@keyman .com (Microsoft ID) format.


  2. answered 2021-11-08T16:05:30.853+00:00
    Rob Davies 1 Reputation point

    Hi Michev

    Thanks for your message, all the users are logging in with user@mydomain.com when we setup all laptop user login with there emails then we setup reset of authtication methods, pin , face.

    I didn't know if this was something to do with azure ad sync or not

    0 Votes0 · Reply More

    No comments

  3. answered 2021-11-11T09:06:12.087+00:00
    Limitless Technology 37,291 Reputation points

    Hi there,

    Windows 10 devices that are hybrid Azure AD joined don't show up under USER devices. Use the All devices view in the Azure portal. You can also use a PowerShell Get-MsolDevice cmdlet.

    Only the following devices are listed under USER devices:

    All personal devices that aren't hybrid Azure AD joined.
    All non-Windows 10 or Windows Server 2016 devices.
    All non-Windows devices.

    You can refer to these forums to get more info regarding this

    https://learn.microsoft.com/en-us/azure/active-directory/devices/faq

    https://learn.microsoft.com/en-us/azure/active-directory/devices/assign-local-admin

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    No comments