web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Create new security Team from workflow or custom workflow activity

(0) ShareShare
ReportReport
Posted on by 160

Hello,

I'm attempting to create a new Team as a child workflow using the out of the box workflow when another condition is met, but when choosing 'Create Record', the Team entity is not available. I've read that this may be accomplished using a custom workflow activity but I haven't found any information on how to do this. I've also come across the D365 Workflow Tool solution that does allow the creation of Teams inside a workflow. Has anyone accomplished this task before? Whether using custom WF activity or D365 Workflow Tool? If so, any insight would be appreciated 

Thanks

I have the same question (0)
  • Suggested answer
    Pedro Azevedo Profile Picture
    830 User Group Leader on at

    Hi,

    Did you try to create the team through D365 Workflow Tool. This is a fantastic tool that avoid the use of code, because your requirement only doing code though a Workflow Activity, but this tool already have a bunch of workflow activities and you just need to use them, for your case you can use this one:

    github.com/.../CreateTeam.md

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi kcpacker85,

    You could install Workflow Tool to do this as Pedro Azevedo comments. The following is the steps:

    First download it:github.com/.../releases

    Then do the following:

    Navigate to Settings>Solutions

    Click on Import and select the ZIP file.

    pic60.png

    pic61.png

    Navigate to Settings>Customization>Customize the System, and create a workflow.

    pic62.png

    For using this activity you must access here and select Create Team action:

    pic63.png

    Set the properties.

    pic64.png

    Note: Team Type: 0 for Owner team / 1 for access team

  • kcpacker85 Profile Picture
    160 on at

    Thanks for this information, unfortunately I'm unable to download the workflow tool b/c we are on-premise.  I receive an error that the solution cannot be installed on-premise.  It looks like the only route now is to build this using a custom workflow activity.  Does anyone have a code example of how to accomplish this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans