Hi, Maelstorm
That "Oops... something went wrong" message during ESU sign-in is pretty common. It usually happens when the PC is missing an update, still has a work or school account connected, or is signed into Windows with a local account. Enrollment is still open for home users. You can enroll any time until the program ends on October 12, 2027.
Here are some suggestions you can try:
Go to Settings > Update & Security > Windows Update and install everything that shows up, including optional updates. Restart and check again until nothing is left. The ESU Licensing Preparation Package (KB5126256) has to be installed for enrollment to work.
Go to Settings > Accounts > Access work or school. If any account is listed there, disconnect it. If you're signed into Office with a school or work account, sign out of that too. It is also recommended to turn on Find my device under Settings > Update & Security.
If you sign into Windows with a local account, switch to your Microsoft account first. Go to Settings > Accounts > Your info and choose Sign in with a Microsoft account instead. Restart, then try Enroll now again. The ESU sign-in window depends on your Microsoft account being connected to Windows itself, so it can fail even when the same account works fine in a browser. You can switch back to a local account after you're enrolled.
Make sure the Microsoft account you're using is an administrator on the PC and isn't a child account.
If none of that works, an in-place repair upgrade is recommended. It keeps your files and apps and fixed this exact error for others. Download the Windows 10 Media Creation Tool, run it, choose Upgrade this PC now, and select Keep personal files and apps.