Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
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 with a 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. Unfortunately however, since our system is on-premise I'm unable to download the D365 Workflow Tool solution. Has anyone accomplished this task before? If so, any insight would be appreciated 

Thanks

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Create new security Team from workflow or custom workflow activity

    Hi,

    You can create your own custom activity code by copying the below code from the same tool and then call this custom workflow activity from your oob workflow

    github.com/.../CreateTeam.cs

  • Suggested answer
    gdas Profile Picture
    gdas 50,089 on at
    RE: Create new security Team from workflow or custom workflow activity

    Creating teams based on the condition is not a good practice in CRM , you may come up with many teams which you can't manage in future. You may rethink your requirement. There is a access team capabilities in dynamics   you may have a look to achieve your requirement.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans