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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to relate records ...
Power Apps
Answered

How to relate records with C#?

(0) ShareShare
ReportReport
Posted on by 264

Hello, my friends!

There is "Relate rows" in Power Automate and it is possible to add Systemuser to my Team.

I'd like to do the same operation via C# in Plugin.

I googled the question, saw this link and smoked the Samples, but didn't find the solution.

Tell me pls the way/example how to relate Records.

 

I have the same question (0)
  • Verified answer
    Guido Preite Profile Picture
    1,488 Super User 2024 Season 1 on at

    you need to use the associate/disassociate methods, the SDK documentation is this one 

    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/org-service/entity-operations-associate-disassociate

     

    between systemuser and team, the relationship name should be teammembership_association

  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    @GuidoPreite system entities always were special. A generic "Associate" message might work, it might not.

    @Max77 specifically to associate Users to the Team you might use the following message - https://learn.microsoft.com/en-us/dotnet/api/microsoft.crm.sdk.messages.addmembersteamrequest?view=dataverse-sdk-latest

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard