How to create a SharePoint Site Group when a field is populated via workflow

Frank Collazo 21 Reputation points
2021-09-30T19:24:38.537+00:00

I need to create a Site Group and assign site permission to that group when a field is populated. Ex: CustomerGrp is populated with "UserGroupName22", I need the workflow to kick off when form submitted to create the Site Group "UserGroupName22" and assign read permissions to the whole site. Is there a way to user Designer to build this workflow?

SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
549 questions
0 comments No comments
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,341 Reputation points
    2021-10-01T03:03:36.9+00:00

    Hi @Frank Collazo ,

    As far as I know it is not available to create a SharePoint group via workflow without development. So we are not able to create SharePoint group with SharePoint Designer.

    From this blog, you could create a custom workflow activity in Visual Studio 2012 with REST API to create a new SharePoint group.

    For Reference: Custom Workflow Activity for Creating a SharePoint Group
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful