Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    Neil Parkhurst Profile Picture
    Neil Parkhurst 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
    ravibachanagiri 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
    ravibachanagiri 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
    Mahadeo Matre 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
    ravibachanagiri 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
    ravibachanagiri 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
    Mahadeo Matre 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
    Neil Parkhurst 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
    ravibachanagiri 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
    Neil Parkhurst 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

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…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans