XrmToolBox & FetchXML Builder – Complete Setup Guide (Dataverse)

XrmToolBox is a must-have utility for Microsoft Dataverse and Dynamics 365 developers. It provides a collection of powerful community-driven tools that help with development, administration, troubleshooting, and data analysis.
In this blog, we will walk through installing XrmToolBox, understanding its interface, and setting up FetchXML Builder using Microsoft login.
Step 1: Download XrmToolBox
Open the official website
Download the latest XrmToolBox package
The download will be a ZIP file
Step 2: Extract and Open XrmToolBox
Extract the downloaded ZIP file
Open the extracted folder
Locate XrmToolBox.exe
Double-click to launch the application
No installation is required. XrmToolBox runs as a portable application.
Step 3: XrmToolBox Home Screen Overview
After opening XrmToolBox, you will see the welcome screen.
Main Areas Explained
Start Page
Welcome message
Recently used tools
Quick actions
Tools
Shows all installed tools
Used to open tools like FetchXML Builder
Tool Library
Central marketplace for all tools
Install, update, or uninstall tools
Step 4: Open Tool Library
Click Tool Library from the top menu
The Tool Library lists all available tools created by the community
Tool Library Features
Search tools by name
Sort tools by popularity or name
View tool details such as version, author, and downloads
Install or uninstall tools
🔹 Step 5: Install FetchXML Builder
In the Tool Library search box, type FetchXML Builder
Select FetchXML Builder by Jonas Rapp
Click Install
Wait for the installation to complete
If already installed, the button will show Uninstall
Step 6: Open FetchXML Builder
Go to the Tools tab
Select FetchXML Builder
You’ll be prompted with:
“Do you want to connect to an organization first?”Click Yes
Step 7: Create a New Connection
The Connections window opens
Click + New
Select Microsoft Login Control
Why Microsoft Login Control?
Uses modern OAuth authentication
Supports MFA
Recommended for Dataverse and Power Platform environments
Step 8: Login Using Microsoft Account
Keep Use default configuration selected
Click Open Microsoft Login Control
Choose Office 365
Click Login
Enter your Microsoft credentials
Step 9: Select Power Platform Environment
After successful login:
XrmToolBox displays all environments you have access to
Select the required Dataverse environment
Continue to validate the connection
Step 10: Save the Connection
Once validation is successful, you’ll see Connection validated!
Enter a Connection Name (example:
Dev Environment)(Optional) Set environment highlight or browser profile
Click Finish
Step 11: Launch FetchXML Builder
If prompted with “No connection selected”, click OK
FetchXML Builder opens with the selected environment
You can now start building FetchXML queries
What You Can Do with FetchXML Builder
Build FetchXML queries visually
Join related Dataverse tables
Apply filters and conditions
Execute and test queries
Generate FetchXML, C#, JavaScript, and Web API queries
Debug views and complex data issues
Conclusion
XrmToolBox with FetchXML Builder is an essential setup for Power Platform and Dataverse developers. It simplifies querying, debugging, and understanding Dataverse data, saving significant development time.
If you work with Model-Driven Apps, Power Automate, or Dataverse APIs, this tool should be part of your daily workflow.


















