Hot answers tagged

2

I do not think so. Site collection admin should be Azure AD identity (group or user). It exists at tenant level. SharePoint group exists within SharePoint site. Instead you should be able to create an AAD Security Group (login to https://portal.azure.com/, then Azure Active Directory, Groups, + New Group), wait ~10 minute, then you can manage group ...


2

To correct this same issues we had to find the group within SharePoint and open it to see the members. On this screen you need to go to "Settings - Group Settings", then changed the option "Who can view the membership of the group?" from "Group Members" to "Everyone".


2

The "List group members" action can only get Office 365 groups. It does not allow us to get membership of SharePoint Groups. To get sharepoint groups, you can use the rest API call. Refer this.


2

I guess you want the group members be able to edit permission of other group? If so, for default permission levels, you will need to grant full control. When you edit permission level, you can find the site permission with named "Manager Permissions". It is the permission needed to assign permissions to users and groups. For more information, ...


1

Currently adding user/group as Site Collection Administrators is not possible using Site design JSON. addPrincipalToSPGroup action currently only supports the Visitors (permission level: read), Members (permission level: contribute or edit, depending on the site template), and Owners (permission level: full control) groups. Source: Add users (principals) ...


1

After creating a SharePoint group, you need to assign the permissions to it at site (web) level. Add a new action 'Send HTTP request to SharePoint' and configure the action to use endpoint as below: /_api/web/roleassignments/addroleassignment(principalid=<GROUPID>, roledefid=1073741827) roledefid is for Permission Levels which are as follows: ...


1

In sharepoint, AD group is treated as a normal user. There is such rest api to find out the user in which AD groups .


1

Did you delete a security group in the M365 admin center or simply remove the permission of a SharePoint group? For M365 admin center, I am not sure if there is a way to restore it. You can open a service request for more help. If you just remove the permission of the group in Site permissions page, you can just re-assign proper permissions there. It still ...


1

You could get all the site users with the below rest api. /_api/web/siteusers


1

Here are the steps you can try: Declare an array and initialize it with group ids like [2, 3, 4, 5] Declare a string variable to store all the emails (email1;email2;) Declare another string variable to store current email from JSON parse action Add "Apply to each" action to process group id array Within "Apply to each", add "Send an ...


1

It seems to have something to do with Access Control for Unmanaged Devices, which is configured to restrict end users’ actions (Download, Print, and Sync commands) in Office apps. Do you have sensitivity labels set in your tenant, or see Confidential labels in this site? I haven’t been able to enable this permission level in my tenant, possibly due to ...


1

Quoting the official document: Membership to the site collection owner and member groups are kept in sync with the membership of the private channel within Teams. Any changes to the membership of Owner or Member groups in SharePoint Online will be reverted to private channel membership within four hours automatically. So technically, you can sync a ...


1

There is no way to make a SharePoint Group as site collection administrator. As a workaround, you could make an offcie 365 group as site collection administrator. Create a Office 365 group and add users to it. Then go to SharePoint admini center, choose the site and click permissions. Add the Office group as admin.


1

Unfortunately for Sharepoint groups no, and this has been a long standing caveat with Site Collection Administrators - they can only be defined users. You can use Azure AD / Office 365 Security Groups though. This link to previous question explains this well this very well.


1

I ended up with: Create a SharePoint group with no permissions to the site. Add AD group to this SharePoint group Assign this SharePoint group as an Owner of the other SharePoint group


1

Try using your flow like below. This works for me: OR simply like: Group Settings: Notable Points: I have used endpoint like: /_api/web/sitegroups/removebyid('<group-id>'). Group ID is enclosed by single quote ('). In my case I am the owner for both group and flow.


1

You can ignore the flow output in this case, all you have to do is to remove the Headers part from your Flow action, everything else looks OK. All you need is the POST method to the _api/web/sitegroups/removebyid([id]) Note the headers accepts JSON string, but you're providing it as a JS object. Removing it altogether will make it work. As long as you're ...


1

Run the PowerShell with SharePoint Online Management Shell. Get started with SharePoint Online Management Shell for your reference: https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-online/connect-sharepoint-online?view=sharepoint-ps Similar issue post for your reference: https://techcommunity.microsoft.com/t5/sharepoint/set-sposite-lt-...


1

Update your management shell to a current version; I would strongly suggest using the PowerShell Gallery version for easy updating in the future, if you're currently using the MSI. You will want to uninstall the MSI version prior to installing the PoSh gallery version.


1

If the REST API is acceptable, you can get the groups for a user by using their user name using the following query: https://server/sites/site/_api/web/siteusers?$filter=Title eq 'The User Name'&$select=Title,Id,Groups/Title,Groups/Id&$expand=Groups Obviously you can choose to return more information about the user or the groups by including more ...


1

Your request should be using GetByName instead of GetByTitle So your request should be: https://mycompany.sharepoint.com/sites/testsite2/_api/web/sitegroups/getbyname('TestGroup')/users/getbyemail('john.theuser@mycompany.com') Reference: https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-rest-reference/dn531432%28v%3doffice.15%...


Only top voted, non community-wiki answers of a minimum length are eligible