Exercise - Analyze and validate a Business Central app

Completed

In this exercise, you analyze an evidence packet for a sample Business Central app. You map its dependencies, classify its app type, evaluate technical validation findings, and make a readiness decision.

Review the solution requirements

Contoso Shipping Status is an AL extension that adds shipment tracking to Business Central. Users open a Shipment Status page in Business Central to request and review tracking updates. The extension calls an external logistics service, stores the latest status, and adds a Tracking status field to a standard shipment page.

The publisher also maintains Contoso Licensing Library. Three unrelated Contoso add-on apps use this library for entitlement checks. Customers don't select or use the library on its own, and it has no separate Microsoft Marketplace offer.

Your task is to determine whether the package design fits these requirements and whether the shipping app is technically ready for submission.

Task 1: Map the dependencies

Review this excerpt from the shipping app's app.json manifest:

{
  "id": "c76a75b8-fd8b-4eaa-a147-222b2ac14fd0",
  "name": "Contoso Shipping Status",
  "publisher": "Contoso",
  "version": "2.0.0.0",
  "application": "27.0.0.0",
  "idRanges": [
    {
      "from": 71000,
      "to": 71049
    }
  ],
  "dependencies": [
    {
      "id": "66a7c313-3242-47b5-bff5-b492dd1d95f2",
      "name": "Contoso Licensing Library",
      "publisher": "Contoso",
      "version": "2.0.0.0"
    }
  ],
  "runtime": "16.0"
}

The project uses standard sales shipment objects from the Base Application, email capabilities from the System Application, and the public CheckEntitlement procedure from Contoso Licensing Library. Contoso Licensing Library depends on the System Application and doesn't depend on the shipping app.

Create a dependency map with one row for each component. Record the component's responsibility, layer or role, and direct dependencies. Then answer these questions:

  1. Do all dependencies point to the same layer or a lower layer?
  2. Does the evidence show a circular dependency?
  3. Which app owns the public contract for entitlement checks?
  4. What minimum version of the licensing library does the shipping app require?

The dependency direction is valid when the shipping extension depends on the Base Application, System Application, and library, while none of those lower-level components depends on the shipping extension.

Task 2: Classify both apps

Classify Contoso Shipping Status and Contoso Licensing Library. Support each classification with evidence from the scenario.

For the shipping app, consider where users work, where the additional business experience appears, and whether the solution requires substantial AL code. Although the extension calls an external service, users work on a page added to Business Central, and the app adds a field, storage, and processing logic. These characteristics support an add-on app classification rather than a connect app classification.

For the licensing app, consider reuse and distribution. It supplies shared code to several apps, has no independent customer experience, and has no Marketplace offer. These characteristics support a library app classification rather than a dependency app classification.

Record the distribution consequence of each decision. The shipping app is the customer-facing offer. The service resolves and installs the library through the dependency declared in the shipping app's manifest.

Task 3: Evaluate the validation evidence

The development team provides these results:

Evidence Result
AppSourceCop AS0011: Field Tracking Status has DataClassification = ToBeClassified.
CodeCop No errors.
Permission test Setup succeeds only when the test user has the SUPER permission set.
Package check The .app package is signed and isn't a runtime package.
Dependency check Contoso Licensing Library version 2.0.0.0 is available in the target area.
Install test Publish, synchronize, install, uninstall, and reinstall succeed in a Business Central 27.0 sandbox.
Upgrade test Upgrade from version 1.5.0.0 fails because no upgrade code moves existing tracking data to the new table.

For each result, mark pass, blocker, or needs more evidence. Use the current technical validation checklist as the decision standard.

Your review should identify at least these blockers:

  • The Tracking Status field uses ToBeClassified.
  • Basic setup requires SUPER permissions.
  • The upgrade from the supported previous version fails.

A clean CodeCop result doesn't override AppSourceCop findings or failed lifecycle tests. The successful clean installation also doesn't prove that an upgrade succeeds.

The package and dependency checks pass for the stated target, but the evidence covers only one Business Central version and one target area. If the offer targets others, mark those combinations as needs more evidence until the team tests them.

Task 4: Make the readiness decision

Complete a decision record with these columns:

Requirement Evidence Status Required action
Data classification AppSourceCop AS0011 Blocker Assign the correct classification and rerun AppSourceCop.
Least-privilege setup Setup requires SUPER Blocker Update permission sets and retest with a non-SUPER user.
Upgrade Upgrade from 1.5.0.0 fails Blocker Add and test upgrade code that preserves tracking data.
Package format Signed, non-runtime package Pass Retain the package evidence.
Installation lifecycle All clean-install operations succeed Pass Retain the sandbox test log.

Record a no-go recommendation. The app fails mandatory requirements, so the publisher must remediate the three blockers before preparing the submission. After remediation, the team reruns the analyzers and the complete lifecycle tests and adds evidence for every targeted release and area.

Your final assessment should include:

  • A valid application-layer and dependency map.
  • An add-on classification for Contoso Shipping Status.
  • A library classification for Contoso Licensing Library.
  • A list of three confirmed blockers.
  • A no-go recommendation with a remediation action for each blocker.

The decision covers technical readiness only. Microsoft Marketplace account configuration, offer setup, and listing review remain outside this exercise.