Can I Create a Microsoft Group Using PowerShell?

0
13
Asked By GamerNinja42 On

I'm currently working on a SharePoint automation project where I'm trying to automate the group management process using PowerShell. However, I'm hitting a stumbling block when it comes to creating a Microsoft group and granting it access to a site. One of the team members is concerned we might have to create the groups manually and add members one by one. Is there a more efficient way to handle this using PowerShell or Microsoft Graph?

3 Answers

Answered By SecurityCyborg On

It seems straightforward to use PowerShell for creating groups. But let's be real, if a simple method is provided, why complicate things? Making a manual group like that sounds like it could lead to more chaos. Just follow the automated setup and you'll be fine!

SkepticalDev -

Right? Like, why overthink it? Just use the tools as intended.

Answered By SharePointPro On

Honestly, when you create a site, it should automatically create the associated group, so I'd stick with that method instead of creating groups separately. It reduces the risk of messing things up down the line! Just go with the flow!

Answered By TechWizard99 On

Yes, you can indeed create an Office 365 group using PowerShell with the MS Graph module, even if you don't want to utilize Teams. Just remember that when you create a group, a SharePoint site is automatically generated for that group, so you might not need to assign it to a site manually. It simplifies the process!

CloudGuru88 -

Just a heads up, Entra groups can't be members of 365 groups, which may complicate things if you need that kind of structure.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.