Forum Discussion
Create Groups with PowerShell
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 TonyRedmond cfiessinger VesaJuvonen
jcgonzalezmartin thanks for your feedback. We have tested this with Graph, but same issues...and with graph we can't set specific settings...
- David MehrMay 24, 2017Brass Contributor
jcgonzalezmartin 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:
********************************Sorry, something went wrongCan't load the application on this page. Use the browser Back button to retry. If the problem persists, contact the administrator of the site and give them the information in Technical Details.https://diemacher.sharepoint.com/sites/TestDave19GroupID/_layouts/15/error.aspx?ErrorCorrelationId=03b9f49d-a00b-3000-df65-ac0a1b609025&ErrorText=Can%27t%20load%20the%20application%20on%20this%20page.%20Use%20the%20browser%20Back%20button%20to%20retry.%20If%20the%20problem%20persists%2C%20contact%20the%20administrator%20of%20the%20site%20and%20give%20them%20the%20information%20in%20Technical%20Details.&ErrorDetails=Error%3A%20***The%20value%20for%20%22description%22%20must%20not%20be%20null&ErrorCategory=spfx#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?
- SergeiBaklanJul 07, 2017Diamond Contributor
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-to-open-an-access, 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.
- May 24, 2017
Aren't you looking for New-PnPUnifiedGroup?