Stage 4 of 17

Stage 4 of 17

Process

The software licence lifecycle: 6 phases from purchase to exit. Agreement statuses, transition rules, and the roles responsible for each phase.

The Software Licence Lifecycle

Why Are We Doing This?

Before designing the data model, you need to understand the process the data supports. The lifecycle defines what statuses an agreement can have, what triggers a transition between statuses, and who is responsible at each stage. This prevents you from building a system that captures data but does not reflect how the organisation actually works.

Phase 1 — Purchase / Agreement

Active

Trigger

A new software agreement is signed or a purchase order is raised.

Activities

  1. 1.Helena Marsh or Tom Reeves approves the purchase.
  2. 2.Tom Reeves or Priya Mehta creates the agreement record in the system.
  3. 3.Agreement status is set to Active.
  4. 4.QuantityPurchased, UnitCost, BillingFrequency, StartDate, and RenewalDate are recorded.
  5. 5.AnnualisedCost is calculated automatically.

Roles: Helena Marsh (approval), Tom Reeves / Priya Mehta (data entry)

Phase 2 — Record Entitlement

Active

Trigger

Agreement record is created. Entitlement details are confirmed.

Activities

  1. 1.Product is linked to the agreement (or created if new).
  2. 2.Supplier is linked to the agreement (or created if new).
  3. 3.LicenceType is recorded (Per User, Per Device, etc.).
  4. 4.Owner is assigned — the person responsible for managing this agreement.
  5. 5.QuantityAvailable is automatically calculated as QuantityPurchased minus QuantityAllocated (initially = QuantityPurchased).

Roles: Tom Reeves / Priya Mehta (data entry)

Phase 3 — Allocate

Active (agreement), Active (allocation)

Trigger

A user requires a licence. A new employee joins, or an existing employee changes role.

Activities

  1. 1.James Okafor checks QuantityAvailable in the application.
  2. 2.If QuantityAvailable > 0: creates an allocation record (AllocatedTo, Department, AllocatedDate, AllocatedBy).
  3. 3.If QuantityAvailable = 0: raises a purchase request. Does not allocate until additional licences are purchased.
  4. 4.QuantityAllocated increases by 1. QuantityAvailable decreases by 1.
  5. 5.If QuantityAvailable falls to or below the threshold: automated notification sent to Tom Reeves and the agreement owner.

Roles: James Okafor (allocation), Tom Reeves (purchase approval)

Phase 4 — Monitor

Active (ongoing)

Trigger

Ongoing. Triggered by: employee departure, role change, or periodic review.

Activities

  1. 1.When an employee leaves: James Okafor sets the allocation Status = Inactive and records the DeallocationDate.
  2. 2.QuantityAllocated decreases by 1. QuantityAvailable increases by 1.
  3. 3.Tom Reeves reviews the dashboard monthly for over-allocated agreements and low-availability warnings.
  4. 4.Sandra Obi reviews the cost report quarterly for budget planning.

Roles: James Okafor (deallocation), Tom Reeves (monitoring), Sandra Obi (cost review)

Phase 5 — Review

Pending Renewal → Under Review

Trigger

90-day automated reminder. Agreement status changes to Pending Renewal.

Activities

  1. 1.Automated reminder sent to agreement owner and Tom Reeves at 90, 60, and 30 days.
  2. 2.Agreement owner reviews: current usage (QuantityAllocated), cost (AnnualisedCost), and business need.
  3. 3.Agreement status is updated to Under Review while the decision is being made.
  4. 4.Decision options: Renew (same terms), Renegotiate (different quantity or price), Reduce (fewer licences), Cancel.
  5. 5.Helena Marsh approves any agreement above £10,000 per year.

Roles: Agreement owner (review), Tom Reeves (oversight), Helena Marsh (approval for high-value)

Phase 6 — Renew / Change / Exit

Active (renewed) / Expired / Cancelled

Trigger

Review decision confirmed. Agreement reaches RenewalDate.

Activities

  1. 1.Renew: RenewalDate is updated. QuantityPurchased may be adjusted. Status returns to Active.
  2. 2.Renegotiate: New agreement record created. Old agreement status set to Expired.
  3. 3.Reduce: QuantityPurchased is reduced. Excess allocations must be deallocated first.
  4. 4.Cancel: All active allocations are deallocated. Status set to Cancelled. Users are notified.
  5. 5.Exit: Supplier is notified. Agreement status set to Expired. Data is retained for audit purposes.

Roles: Tom Reeves / Priya Mehta (data update), Helena Marsh (approval), James Okafor (deallocation)

Agreement Status Lifecycle

StatusDefinitionEntry conditionExit condition
ActiveAgreement is current and in useAgreement created, or renewed90 days before RenewalDate → Pending Renewal
Pending RenewalAgreement is within 90 days of renewalAutomated transition at 90 daysReview started → Under Review; or renewed → Active
Under ReviewAgreement is being reviewed for renewal decisionOwner starts review processDecision made → Active / Expired / Cancelled
ExpiredAgreement has passed its RenewalDate without renewalRenewalDate passed with no action; or replaced by new agreementCannot re-enter lifecycle. Retained for audit.
CancelledAgreement has been deliberately terminatedCancellation decision confirmedCannot re-enter lifecycle. Retained for audit.

Availability Calculation

The core calculation that drives the application

QuantityAllocated = CountRows(Filter(Allocations, AgreementID = thisAgreement.ID, Status = "Active"))

QuantityAvailable = QuantityPurchased - QuantityAllocated

If QuantityAvailable < 0 → Over-Allocated (compliance risk)

If QuantityAvailable ≤ Threshold → Low Availability (notification triggered)

Threshold Calculation

The default threshold is 10% of QuantityPurchased, with a minimum of 1. For an agreement with 100 licences, the threshold is 10. For an agreement with 5 licences, the threshold is 1 (not 0.5). The threshold can be overridden per agreement if needed.

Stage Complete — What You Now Have

  • ✓6 lifecycle phases with activities, triggers, and responsible roles
  • ✓5 agreement statuses with entry/exit conditions
  • ✓Availability calculation defined: QuantityPurchased − QuantityAllocated
  • ✓Threshold logic: 10% of QuantityPurchased, minimum 1
  • ✓Over-allocation defined as a compliance risk (QuantityAvailable < 0)

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project