Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

deploy Security from test to live server

Posted on by 102

Hi guys,

when we deploy model from test server to live server security all security roles disturb.

what is best method to deploy security roles and how to fix this.

BR

Ahmed 

  • Verified answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: deploy Security from test to live server

    If you do security directly in Prod then you need to change your process a bit. You need to have an environment where you will import latest modelstore from prod, apply customizations via XPOs, prepare model  and deploy this model to UAT for testing and then to Prod. This way you won't delete anything done directly in prod.

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: deploy Security from test to live server

    Are your prod security privileges in same model than what you deployed from test to prod? If yes, that would explain your problem since the new model replaced the existing model in prod.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: deploy Security from test to live server

    Can you tell if you did change the security on both the test and the live server? If so, there might be other object IDs used which can explain the issue you are facing. Did you also check the contents of the model?

  • MAKDAX2012_Ahmed Profile Picture
    MAKDAX2012_Ahmed 102 on at
    RE: deploy Security from test to live server

    the security privileges we assigned to users removed  on liver server of Dynamics Ax 2012 R3 I mean to say if a user can see a report link. after deployment of major development task in the  form of model from test server to live server. user privileges remove(user can not see report link) from live server.  

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: deploy Security from test to live server

    Hi Ahmed,

    Can you elaborate what you mean with "all security roles disturb"? Please provide concrete examples about what you experience.

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans