https://www.petervanderwoude.nl/post/using-setup-assistant-with-modern-authentication/
Using Setup Assistant with modern authentication