Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

You do not have {0} permission to access {1} records error message appears when using Categorized search

Posted on by 75

Hello.

We are having the error "You do not have {0} permission to access {1} records." when using the Categorized search on D365. The problem is somewhere on the Security roles because the users getting the error are using Custom Role. The functionality works fine with Admin role. 

Can you help me? 

Br,J-P

*This post is locked for comments

  • Suggested answer
    Pradip Raj Profile Picture
    Pradip Raj 323 on at
    RE: You do not have {0} permission to access {1} records error message appears when using Categorized search

    This is for a generic error: You do not have {0} permission to access {1} records

    To see the actual permission errors, we need to use inspect (F12) in the browser to see the errors in the console. Errors details on the console will give us the complete information for the exact permission issue for the entity. Please refer to the below blog post for more details:

    https://www.dyn365blog.com/dynamics-365-you-do-not-have-0-permission-to-access-1-records-on-qualify-lead/

    https://danielbergsten.wordpress.com/2020/01/20/you-do-not-have-0-permission-to-access-1-records/

  • Suggested answer
    ManishUprety Profile Picture
    ManishUprety on at
    RE: You do not have {0} permission to access {1} records error message appears when using Categorized search

    Hi All,

    In my case I just have to update User Setting Role under the Business Management.

    pastedimage1663570371857v1.png

  • J-PL Profile Picture
    J-PL 75 on at
    RE: You do not have {0} permission to access {1} records error message appears when using Categorized search

    @Thijs Verho

    Hi! It seems that I had exactly the same issue. Thank you very much for your help :)

  • Hayer Profile Picture
    Hayer 802 on at
    RE: You do not have {0} permission to access {1} records error message appears when using Categorized search

    easiest fix is, replicate what user is trying to search using customised search. Once you have query then make sure user have permissions to read data from those entities he/she is querying.

  • Verified answer
    Thijs Verhoef Profile Picture
    Thijs Verhoef 25 on at
    RE: You do not have {0} permission to access {1} records error message appears when using Categorized search

    We had the exact same issue a couple of days ago. The Categorized Search searches over a number of entities and your user doesn't have access to one or more of the selected entities.

    Go to Settings > Administration > System Settings

    On the General tab, under 'Set up Search' you can select the entities that are available through categorized search. In our case we had to remove the entity 'Case' from the options. An alternative option for you would be to add permissions for the 'missing' entities to your custom role.

  • J-PL Profile Picture
    J-PL 75 on at
    RE: You do not have {0} permission to access {1} records error message appears when using Categorized search

    Thanks for the reply! It seems that the Search is working fine on the old UI. These problems with new UI are just difficult to understand..

  • Suggested answer
    Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: You do not have {0} permission to access {1} records error message appears when using Categorized search

    Either replicate the error within the old UI (This will give you a meaningful error message) or you can look in the debugger like so - www.itaintboring.com/.../

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans