Hello
Thank you for posting in Microsoft Community forum.
Here are some suggestions to work around or troubleshoot the issue:
Verify your network connectivity
1.Ensure you have a reliable and unrestricted Internet connection during setup.
2.If your network requires a proxy or has strict firewall rules, these might interfere with the online account sign-in process.
Consider the proper account type for your scenario
1.The “online account” option is designed for Microsoft accounts.
2.If you’re setting up a domain account, you might not need an online (Microsoft) account at this point. Usually, domain account is created on Domain Controller by domain Admin.
3.In many enterprise or domain environments, it is common to set up a local or temporary account during OOBE and then join the device to the domain afterward.
Try bypassing the online account option
1.If the page keeps refreshing and doesn’t let you complete the setup, look for an option to continue with a local account or “domain join” (often a “skip for now” or “setup without Internet” option).
2.Once logged in with a local account, you can later join the device to your domain.
Temporary workarounds
If you’re forced to use the machine before joining it to the domain, try disconnecting the Internet temporarily during OOBE. This may force the setup to skip online account creation and allow you to complete the process with a local account before joining the domain manually. Once done, reconnect to the network and proceed with the domain join.
I hope the information above is helpful.
Best Regards,
Daisy Zhou