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...
It's been a while put there was a url we found in fiddler that starts the process. After provisioning the group, we hit that url then polled for the provisioning process to complete, then used sharegate's powershell to move in files. That url / process could change over time as it's not a documented api, but it's all i found to accomplish what you're trying to do.
Deleted
Oct 11, 2016Hi 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, 2016I 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.