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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Platform keeps deletin...
Power Apps
Answered

Platform keeps deleting the list of security roles allowed to open model driven app

(0) ShareShare
ReportReport
Posted on by 186
Hello all,
I have a model driven app which i correctly deploy using pipeline from DEV to QA to PROD environment.
Once in PROD I open Make environment and share the model driven app to the security roles allowed.
But recently i found that system delete che list of security roles which can open the app. the symptoms are:
  1. Suddenly users cannot open app anymore:
  2. i'm not able to share the application inside the make environment:
So every time i have to go to
and assign again manually.


Then everything starts working again.
Why this happens?
 
Thank you for any support.
Regards,
Giovanni
 
 
 
I have the same question (0)
  • MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 on at
    This model driven app that you are facing issue, it is a custom app or you customize some of existing one that is provided by Microsoft?
  • Gprior Profile Picture
    186 on at
    it's a completely new app based on a custom entity
  • MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 on at
    on your dev environment did you set the config? if not set in the dev environment.
     
    Or if you always is set in the target environment  check your pipeline if you are not removing unmnaged customizations when deploy the soluition. Are using Devops or Power Platform Pipelines?
  • Verified answer
    Gprior Profile Picture
    186 on at
    Probably I've found the issue.
    Root problem is that i don't have imported the security roles into the solution and i was manually assigning the roles into the target environment (security roles were in a unmanaged layer in prod environment), so every time i deploied  the solution the link with the security roles broke, users were not able to access the application and i was not able to share the app again from backend designer website, so i had to set it manually every time.
     
    I'm going to embed the security roles inside the solution and export it to check if that will fix.
    I'll update soon.
     
    Giovanni
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 340

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard