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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Restricting access to records based on a field?

(0) ShareShare
ReportReport
Posted on by 335

Is there any way to say that a user can only see records if a field is not null? I have an outside partner who wants access to our CRM, but we only want them to be able to see records that are "tagged" as theirs, by having a value in a field. It's not possible or plausible to change the owner of the records to this user, and their access need would cross between leads, opportunities and activities. 

Just wondering if anyone had any thoughts on this? Is it even possible?

Thanks!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Daniel Wikell Profile Picture
    2,360 on at

    Technically you could develop plugins on the Retrieve and RetrieveMultiple messages and filter the records returned based on the combination of the user requesting them and a certain field value. These plugins would probably cause a hit towards the performance and would likely not be the preferred way to do it though.

    Have you looked at Access Teams? It sounds like you could solve this by enabling access teams for these record types and then just add the user to each access team of the records that the user should be able to access.

    See the Access Team parts of this page for reference: msdn.microsoft.com/.../dn481569.aspx

  • Community Member Profile Picture
    on at

    It seems the only way is to develop a plugin which handle Retrieve and RetrieveMultiple messages so each time a record is retrieved you can check the field value.

    Hope it helps.

    If you found the answer helpful, please mark as Verified 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Verified answer
    anonsgate Profile Picture
    422 on at

    Make a Team of type Owner in Settings -> Security - > Teams

    On records you want to enable, do Share. Choose user/team and choose your team.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans