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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

GP AND SQL

(1) ShareShare
ReportReport
Posted on by 366

I have a client who added an active Directory user to SQL and gave him DYNGRP access to Dynamics and the GP COMPANIES, he uses Azure Data Studio to query the data- he only wants him to see certain tables because of what he is working on (does not want him to see the GL, payroll tables etc) Is there a way to limit what GP Tables the users can access in SQL when querying data 

Categories:
I have the same question (0)
  • Suggested answer
    Talon Meyer Profile Picture
    91 on at
    RE: GP AND SQL

    They should revoke access to the DYNGRP role since that gives both read and write access.

    Have them define a new database role in SQL Server with read only access to the proper database objects. 

  • Suggested answer
    Derek Albaugh Profile Picture
    on at
    RE: GP AND SQL

    As mentioned, DYNGRP gives access to all tables, views and stored procedures in the GP database that the user is assigned that role.

    You could potentially use the RPT_ database roles. We use those for permissions for the Excel and SSRS reports to pull data from the GP databases. They work similar to the GP security roles in that, if you assign someone the RPT_HR Manager role, they'll only really have access to the tables/data that the role would normally need.

    There's different ways you could potentially do something like this.

    Thanks

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,028

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 878 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 579 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans