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 / Privilege to access mo...
Power Apps
Unanswered

Privilege to access model driven app

(1) ShareShare
ReportReport
Posted on by 91

I would like to know what privileges are required to access model driven app.

 

Even after I have given the minimum required privilege (According to this documentation) plus the required privilege for database access, I cannot access the model driven app properly.

ynaing_0-1668408342312.png

 

I have the same question (0)
  • Hamish Sheild Profile Picture
    3,005 Most Valuable Professional on at

    Hi @ynaing 

     

    What security roles are assigned to the model-driven app?  You can check this via the steps below.  The users must have the same security role(s) that are assigned to the app.

     

    HSheild_1-1668412415042.png

     

  • ynaing Profile Picture
    91 on at

    Hi @HSheild,

     

    Although I am system administrator, I cannot share the app. I don't know why.

    ynaing_0-1668418062494.png

     

  • Hamish Sheild Profile Picture
    3,005 Most Valuable Professional on at

    Hi @ynaing 

     

    The greyed-out options indicate to me that your user did not create the app.  Who was the user that built this app?  They will have access to share it.

     

  • ynaing Profile Picture
    91 on at

    Hi @HSheild,

    Sharing issue is resolved.

     

    The main issue is:

    - I made a model driven app

    - Include a custom created table (Let's call it Students)

    - I assigned a user as System Admin and System Customizer 

    - Test the app

    Everything worked well.

     

    Scenario 1

    -----------

    - I created a new security role (Let's call it "Moderator")

    - Granted the role all permissions (CRUD) with Organization level for Student Table

    - Assigned Basic User and Moderator role to "User A"

    The user cannot access the application.

     

    Scenario 2

    ------------

    - Assign System Customizer Role to User A

    It worked well

     

    Scenario 3

    -----------

    - Clone System Customizer role by clicking copy button and named it CS Clone

    - Remove System Customizer role from User A

    - Assigned CS Clone to User A

    - User A has Moderator role and CS Clone role

    It didn't work. I got this error

    ynaing_0-1669796742277.png

    User A has Office 365 Business Basic License.

     

    I tried on another environment. I got the same result.

  • jukka-niiranen Profile Picture
    351 on at

    It's not enough to just create a security role in Dataverse, you also have to explicitly associate that role with the model-driven app module. Here's the documentation.

    In the share dialog, once you have selected the app on the left side list, go and open the dropdown that will show all the available security roles in the environment. Make sure to check the box next to "Moderator", then click "Share". Now the users with this role should be able to open the model-driven app.

    Yes, it's an extremely confusing UI. It tries to mimick the canvas app sharing dialog, even though the underlying logic of how canvas vs. model-driven app user rights are granted is completely different. Canvas apps are shared directly to a user, just like you might share a document from your OneDrive. Model-driven apps are shared "indirectly", by associating a specific security role both with the app module and the users.

     

  • Verified answer
    ynaing Profile Picture
    91 on at

    Hi @HSheild@jukka-niiranen ,

    Thank you for your answers. I do really appreciate it. 🙂

     

    After 3 weeks, I finally found the root cause.

    It is LICENSE!!!

     

    MS lets us develop app, solution, dataverse, etc.

    But it is not free for users. Office 365 Business Basic is not enough to use those solution though we can develop.

    To be able to develop, the roles like "System Administrator" or "System Customizer" allow to test the app as user.

    That's why, the user cannot access the app even if the assigned role is directly copied from "System Customizer" role.

     

    I assigned Power App Plan 2 Trial license to user. And BOOM. Everything's ok now.

    I have to buy licenses. 😄 😄 😄

     

    The detail error message shows that I need license.

    But I thought the error message is not relevant and refused to accept.

    I thought, just changing security role from "System Customizer" to copied system customizer needs license is nonsense.

    ha ha ha finally. 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard