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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to search a string in the whole code base

(0) ShareShare
ReportReport
Posted on by

Hi  I am wondering is there easy way to find out what source files contain a specific string in the whole AOT?  The search bar in the Application Explorer in Visual studio doesn't seem to support that.

I have the same question (0)
  • Suggested answer
    Adria Ariste Profile Picture
    User Group Leader on at

    You can use the Search metadata with code:”your string” in the Dynamics 365 menu in VS.

  • Community Member Profile Picture
    on at

    Great, thx!

  • Verified answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    Use Medatadata search in VS . Also take a look at my blog below and see if it helps

    community.dynamics.com/.../find-references-in-dynamics-365-for-operations-using-powershell

  • Suggested answer
    Community Member Profile Picture
    on at

    This works very well.  Thank you!

  • Suggested answer
    Martin Dráb Profile Picture
    239,040 Most Valuable Professional on at

    Another alternative is simply searching the contents of files on disk (source code and metadata are stored in .xml files, which can be easily searched). It may be a better or worse option, depending on your particular needs.

    You can use various tools for that, including Powershell (Select-String cmdlet).

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans