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 :
Finance | Project Operations, Human Resources, ...
Answered

BP rules disabled

(0) ShareShare
ReportReport
Posted on by 4,131

Hi,

Is there any way to disable some (not all) of the BP rules when compiling the code?

Thanks,

I have the same question (0)
  • Blue Wang Profile Picture
    on at

    Hi Yuji,

    You can choose to cancel.

    54625.PNG

  • Yuji Profile Picture
    4,131 on at

    Thanks Blue,

    This is configured on Visual Studio. If I want to disable the BP rule when compiling from Azure DevOps Build Pipeline, how can I do that?

  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    Did you check VS> d365 > options > bp rules ? You can enable and disable rules from there  

  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    Nikolaos explained it that in his below blog

    community.dynamics.com/.../check-best-practices-during-check-in

  • Yuji Profile Picture
    4,131 on at

    I did follow Nikolaos article. But my question is how to disable some of the BP rules during automation build. From the VS, I have a UI to configure, but from Azure DevOps, I don't have the UI to configure.

  • Yuji Profile Picture
    4,131 on at

    I am thinking, can I log in Build Server and open VS, then disable rules? That will disable the rules when Azure DevOps trigger the build pipeline because Azure DevOps is actually using Build server to build.

  • Yuji Profile Picture
    4,131 on at

    One more question, in the VS, we can choose what kind of rules we would like to enable/disable. How can we specify the same thing in the *BPSuppressions.xml file?

  • Verified answer
    Blue Wang Profile Picture
    on at

    Hi Yuji,

    You can find an example of item with same Moniker from the BP warning you get in compilation list.

    6557.PNG

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans