I’m confused, but that may be nothing new?
When it’s prompting you to connect to a network, do you mean a Wi-Fi network?
Or is it requiring a Microsoft account before connecting to a Wi-Fi network?
If you really want to, create a Microsoft account with an email address, phony, name, and phony other information that they might require?
Then simply don’t use that email account or use it for junk mail purposes
Like I said, I might just be confused as to your goal.
But yeah, technology companies force you to share certain personal information if you want to use their product