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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to segregate Development and Deployment role in LCS

(1) ShareShare
ReportReport
Posted on by 7
Hi. 
We are using D365 Finance and Operations (Cloud deployment). We have an audit requirement where we need to segregate the development and deployment roles. In LCS Project settings, the Environment manager (Project security role) gives you access to manage all the environments, including the DevBox, and also to publish deployable packages in the production environment.
Is there a way to create separate roles for development and deployment, so that the developer doesn't have access to deploy the package, and only has access to manage the DevBox and Sandbox environment? Alternatively, can there be an approval process for the deployable package, so that it needs to be approved by another user before it could be published to the production environment?
Thanks.
I have the same question (0)
  • Suggested answer
    Anthony Blake Profile Picture
    2,963 Super User 2025 Season 2 on at
    There's no way to setup roles in LCS that aren't out of the box, its pretty limited.
     
    Your developers however don't actually need access to LCS at all if that's a problem, your environment managers could provide them with RDP & credentials from LCS.
  • Suggested answer
    MuthukumaranAX Profile Picture
    2,903 on at
    You can't custom role in LCS project, please refer the below link and chose the right role that suits your requirement.
     
    Secondly,  you have marked the package as "Release candidate" that indicate that the package is ready for production instance.
  • sohaiby Profile Picture
    7 on at
    @Anthony Blake Thank you for your answer. Taking away the complete LCS access would mean that the Developer won't be able to manage sandbox, apply updates and manage LCS settings. Our requirement is to only segregate the deployment to production role, while they can continue to manage the rest of the LCS settings.
    Is there a package approval workflow in LCS (similar to the x++ custom script deployment) that could be enabled?
  • sohaiby Profile Picture
    7 on at
    Hi MuthukumaranAX, Thanks for your response.
    Is there a way that the Developer (with Environment manager role) who deployed the package to Sandbox won't be able to Mark it as Release Candidate, and only a different user (with either Environment manager or Project Owner role) can do it? This will act as an extra level of security and will pass our audit requirement.
  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at
    Hi Sohaiby,
     
    You have a follow-up question where the developer does have environment manager access on the LCS project and should not start the deployment. In this case, it is not possible to stop them from deploying a deployable package. Note that LCS will be deprecated and all environment access will be managed in the Power Platform admin center in the future. We should check if development and deployment can be separated in a better way. I can bring your question to Microsoft. 
     
    For now, the only option would be taking away the LCS role from the developers as mentioned below. 
  • Suggested answer
    DD-10121038-0 Profile Picture
    2 on at
    Give the Developers the Project security role as "Operations User" and Implementation Role as "Technical Consultant", This should help with your Audit passed. 
     
    thanks
    Dilliraj

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans