Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Model driven app permissions are changed on deployment

This query concerns one model driven app, two solutions and two environments (DEV and TEST)


The app arrives in DEV as part of a managed solution (Project for the Web Accelerator). We have extended it by bringing it into our custom solution, adding tables, forms, views etc in the usual way. We have changed the permissions by removing some existing (PftW) roles and adding our custom roles. Examining the app in DEV shows the permissions are as we want them to be.


When we export our DEV solution as managed and deploy to TEST, the old PftW roles are back and we need to remove them manually, even though before the deployment the permissions were as we wanted them. 




  • Solution layering in TEST shows that our solution is top, above the PftWA solution
  • Original deployment to TEST may well have taken place before we changed permissions on the app


Is there anything I can do about preventing this and maintaining the same set of permissions throughout all environments?


Many thanks



Continued Contributor
Continued Contributor

@DynAB , did you import the new Security role to your solution before exporting the solution?

Frequent Visitor

Thanks for the response.


We have a separate solution for roles, which is deployed alongside the main solution whenever there are changes.


I wasn't involved in the project in the early days so don't know the actual order of those first deployments.


The new roles are showing as able to access the apps fine - but the old ones keep being put back.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Users online (3,655)