Consultics.XrmToolBox.LicenseValidator 1.9.6

dotnet add package Consultics.XrmToolBox.LicenseValidator --version 1.9.6
                    
NuGet\Install-Package Consultics.XrmToolBox.LicenseValidator -Version 1.9.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Consultics.XrmToolBox.LicenseValidator" Version="1.9.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Consultics.XrmToolBox.LicenseValidator" Version="1.9.6" />
                    
Directory.Packages.props
<PackageReference Include="Consultics.XrmToolBox.LicenseValidator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Consultics.XrmToolBox.LicenseValidator --version 1.9.6
                    
#r "nuget: Consultics.XrmToolBox.LicenseValidator, 1.9.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Consultics.XrmToolBox.LicenseValidator@1.9.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Consultics.XrmToolBox.LicenseValidator&version=1.9.6
                    
Install as a Cake Addin
#tool nuget:?package=Consultics.XrmToolBox.LicenseValidator&version=1.9.6
                    
Install as a Cake Tool

License Validator for XrmToolBox

NuGet NuGet Downloads

An XrmToolBox plugin that validates Dynamics 365 / Dataverse user license assignments against actual security role rights, usage data and Microsoft Graph API information.

Features

  • License Audit – Compares assigned licenses with actual security role requirements per user
  • Usage Analysis – Scans entity-level usage across Dataverse tables to identify inactive users
  • Graph API Integration – Retrieves license and sign-in data from Microsoft Entra ID via Microsoft Graph
  • Optimization Recommendations – Flags underlicensed, overlicensed and users requiring review
  • Excel Export – Exports full audit results to Excel for further analysis and reporting
  • Configurable – Adjustable thresholds for inactivity periods, usage scanning depth and more

Screenshots

(coming soon)

Installation

  1. Open XrmToolBox → Tool Library
  2. Search for License Validator
  3. Click Install

Via NuGet

nuget install Consultics.XrmToolBox.LicenseValidator

Getting Started

  1. Connect to your Dynamics 365 / Dataverse environment
  2. Configure Graph API credentials (Tenant ID, Client ID, Client Secret)
  3. Select an audit mode (Rights only, Usage only, or Rights & Usage)
  4. Run the audit
  5. Export results to Excel

Requirements

  • XrmToolBox (latest version recommended)
  • Dynamics 365 / Dataverse environment
  • Microsoft Entra ID App Registration with the following Graph API permissions:
    • User.Read.All
    • AuditLog.Read.All
    • Organization.Read.All

Built With

Author

Martin Jäger – Consultics AG

License

This project is licensed under the MIT License – see the LICENSE file for details.

Changelog

1.6.0

  • Renamed plugin classes for consistency (LicenseValidatorPlugin, LicenseValidatorControl)
  • Added NuGet package for XrmToolBox Plugin Store
  • Added MIT license
  • Initial public release
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.9.6 225 9/11/2026
1.9.5 635 4/30/2026
1.9.1 134 4/30/2026

v1.9.6: Fixed RecommendedSku always showing "Needs Review" (capability names in DefaultRules.json now match the formatter). Added built-in SKU GUID lookup so ActualLicenses no longer shows Unmapped:skuid GUIDs when Directory.Read.All is missing. Apps without role restrictions are now included in the Apps column.