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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Remove share and assig...
Power Apps
Suggested Answer

Remove share and assign views of model driven app

(1) ShareShare
ReportReport
Posted on by 200
Hi,

How can I prevent a user to share or assign a view that he created it ! 

I already removed those privileges from security role of the user : for the system table User Query.
Categories:
I have the same question (0)
  • Suggested answer
    Haque Profile Picture
    3,217 on at
    Hi @Youssef_Arouay,
     
     
    Simply removing the "Share" and "Assign" privileges from the security role may not be sufficient in all cases because:
     
    1. Users might still see the Share or Assign buttons in the UI if the app or system views are not customized to hide them.
    2. Some privileges might be inherited or granted through other roles or teams.
    3. The system may cache privileges, so changes might require users to sign out and back in.
     
    Here is a recommenation per your needs:
    Recommendation Description
    Security Role Privileges Make sure users' security roles have no Share or Assign privileges on the User Query entity. Check for other roles or teams that might grant these privileges.
    Customize the Model-Driven App Ribbon Use Ribbon Workbench or similar tools to remove or hide the Share and Assign buttons on views grid and form ribbons to prevent users from seeing these options.
    Use JavaScript or Command Bar Customization Add custom JavaScript or command bar rules to disable or hide Share/Assign commands based on user roles or ownership.
    Test with a User Account Verify with a user account that has the restricted role to ensure Share and Assign options are not available.
     
    References:
    1. Making Model-driven Power Apps visible and hidden
    2. Share a model drive app
    3. Customize apps and commands
    4. Security roles in Model Drive Apps view

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
     
  • Ram Prakash Duraisamy Profile Picture
    5,846 Super User 2026 Season 1 on at
     
    Can you please share me the screenshot of Security Role which you have tried ? and can you help with the current logged in user security role.
     
    Note: Even though you removed security and can able to view the record, which means you are have some additional permissions for the same.
     
    Please mark as answer if my suggestion helps.
    Subscribe here for More Useful videos : https://www.youtube.com/@rampprakash3991

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard