Using below function:
const s = await sp.site.createModernTeamSite(
CustomerName,
CustomerID,
true,
1033,
"Customer Site for " + CustomerName);
You can create a team Site, but how to get values from s
?
In the console, I can see GroupId
value. But from code, I am not able access to this.