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 :
Microsoft Dynamics AX (Archived)
Suggested Answer

Hiding Data in Test Environment

(0) ShareShare
ReportReport
Posted on by 345

Dear All,

Usually I maintain the same setup/version in Production and Test Environment by frequent Backup of Prod. and Restore in Test.

But now my superior wants me to act upon differently.

He don't want to reflect the data in Test same as on Live.  Reason, when some users give access to Test they don't want to see the confidential data like financial profit & loss data, payroll details of other users.  

Instead of deleting the data on Test.  I would prefer doing thru security role level.

Anyway for this.

AX version : AX 2012 R3 CU10

regards

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    I do not see a question on your post. If the question is that if it is possible, then the answer is yes, you can create custom security roles or XDS policy to hide sensitive information. You just have to make sure that there are no loopholes, you need to have strict control on who has access to the SQL Database, or have Administrative privileges within AX.

  • Suggested answer
    Solozmar Profile Picture
    796 on at

    Another approach I might suggest (though won't work if you require that data), is to scramble that data, or remove it.  For example, on all copydowns from Production down (TEST, UAT, DEV, etc.) we update the HCM/human resources and payroll table values to 0, 1234, NULL or similar.  That way we are not worrying about additional permission changes or altering functionality.

  • Santosh Yadav Profile Picture
    420 on at

    why don't you create few security artifacts (new privileges, duties, roles etc.) around this and pull over all the required menu items those you don't want to expose to *some* users. only thing you need to be cautioned is, these security artifacts don't need to be promoted to other env (as they don't needed), these are just needed for your data protection.

    deleting the data is absolutely not recommended approach as financial entries having so many references across the tables.

  • Ahmad wali Profile Picture
    105 on at

    I think you wanted to raise a point over here. You can apply the security role level on it.

    Thanks

  • add Profile Picture
    on at

    Hi Mazherullah,

    I would make two (or more) test environments. One I would use only for new employees testing, training etc. I would restrict access through security or transform sensitive data or both. This environment I would refresh very rarely. And the other environment/s I would refresh as needed for DEVs or sys admins testing etc.

  • migi111 Profile Picture
    485 on at

    Hi,

    I have exactly similar situation and need to scramble HCM data. Can you describe your solution a little bit?

  • migi111 Profile Picture
    485 on at

    ....and my response was for Solomon Maricle's reply.

  • Ahmad wali Profile Picture
    105 on at

    Hi,

    Do you want need the scrambling script?

    Thanks

  • Mazherullah Profile Picture
    345 on at

    Hi migi111,

    Reg. masking the HCM data, I think major data is payroll related details...that we can mask the basic salary with some standard amount.

    regards

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    We have an X++ job in place that we run each time we clone our Production SQL database over our Quality Assurance and Test environments. You may write an X++ job which obfuscates or cleans your data, and put it as a mandatory for your system administrator who is doing the cloning to run it as part of your clone procedure (preferably in an automated fashion, like a PowerShell script or T-SQL job).

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans