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 / Model Driven Business ...
Power Apps
Answered

Model Driven Business Rules not Running for Users

(0) ShareShare
ReportReport
Posted on by 28

The Model Driven Business rules on CDS run fine for Admins but don't run for users.  This just started a few days ago.. Any ideas?  

-Eric

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Eric503 

    Form Business Rules are not related to security roles please check the business rule scope, it may not be set to All forms

    Mira_Ghaly_0-1596071499991.png

     

    If this post helps you with your problem, please mark your as Accepted solution.

     

    If you like my response, please give it a Thumbs Up.

     

    MG (Naturally Curious)

  • Eric503 Profile Picture
    28 on at

    Than you for the suggestion; the scope is set to "Entity". I tested at "All Forms" and there was no change, the test rule does not run.  I can only get the rule to run by changing the test user role to "System Administrator". 

    -Eric

  • v-xida-msft Profile Picture
    on at

    Hi @Eric503 ,

    Could you please share a bit more about the "Scope" option you set for your Business Rule? Scope to Entity or All Form or specific Entity form?

     

    If you set the "Scope" option of your Business Rule to specific Entity form, when these users run other Entity forms of the Entity, the Business Rule would not be fired.

    3.JPG

    make sure you set the "Scope" option of your Business Rule to "Entity" or "All Forms" option.

     

    The following are some common issues for not firing Business Rule in Model-Driven app form:

    https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/create-business-rules-recommendations-apply-logic-form#common-issues

     

    In addition, please also make sure the Security Role which is assigned to these certain users has sufficient permission to access the CDS Entity (your Business Rule relies on).

     

    Regards,

  • Eric503 Profile Picture
    28 on at

    Kris-

    The scope is set to "Entity".

    Business Rule is 'Activated".

    Field referencing is on the form.

    Field I'm trying to hide is on the form.

    User has access to the CDS entity.  

    -Eric

  • v-xida-msft Profile Picture
    on at

    Hi @Eric503 ,

    Regarding the configuration that you mentioned, I think it is correct. Currently, I could not reproduce your issue on my side. Please check if you have configured a Field-Level Access Permission in your CDS Entity, and you use the related field in the Condition component of your Business Rule.

     

    If you have configured a Field-Level Access Permission in your CDS Entity, and you use the related field in the Condition component of your Business Rule, your Business Rule may not fire due t the Field-Level Permission limit. If it is, please consider remove the Field-Level permission from your CDS Entity, then try it again, check if the issue is fixed.

     

    The following are some common issues about not firing Business Rule in Entity form:

    https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/create-business-rules-recommendations-apply-logic-form#common-issues

     

    If the issue still exists, please consider remove the Business Rule from your Entity, then re-create a new one for it, check if the issue is fixed.

     

    Regards,

  • Verified answer
    Eric503 Profile Picture
    28 on at

    For a workaround I installed the "min prv apps use" role as described here: https://docs.microsoft.com/en-us/power-platform/admin/database-security and added it to the Team permissions. 

    -Eric

  • v-xida-msft Profile Picture
    on at

    @Eric503 ,

    Have you solved your problem?

     

    Based on the article that you mentioned, I agree with you, please make sure the Security Role you customized own minimum privileges to run a Model-Driven app.

     

    If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

     

    Regards,

  • Charles Seguin Profile Picture
    401 on at

    Hello! 

    If anybody stumbles upon this post, please also refer to the detailed solution here:

    Solved: Re: Business rules only working for sysadmin - Power Platform Community (microsoft.com)

     

    Basically, Security Roles are indeed the issue here. Under the Customisation tab, "Process" must be set to Organisation for Read and Append To. 

    CharlesS_0-1642193577752.png

     

    Best Regards,

    Charles

  • PowerThomas Profile Picture
    277 on at

    I fixed this by setting 'Append To' permissions to all custom entities which are used in Business Rules.

  • Tahin Profile Picture
    3 on at

    This solution by Charles also worked for me: Under the Customization tab, "Process" must be set to Organization for Read and Append To. The default user permission granted user-level read, but not organization-level.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard