How to add msa account as standard user using batch/powershell scriptingSolved

Participant
Discussion
1 year ago

How to add msa@outlook.com as standard user in windows using any script ?

Replies (1)

Marked SolutionPending Review
Hexnode Expert
1 year ago
Marked SolutionPending Review

Hello @hari-krishna, welcome to Hexnode Community!

Unfortunately, adding a Microsoft account as a user in Windows requires user interaction and hence cannot be implemented via script.

You could consider enterprise-level tools such as Azure Active Directory (AAD) or Group Policy to automate user account creation. These tools provide reliable methods for managing user accounts and their authentication.

Having said that, could you elaborate on your use case? Maybe we can provide an alternate solution. You could also go through our script repository and see if it could be of use, specifically, the script to create user accounts on Windows devices.

We hope this helps with your query.

Best regards,
Chloe Edison
Hexnode UEM