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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Business rules require deactivating and activating to work after each deploy.

(1) ShareShare
ReportReport
Posted on by 4
Hi! I work in a project managing a D365 CRM. We have plenty of business rules and they (mostly) work fine except a few (3 at the moment) that require deactivation and then activation to work properly. 

The most recent one is is super simple. 

If Contact type is X -> Hide Field Y and Z. It works 100% fine in our Development environment but as soon as we deploy to another environment they don't seem to work  despite being in status: Activated. 

As soon as I deactivate and then activate the business rule it works as intended in the Test environment. 

I have to do this after every single deploy and in every environment we deploy to. 
Pipeline is Dev->Test-Acceptance test ->Production and this rule exists in every environment by now but still require deactivation + activation to work properly. 


I've tried altering scope of the rule. Made sure that there are no similiar rule/another rule working on the same fields but there are none as far as I can find.

Has anybody else had this problem and if so, what did you do?
I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    Did you deploy the business rules by exporting them through the solution's import?
    These three business rules are on different entities?
    Check the solution layer of these three business rules or the host entity in target environment.
    Is there an unmanged layer on the imported solution that prevents the imported business rules from working.
    https://learn.microsoft.com/en-us/power-apps/maker/data-platform/solution-layers
    I hope you can mark my answer verified if it answer your question! If you have any questions, please feel free to contact me.
    Regards,
    Leah
     
     
  • Nilsbergstroom Profile Picture
    4 on at
    We use Azure Devops to import/publish solutions between our environments. We only use unmanaged solutions and 2/3 business rules are within the same (incident) and 1 of them are in another custom entity.

    As explained, all of these business rules work but require us to deactive and activate them after each deploy. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 146 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans