Lets say my requirement is to send the email to the group and assigning that group in SharePoint permission. You have asked your AD team to create the group and that group has been synchronized to your SharePoint online(office 365) – and we can see that group under active group from Office 365 admin page but while we try to access and assign that group in SharePoint permission – it will not be accessible or will not be found.
Let me explain why?
There are four types of group in office 365. Please see the below screen shot where each type of group description is explained.
Come to your Group dashboard from office 365 admin center – as an example we can see “Test Distribution list” group is displayed over here. Here this is a type of “Distribution lists” group.
Now lets go to the SharePoint document library permission page and try to search the “Test Distribution list” , SharePoint cannot find this group – this will give error message as “We couldn’t find an exact match.” . Please see the below screen shot.
Go to the office 365 group dashboard from admin center again and find the “Test Mail-Enabled Security Group” as an example which is type of “Mail-enabled security” group
Now again lets go to the SharePoint document library permission page and try to search the “Test Mail-Enabled Security Group” , now we can see that SharePoint is able to find this group(please see the below screenshot).
- If we want group email and that group should be added to SharePoint permission as well then we need to go with “Mail-enabled security” group.
- In the above example SharePoint was not able to find “Test Distribution list” group because it was a type of “Distribution lists” group.
- Whether we create the group in local AD or in office 365, the above rules are same.
- Office 365: Getting started with SharePoint PnP PowerShell – installation
- In 2 steps convert a classic SharePoint page to modern using PnP
- Office 365: Retrieve hub sites and associated sites using PnP Powershell
- Create a modern team site using PnP PowerShell in SharePoint
- In 4 steps access SharePoint online data using postman tool
- SharePoint admin center: Learn SharePoint online administration in an hour – step by step
- SharePoint REST API: GET vs POST vs PUT vs DELETE vs PATCH
- Office 365: Understanding the hub site in SharePoint online