Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Create new security Team from workflow or custom workflow activity

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

  • kcpacker85 Profile Picture
    kcpacker85 160 on at
    RE: Create new security Team from workflow or custom workflow activity

    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?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Create new security Team from workflow or custom workflow activity

    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

  • Suggested answer
    Pedro Azevedo Profile Picture
    Pedro Azevedo 830 User Group Leader on at
    RE: Create new security Team from workflow or custom workflow activity

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans