Modern Team Sites
2 TopicsProgrammatically create and Add Owners and Members to O365 Group, no emails are sent
I'm using the code found in OfficeDevPnP.Core to create a new UnifiedGroup. UnifiedGroupsUtitlity.CreateUnifiedGroup. My code is below. UnifiedGroupsUtility.CreateUnifiedGroup("CSOM Site Creation", "My Site Created in Code, CSOM, accessToken, groupLogo: null, owners: owners.ToArray(), members: members.ToArray(), isPrivate: true, createTeam: false); When I'm using this code, none of the Owners or members get's an email saying they have joined the group, like they do if I add them manually to a group. Do I have to write that part of the code to send the emails, or is there another method I can use that's already out there to send the same template that Microsoft sends? There are two emails sent (if MS Teams included), when adding a person manually. One to say the person is added to the group from: The site on behalf of me. One to say the person is added to the MS Teams. From: noreply@email.teams.microsoft.com It these emails I wish to replicate when adding a user to Group/Team.805Views0likes0CommentsHow to prevent creation of modern team sites from OneDrive WebGUI?
Hello, we have not yet unlocked the option for users to create modern team sites. On SharePoint home we could hide the button to create this via the SharePoint admin center. Now I notice that in the OneDrive webGUI a user still has the option to create a modern team site with the little "plus" button. Can we prevent this somehow? Thanks for your responses.1.4KViews0likes2Comments