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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to find all team members associated to an individual account or contact record

(1) ShareShare
ReportReport
Posted on by 185

Hi Everyone,

 Today I was working on advance find and landed into scenario where I need to retrieve all the team members(Users)who have access to that single record(Account, Contact, Opportunity). I tried to search it online but didn't find much information. Would appreciate for the early reply.

Thank's in advance.

Ravi

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Neil Parkhurst Profile Picture
    10,727 User Group Leader on at
    RE: How to find all team members associated to an individual account or contact record

    I am sorry to say that I don't think a complete solution to your problem is possible using just advanced find.

  • ravibachanagiri Profile Picture
    185 on at
    RE: How to find all team members associated to an individual account or contact record

    Many complete requirement is that on opening a account or contact record I want to show all the team members who own the record in a grid. But to create a grid and show them first need  to create a view and then set it to that sub-grid.

  • ravibachanagiri Profile Picture
    185 on at
    RE: How to find all team members associated to an individual account or contact record

    Thank you Mahadeo, But the problem with Access team is that you have to add or delete User manually.

  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at
    RE: How to find all team members associated to an individual account or contact record

    Hi,

    If you shared records with team members using access teams, then you can add grid on account/contact/Opportunity on form and show there which users are accessing this record.

    www.powerobjects.com/.../access-teams-in-dynamics-crm-2013

    but I don't think so you will able to find using advanced find.

  • ravibachanagiri Profile Picture
    185 on at
    RE: How to find all team members associated to an individual account or contact record

    Unfortunaltely Mahadeo, I am restricted to Advance find.

  • ravibachanagiri Profile Picture
    185 on at
    RE: How to find all team members associated to an individual account or contact record

    No Neil, my account record is shared with a team members. Its not owned by team.

  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at
    RE: How to find all team members associated to an individual account or contact record

    If you want using code, then you can use RetrievePrincipalAccessRequest  class to get user or teams has access to specific record.

    for more information please check

    msdn.microsoft.com/.../microsoft.crm.sdk.messages.retrieveprincipalaccessrequest.aspx

  • Suggested answer
    Neil Parkhurst Profile Picture
    10,727 User Group Leader on at
    RE: How to find all team members associated to an individual account or contact record

    Is your account owned by the team? I tested this in my system and it worked when  the account is owned by the team.

  • ravibachanagiri Profile Picture
    185 on at
    RE: How to find all team members associated to an individual account or contact record

    Thank you Neil. I tried this but its not working out.  First I tried to give individual account it didn't work then I changed the last condition to Account contains Data. Even then it didn't.

  • Suggested answer
    Neil Parkhurst Profile Picture
    10,727 User Group Leader on at
    RE: How to find all team members associated to an individual account or contact record

    Try this .... it lists all users that are in the team owned by the selected account.

    2055.Capture.PNG

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans