Releases: PetrosFeleskouras/copilot-credit-consumption
Release list
Copilot Credit Consumption v2.0.0
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
-
Match the solution type currently deployed (managed or unmanaged).
-
Bind the three required connection references during deployment/import.
-
Turn the primary flow on.
-
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
Patch release fixing the daily sync flow failing when tenant capacity is over-consumed.
Fixed
- The daily flow failed at
Create_Capacity_RowwithOpenApiOperationParameterValidationFailedwhenevercat_availablewas negative (available capacity can legitimately go negative when a tenant over-consumes). The fivecat_tenantcapacitydecimal 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 andcat_tenantcapacitypopulates.
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
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.