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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Lookup Field Security on Forms

(0) ShareShare
ReportReport
Posted on by 40

Hello,

I have a few lookup fields on one of my forms and I am running into an issue.

when the form loads it not only checks users privileges for the current record but also the privilege's for any related table when the lookup field appears on the form.

It does not prevent the user from reading the field but throws a vague permissions error. 

pastedimage1657113970533v1.png

I know the tables causing the error but do not want these users to have the security to access these tables directly. 

I can not remove the fields from the form as they are referenced by for asset validation in MS script. 

any thoughts? 

I have the same question (0)
  • Suggested answer
    RodRodriguez Profile Picture
    on at

    Howdy,

    You could hide the fields using JavaScript.  You could put in a check to see if that access is denied message will show up, if so, then hide the fields (they will still be on the form but the user won't see them) and then suppress the error message.

  • anavrin Profile Picture
    40 on at

    I tried to hide the fields on the forms using the form editor and still had the same issue

    would hiding it with JavaScript make a difference?

    I would think it would not because I would expect the Microsoft event handler to run first

    *Edit*

    How would I go about suppressing the Microsoft error message?

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    Why don't you create your own custom form and add field which are required for your Business instead of using OOB form.

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 37

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans