I have a DEV Office 365 that was not setup by me. I am trying to create new site collections via PowerShell. Somehow, I see a bunch of AD groups and users automatically added as Site Collection Administrators.
Does anyone know how it is possible? I am creating a site collection with a single PowerShell line. It does not make sense that I see all of these site collection admins added. How does it happen?
New-SPOSite -Url $SiteProperties.SiteUrl -Owner $currentUserEmail -Title "Contoso" -TimeZoneId 10 -Template "SITEPAGEPUBLISHING#0"
When I crate site collections via UI, the list of site collection admins is different. It makes me even more confused:
After creating a modern communication site via PowerShell
Creating Classic Team site via UI
Creating Modern Communication site via UI