Forum Discussion
Deleted
Sep 01, 2016Auto Create the Office 365 Group Site Collection
Does anyone know if there is a way to programatically create the Office 365 Group File Store / Site Collection. Can obviously automate thegrou creation via New-UnifiedGroup. Plan is to create the sit...
Deleted
Hi David - is it this kind of code you are using:
$group = Get-UnifiedGroup -Identity "ALIAS"
$extDirId = $newGroup.ExternalDirectoryObjectId
$url = "https://TENANT.sharepoint.com/_layouts/15/groupstatus.aspx?id=" + $extDirId + "&target=documents" $wr = Invoke-WebRequest -Credential $creds -Uri $url
Oct 11, 2016
I think some code is missing since you are not creatig the Group...by the way, the Invoke-Request part is the one that should do the trick
- DeletedOct 11, 2016Thanks, not the real code. Most interested if the URL-part was correct or if there was any "better" URL to call.