/Dependency-Graph-BCExt

Small tool designed to create a graph showing installed extensions and their respective dependencies, all from the Business Central environment in which the extension is running.

Primary LanguageALMIT LicenseMIT

Dependency Graph

Small tool designed to create a graph showing installed extensions and their respective dependencies, all from the Business Central environment in which the extension is running. In addition, it allows you to preview and download the generated text to easily add it to the client's documentation in Markdown format.

Usage video:
https://youtu.be/PsgThQVQAw4

Very proud to be on Stefan Maron's Open Source Business Central Applications list:
https://stefanmaron.com/opensourcealprojects/

PS:
Although there are numerous more advanced tools available, this one has been created for the simple purpose of practice, but it could prove useful for other users.

Usage

Usage.gif

Previous configuration

Azure

Create App registrations

Supported account types:
Organization accounts only.
Redirect URI:
"Web" https://businesscentral.dynamics.com/OAuthLanding.htm
PortalAzure001

Create Client Secret

PortalAzure002

Assign API permissions (With Administrator consent)

API. ReadWrite.All
Automation.ReadWrite.All
PortalAzure003

Business Central

Create new record in Azure Active Directory Applications Indicating the application ID created in Azure.
Add D365 AUTOMATION and EXTEN MGT. -ADMIN to user permission sets.
Change status to Enabled
Grant consent
1AADBC

Dependency Graph Settings page

2DGSetup

  • App registrations - Azure
    Configuration of the Azure Registry ID required for operation.

  • App shapes inside the diagram
    Select which shape an application will be represented by its scope.

  • Include when generating the graph
    Features to include for chart generation:

    • Microsoft applications.
    • Link text between dependencies.
  • Last time it was generated
    Historical data.

  • Dependency graph
    Action to access the data generation page for the graph.