Office 365 Groups
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.801Views0likes0CommentsHow to create Office 365 groups related operations with SPFx or CSOM
In new SharePoint online modern experience, groups are placing very prominent role with modern sites. So I just wanted to create a single interface/place where Office 365 groups can be created and maintained. Ideally my solution should contain following basic features: Show all the groups (for admin show all, for normal user show what they belongs to) Create new group Delete existing group Add new members to group Follow group etc... While searching on the internet i found a very interesting video https://youtu.be/_S7Ev5N-rL0 on maintaining groups. Could any one please tell me, how they have done it? I think it may be with office web apps or provider hosted app. But not sure. Could you please give me some starting point to this solution like What are the APIs available that I can consume to achieve this? Are there any articles or tutorials available to deal with office 365 groups? I found one https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aad-tutorial with MS Graph. All actions related to office 365 groups are available as I mentioned above with MS Graph?1.6KViews0likes0Comments