Skip to content

Releases: PetrosFeleskouras/copilot-credit-consumption

Copilot Credit Consumption v2.0.0

Choose a tag to compare

@PetrosFeleskouras PetrosFeleskouras released this 25 Aug 10:25

Release Notes

Key Highlights & Changes

  • Modernized Licensing Routes: Migrated to api.powerplatform.com licensing routes using API version \2024-10-01.

  • Connector Consolidation & Cleanup: Reduced structure to three required connections; removed outdated references including \ccsync_webref.

  • Performance & Reliability Improvements:

    • Implemented 5,000-row source paging.

    • Added cross-page deduplication.

    • Configured sequential 500-row batch writes to Dataverse.

  • Schema Reliability: Inherits the negative-capacity schema fix from v1.0.1 to avoid sync issues.

  • Harness Diagnostics:

    • GitHub Copilot harness now reports feature \Process Agent\ and omits tool, LLM model, and knowledge source information.

    • The Standard harness continues to provide tool, LLM model, and knowledge source information.

  • Validation Achievements:

    • Completed clean 180-day run validation: 88/88 execution checks passed, processing 27,103 unique rows.

    • Maintained exact latest-day and 1,582-row peak-day parity, matching the capacity snapshot perfectly.

  • Access Control: Validated with delegated tenant-admin access; service-principal access remains unverified.

Upgrade Steps

  1. Match the solution type currently deployed (managed or unmanaged).

  2. Bind the three required connection references during deployment/import.

  3. Turn the primary flow on.

  4. Run the sync flow once.

Note: Unmanaged upgrades may retain the unused, obsolete legacy reference (\ccsync_webref). It can be manually cleaned up if needed.

Copilot Credit Consumption v1.0.1

Choose a tag to compare

@PetrosFeleskouras PetrosFeleskouras released this 21 Aug 16:21
2e3567e

Patch release fixing the daily sync flow failing when tenant capacity is over-consumed.

Fixed

  • The daily flow failed at Create_Capacity_Row with OpenApiOperationParameterValidationFailed whenever cat_available was negative (available capacity can legitimately go negative when a tenant over-consumes). The five cat_tenantcapacity decimal columns — cat_available, cat_allocated, cat_consumed, cat_entitled, cat_paygoconsumed — had MinValue = 0. Widened to -100000000000 so negative values are accepted. Verified: the run now completes Succeeded and cat_tenantcapacity populates.

Assets

  • CopilotCreditConsumption.zip — unmanaged (for customizing)
  • CopilotCreditConsumption_managed.zip — managed (clean install/uninstall)

Upgrade

Re-import over v1.0.0 — connection bindings and existing data are preserved (turn the flow back On if the import deactivates it). No data migration is needed; the change only relaxes a column minimum.

Copilot Credit Consumption v1.0.0

Choose a tag to compare

@PetrosFeleskouras PetrosFeleskouras released this 31 Jul 16:35

Importable Power Platform solution: a daily Power Automate flow syncs tenant Copilot Studio message-credit usage into Dataverse, surfaced in a Power Apps Code App dashboard. Download CopilotCreditConsumption_managed.zip (recommended, clean install/uninstall) or CopilotCreditConsumption.zip (unmanaged, for customizing), then follow the README deploy steps. Community sample, MIT.