May 09 2017 11:56 PM
We have a PowerShell that create Microsoft Groups based on a CSV file. After creating a group, we would like to set a lot of settings - doclibrary versionhistory, language, local time...
The provision process for a sitecollection takes so long after creating a groups.
Our steps:
- Create Microsoft Groups (check) (we use: $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $userCredentials -Authentication Basic -AllowRedirection)
- The SiteCollection will create, after click "go to teamsite" in the welcome message (not check, but in work - actual it's a manual job)
....the provision process takes over 2 hour... :(
- only after fnishing the provision process, we can set the settings
Has anybody a tipp or a solution, that performs the provisioning process in a shorter time and create Microsoft Groups faster over PowerShell?
Thanks a lot,
Dave
May 10 2017 06:55 AM
Well, we have discussed this on different forums...the problem you are having (even I'm seeing improvements) is well known...I think you might consider to create the Groups using the Graph @Tony Redmond @Christophe Fiessinger @Vesa Juvonen
May 11 2017 05:41 AM
@Juan Carlos González Martín thanks for your feedback. We have tested this with Graph, but same issues...and with graph we can't set specific settings...
May 24 2017 01:04 AM
@Juan Carlos González Martín The provisioning over the api takes so long, more hours (2-4h). When i manually create a groups, it's so fast - i wish this with PowerShell also.
After the provisioning, a group is created and also a sharepoint, but appears the following error:
Error details: Error: ***The value for "description" must not be null
Correlation ID: 03b9f49d-a00b-3000-df65-ac0a1b609025
Date and Time: 24.05.2017 00:37:13
********************************
We can open the sharepoint site, all site content, lists and librarys. The error appears when i access to the "mts" Site Page Home...
Have anybody more infos or tips for automatically create groups with powershell?
Jul 07 2017 03:31 PM
Perhaps that's off-topic for this conversation, at least nothing about the powershell. The story is on some of our old (and not very old) group sites we received exactly the same error and behaviour.
Support had no solutions for weeks. Eventually found this post https://support.microsoft.com/en-us/help/2994143/sorry-we-couldn-t-load-this-app-error-when-you-try-..., decided to play with regional settings on one of our group sites. The only thing i did that's change Time Zone from UTC-12 (have no idea how it appeared) on our current time zone. Nothing more. Now everything works.