• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 52
  • Last Modified:

Need Power shell script to create O365 group with specific settings

Need Power shell script to create an Office 365 group and do the following:
- Normal items, (display name, alias, members, owner, etc.)
- set the time zone
- Activate the Document ID Service (manually this is done site contents\Sites settings\site collection features\set Document ID Service to Activate)
1 Solution
Vasil Michev (MVP)Commented:
Groups have fairly limited PowerShell support, plus, the process of provisioning all the Group "parts" is not instantaneous. So you will have to wait a bit until the site or mailbox becomes available, etc.

Use the New-UnifiedGroup to create it with accordance to your requirements. Add-UnifiedGroup can be used to manage the onwers/members. For anything related to the Group Site, your best bet is the PnP cmdlets: https://github.com/SharePoint/PnP-PowerShell
swfwmd2Author Commented:
Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now