As a part of testing out some functionality on my local SharePoint Online tenant, I would like to provision the creation of about 2,000+ modern Team Sites (not attached to a group) based on a list of names that is in a spreadsheet (can easily be converted to CSV, txt, JSON, whatever makes this task easier).
I would like to iterate through the list of Site Names, create the site, then after the site is created associate it to an existing Hub site that I have created.
Firstly, is this even possible, and if so, could someone point me in the right direction on how I might achieve this?
Many thanks