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

Announcements

Community site session details

Community site session details

Session Id :

How to Restrict App Visibility by Removing extra app Access from Security Roles

Fameeda Yaseen Profile Picture Fameeda Yaseen 451
Issue Summary
Users assigned to custom security roles such as “Restricted Sales User (Read-Only)” and “Intelligent Order Management – Supply Chain Executive” were able to see all apps published in the tenant — even though their role configuration only allows access to specific apps (e.g., IV and IOM custom apps).

Root Cause
The affected security roles contained extra privileges on the App Module (Model-driven App) table/entity. These privileges granted access to all apps, regardless of app-specific configuration or assigned rights.
You can confirm which apps a user can access using the App Access Checker tool:
App Access Checker URL:
https://CRMDev.dynamics.com/WebResources/msdyn_AppAccessChecker.html
How to use:
  1. Enter the user’s ID.
  2. Click Search.
  3. The results will list all apps accessible to the user, and indicate why access is granted (via role or privilege).
 

Goal
Restrict app visibility by removing unnecessary Read and Write access for a specific security role (e.g., “Restricted IOM User (Read-Only)”) on the App Module entity.
 
Step-by-Step Resolution
1️. Open Power Platform Admin Center
  1. Navigate to https://admin.powerplatform.microsoft.com.
  2. Select your environment (e.g., Production or Test).
 
2️ Access Security Roles
  • Go to Settings → Users + Permissions → Security Roles
    (Classic view: Advanced Settings → Security → Security Roles)
  • Open the target security role (e.g., Restricted Sales User (Read-Only)).
 
3️ Locate the App Module Table
  • In the role editor, open the Custom Entities / Custom Tables tab.
  • Search for App Module (may also appear as AppModule or Model-driven App).
    • Internal Name: appmodule
 
4️ Adjust Privileges
PrivilegeDescriptionRecommended Action
NoneNo accessSelect this to remove access
UserAccess to owned recordsRemove if not needed
Business UnitAccess to records in same BURemove if not needed
Parent: Child BUAccess to records in child BURemove if not needed
OrganizationAccess to all recordsRemove if not needed
Set:
  • Read = None
  • Write = None
 
5️ Save and Publish
  • Click Save and Close.
  • Allow a few minutes for the changes to propagate (or have the user re-login).
 
6️ Validate Access
  • Log in as the affected user or impersonate their account.
  • Confirm that the user can only see the intended apps and cannot open or modify the App Module table.
 
Optional Checks (Managed Environments)
If using Managed Environments or Field-Level Security, also verify:
  • Solution Layering: Ensure no managed solution re-adds App Module privileges.
  • Teams-Based Access: Confirm that no team membership re-grants access indirectly.
 
Expected Result
After these changes:
  • The user’s role will no longer have Read or Write privileges on the App Module table.
  • The user will only see the apps explicitly assigned to them (e.g., D365 CE & custom apps).
  • Unrelated apps published in the tenant will no longer be visible.


Comments