New
#1
Unable to associate user account to adfs after using autounattend.xml
Hello.
First off i'm a Linux Sysadmin so not so familiar with Windows, but I was tasked to start setting up some Windows computers, and there will likely be more coming.
So to make the installation of the computer smoother, I decided to set it up using autounattend.xml. I used a generator to make the autounattend.xml and I put on the USB stick with windows install.
The link to the generator:
https://schneegans.de/windows/unattend-generator/
And it worked well.
I selected Language, amd64, GPT partition, Administrator account and an administrative user.
Also attached an example of the file generated.
I put the file on the USB-stick with the windows install. And It installed perfectly without asking anything, it then booted me into the administrator account where I could make the final adjustments.
However, when the user then logs in and tries to link the account to our office365 system by clicking "Sign in with a Microsoft account instead" there is an error "That Microsoft account doesn't exist. Enter a different account or get a new one"
I tried to search for the error and it seem pretty common to get this error, but none of what I could find was where the account was created using autounattend.xml.
I also tried to log into the Administrator account and remove the auto-created user, and then add another one. But the same thing happens to that user.
Is it the wrong way to create the account, or is there something missing?
Or even better what is the correct way to set up the account to be a office365 business account?
The version of Windows is Windows 10 Pro 21H2