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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Can ACCESS TEAMS share record without adding a user in sub-grid template?

(0) ShareShare
ReportReport
Posted on by 285

Hi, I am using on-prem Dynamics CRM 2016, version: 8.1.1.1005.  I am taking over the administration for an already built solution. 

I am running issues with Access Teams. The users are complaining about adding a user to the Access team template subgrid individually. 

As per all the users understanding, previous admin created Access Teams in such a way that any member of the team is owning or creating the record then the record is automatically shared to the rest of the team, without going into a specific account/entity and adding a user individually in the Access team template subgrid. 

Is it possible? Or any other way to make this happen? Am I missing something?

I also read this doc https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/use-access-teams-owner-teams-collaborate-share-information where it mentions two types of access teams. 1. Access - User Created 2. Access- Auto Created. Based on that I am guessing the one with template is Access- Auto Created. I am not sure how to use Access - User Created. Can anyone also help me to understand that? 

Based on my understanding, they have to add a user specifically for that record. And I also noticed the previous admin has created Access Teams and access teams templates for all entities in order to share the records individually.

Any thoughts on this? 

 

I have the same question (0)
  • Nagaraj_Matta Profile Picture
    55 on at

    Hi Greetings !

    If you want to automate without adding manually through sub-grid

    you can trigger a piece of code on creation of a new record and on sharing the record message ( plugin)

    next in your code you can fetch the user team , next fetch the users in that team.

    loop all the users and execute the below request to add the user to give access on that record

    AddUserToRecordTeamRequest adduser = new AddUserToRecordTeamRequest()

                       {

                           Record = entityToAdd,  // record you want to share

                           SystemUserId = UserId,  // pass every user one by one in loop

                           TeamTemplateId = teamTemplateId // access team teamplate ID

                       };

                      AddUserToRecordTeamResponse response = (AddUserToRecordTeamResponse)service.Execute(adduser);

  • nidnani Profile Picture
    285 on at

    Hi Nagraj,

    Thank you for your response.

    There is no other way than using the code?  I am new to CRM code.  Could you please tell me where would i add the code and how? Should i use CRM Plugin?

    If possible could you please provide with steps and example?  I have multiple records that user will need access too, some are custom entities as well.

    Thanks in advance.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans