Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Static Code Analysis in Dynamics 365

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Looking for a tool or any process using which we can do static code analysis for D365 code in Visual Studio IDE during development and automatically as part of CI/CD pipeline. I didn't find any plugins/addons for VS IDE or any library in which we can see all the rules for static code analysis.   

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    Temmy Wahyu Raharjo 2,914 on at
    RE: Static Code Analysis in Dynamics 365

    Hi, you may check an extension on XrmToolBox: https://powerappschecker.com/

    On PowerApps Build Tools also you can invoke it (for CI/CD process): docs.microsoft.com/.../devops-build-tool-tasks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Static Code Analysis in Dynamics 365

    Hello Nya,

    Sorry for not making it clear in the previous post.

    Actually, we are working on model-driven apps now(these apps we are building in Dynamics 365 instance) and those apps have to work along with the Customer Service Hub App of Dynamics 365(CRM).

    So I am looking for a solution(static code analysis) that will work for Dynamic's Plugins, Web Resources, Power Apps(if possible), Power Automate(if possible).

    Best Regards,

    Shreekant Sahu

  • Nya Profile Picture
    Nya 29,058 on at
    RE: Static Code Analysis in Dynamics 365

    Hi Shreekant

    Then you may try to post your issue to the Power Platform Community.

    This forum is mainly for discussing and solving issues related to the Dynamics application.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Static Code Analysis in Dynamics 365

    Hi Nya,

    We are not using Business Central.

    We are using the MS D365 Power Platform only and building our own model-driven applications.

    Best Regards,

    Shreekant

  • Nya Profile Picture
    Nya 29,058 on at
    RE: Static Code Analysis in Dynamics 365

    Hi,

    I'd like to confirm if you're using Business Central in Dynamics?

    If yes, please refer to: Using the Code Analysis Tool - Business Central | Microsoft Docs.

    Or you can re-post your issue to (+) Dynamics 365 Business Central - Forums, Blogs, Support for further help.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans