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 / Unable to remove secur...
Power Apps
Answered

Unable to remove security role associated with app

(0) ShareShare
ReportReport
Posted on by 17

When sharing a model driven app all selected security roles are associated with the appropriate app.
It is not possible to uncheck a previous selected (=saved) security role in this dialog.
How can the association between the model driven app and the security role be removed?

I have the same question (0)
  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @ThePowerFox,
    This should be feasible quite easily with the Classic (aka legacy) interface. Try this:

    1. Navigate to your environment and append to the URL "main.aspx?forceClassic=1" (e.g. https://ericdxc.crm6.dynamics.com/main.aspx?forceClassic=1)
    2. Go to Settings --> My Apps
    3. Click on the ellipsis on the middle right of your app
      2020-04-07_20-50-31.png
    4. A right pane will open, expand Roles and you can uncheck the unwanted security roles (don't forget to save and close!)
      2020-04-07_20-52-05.png

       

      Hope this helps! 

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @ThePowerFox,

    This should be feasible with the Classic (aka legacy) interface. Try this:

    1. Go to your environment and append "main.aspx?forceClassic=1" after "dynamics.com"
      e.g. https://ericdxc.crm6.dynamics.com/main.aspx?forceClassic=1
    2. Go to Settings --> My Apps
    3. Click on the ellipsis in the middle right of your app
      2020-04-07_20-50-31.png
    4. A right pane will open, expand Roles and uncheck the unwanted security roles (don't forget to save and close!)
      2020-04-07_20-52-05.pngHope this helps!

  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @ThePowerFox ,

    Have you tried the new Sharing UI dialog within PowerApps to share your Model Driven app?

     

    Based on the issue that you mentioned, I have made a test on my side, I suppose that you are trying the new Sharing UI dialog within PowerApps to share your Model Driven app as below:

    4.JPG

    is it right?

     

    Actually, it is an known issue with the new sharing UI dialog -- if you assigned a Security Role to your Model-Driven app, and click "Share" button, the assigned Security Role could not be unchecked again within the new sharing UI dialog. These assigned Security Roles would be grey and could not be edited.

     

    As an fixed solution, you could consider go to your Dynamics 365 CRM instance (PowerApps Environment, where your current Model-Driven app hosted in) through the following URL:

    https://orgxxxxxxxx.crmx.dynamics.com/

    then go to "Settings"-> "My Apps":

    5.JPG

    then find your Model-Driven app there, and click "Menu Options"-> "MANAGE ROLES" option:

    6.JPG

    then you could edit these assigned Security Roles for your Model-Driven app:

    7.JPG

     

    Best regards,

  • ROE-DK Profile Picture
    12 on at

    Edited: Just noticed x-vida-msft hasn't logged on for more than a year

  • ROE-DK Profile Picture
    12 on at

    Would you happen to know how to do this with a canvas app in a solution?
    It doesn't show up under Apps, and I can't find the app when looking through Settings -> Solutions -> <my solution>

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    This is for model-driven apps only, not canvas app. Removing a role for canvas apps is done by sharing/unsharing the app itself in the Maker portal (make.powerapps.com). Apps --> select your app --> click the ellipsis then Share. Hope this helps!

  • ROE-DK Profile Picture
    12 on at

    And of course I found the answer 10 min. after having given up 😕
    When the app is shared, a new team is created under the organzation with the same name as the group the app is shared with:
    From the Solution -> cogwheel -> Advanced Settings -> Settings -> Security -> Teams -> <business unit> -> Organization -> Teams
    Click the relevant team and select Manage Roles

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard