Forum Discussion
new-localuser -name 'MicrosoftAccount\...'
My question was - how to create MS Account Local user
- Henn SarvJan 27, 2022MCT* I now exact what is MS Account - I'm using several of them
* I know exact what is AZUREAD Account - I'm using several of them
My question isn't about CREATION of MS Account
I'd like to create local accout bounded to [existing] MS Account using Powershell
* I can do this 'manually' using settings/account
* there is no way to do this through ComputerManager/USers
Actually today in Win11 is preferred (and close only) way to create new local account bind this account with MS Account. Create unbinded local account is hidden behind 3 "advanced" click
Powershell can create ONLY unbinded account. My question was and stay - How create binded (to MS Account) local user using powershell
HOw to do this same manually - I know
And next logical question is - how to create BInded (to MS Account) Domain account. Manually this is possible (through account linking)- Jan 27, 2022
Ok, than I didn't interpret your question correctly. Never did that, I usually login using AzureAD account or a local account in which I add a work/school account. Linking these two together is something I didn't do before, for my understanding it's a local account (which you create during installation) with a online Microsoft account on top of that in the same local user profile.
And you want to do this using scripting when deploying a new workstation?- Henn SarvJan 27, 2022MCT
When You click on Settings/Account/Other people and New Account then system ask You MS Account to bind new account
When PS Is AzureAD Joined, system ask you AzureAD Account to bind You
To create unlinked local account You have Open Computer Manager / USer or click several time on some kind of "advanced"
So only simple question is - how to automate this kind of creation