Date: February 16, 2025
Issue: User reports AI Credits usage data only shows up to December 2025, with no data in 2026
Status: ✅ Investigation Complete
Conclusion: No CoE Starter Kit code issues found - Issue is external
✅ The CoE Starter Kit code is NOT the problem.
After comprehensive analysis of the AI Credits collection mechanism:
- ✅ No hardcoded date limitations (2025, 2026, December, etc.)
- ✅ All date operations use dynamic functions
- ✅ No year-specific filters or validation rules
- ✅ Code will work indefinitely with any date
- File:
AdminSyncTemplatev4AIUsage-9BBE33D2-BCE6-EE11-904D-000D3A341FFF.json - Finding: Uses dynamic date functions only (
formatDateTime,startOfDay,addDays) - Filter:
LastXDays(PropertyName='msdyn_processingdate',PropertyValue=1)- relative, not absolute - Result: ✅ No date limitations
- File:
admin_AICreditsUsage/Entity.xml - Field:
admin_processingdate(Standard Dataverse Date type) - Result: ✅ No min/max date constraints
- Type: Microsoft system table (not part of CoE Starter Kit)
- Owner: Microsoft platform (auto-populated)
- Result:
⚠️ If this table isn't populated, CoE can't collect data
- Files:
Production_CoEDashboard_July2024.pbitand variants - Result: ✅ Connect to admin_AICreditsUsage directly, no date filters in CoE code
- Result: ✅ No related issues, no recent changes to AI Credits logic
The issue is most likely one of these:
- The
msdyn_aieventstable may not be populating data in 2026 - This is a Microsoft-managed table, not controlled by CoE Starter Kit
- User should verify source data exists and contact Microsoft Support if missing
- The sync flow may have stopped or be failing
- Connections may have expired
- User should check 28-day run history
- AI models may not be running in 2026
- If no usage, no data is generated
| Document | Purpose | Size |
|---|---|---|
| ANALYSIS-AI-CREDITS-2026-ISSUE.md | Comprehensive technical analysis | 210 lines |
| ISSUE-RESPONSE-AI-CREDITS-2026.md | User-facing troubleshooting guide | 182 lines |
| QUICKREF-AI-CREDITS-COLLECTION.md | Quick reference for AI Credits collection | 247 lines |
┌─────────────────────────────────────────────────────────┐
│ 1. Microsoft AI Builder runs models │
│ → Writes to msdyn_aievents table (per environment) │
└──────────────────┬──────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ 2. CoE Flow: Admin | Sync Template v4 (AI Usage) │
│ → Queries msdyn_aievents using LastXDays(1) │
│ → Runs daily per environment │
└──────────────────┬──────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ 3. CoE Storage: admin_AICreditsUsage table │
│ → Aggregates by user/date/environment │
│ → Stored in CoE environment │
└──────────────────┬──────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ 4. Power BI Reports │
│ → Connects to admin_AICreditsUsage │
│ → Displays trends and consumption │
└─────────────────────────────────────────────────────────┘
"$filter": "msdyn_creditconsumed gt 0 and (Microsoft.Dynamics.CRM.LastXDays(PropertyName='msdyn_processingdate',PropertyValue=1))"- ✅
LastXDays(1)is relative (yesterday) - ✅ No hardcoded dates
"item/admin_processingdate": "@formatDateTime(items('Apply_to_each'),'yyyy-MM-dd')"- ✅ Dynamic formatting
- ✅ No year validation
"where": "@greaterOrEquals(item()?['ProcessingDate'], startOfDay(items('Apply_to_each')))"
"where": "@less(item()?['ProcessingDate'], addDays(formatDateTime(items('Apply_to_each'), 'yyyy-MM-dd'), 1))"- ✅ Relative date operations
- ✅ No absolute date limits
- Navigate to CoE environment
- Open flow: Admin | Sync Template v4 (AI Usage)
- Check if it's turned ON
- Review 28-day run history:
- Are there runs in January 2026?
- Any errors or warnings?
- Output of "List AI Events" action - how many records?
- Go to an environment with AI Builder usage
- Query the msdyn_aievents table:
- Filter:
msdyn_processingdate >= 2026-01-01 - If NO records → Microsoft platform issue
- If records exist → Flow issue
- Filter:
- In CoE environment, query admin_AICreditsUsage
- Sort by
admin_processingdatedescending - What's the last date? Is it stuck at Dec 31, 2025?
- Verify AI Builder models are actively running in 2026
- Check if models are consuming credits (not idle)
- Verify proper licenses are assigned
- ✅ Provide ISSUE-RESPONSE-AI-CREDITS-2026.md
- ✅ Request information from diagnostic steps above
- ✅ Ask for screenshots of flow run history
- User should contact Microsoft Support
- Reference the
msdyn_aieventstable not populating - CoE Starter Kit cannot fix this (it's a Microsoft-managed table)
- Standard troubleshooting: connections, permissions, DLP policies
- Verify System Administrator privileges
- Check if flow is triggered for all environments
- ✅ Code is correct and will work with any date
- ✅ No bugs found
- ✅ No hardcoded limitations
- Add to TROUBLESHOOTING.md
- Create FAQ entry
- Consider enhanced error logging in flow
- Engage with Microsoft product team
- Watch for additional reports of same issue
- Check Microsoft service advisories
- Review AI Builder release notes for breaking changes
Bottom Line: The CoE Starter Kit AI Credits collection mechanism is functioning correctly and has no date limitations. The issue preventing 2026 data from appearing is external to the CoE Starter Kit, most likely:
⚠️ Microsoft'smsdyn_aieventstable not populating (platform issue)⚠️ Flow not running or encountering errors (configuration issue)⚠️ No AI Builder activity generating data (usage issue)
Action Required: User needs to diagnose which of these is the actual cause using the diagnostic steps provided.
ANALYSIS-AI-CREDITS-2026-ISSUE.md- Full technical analysisISSUE-RESPONSE-AI-CREDITS-2026.md- User troubleshooting guideQUICKREF-AI-CREDITS-COLLECTION.md- Quick referenceINVESTIGATION-SUMMARY-AI-CREDITS-2026.md- This summary
- Flow:
CenterofExcellenceCoreComponents/SolutionPackage/src/Workflows/AdminSyncTemplatev4AIUsage-*.json - Entity:
CenterofExcellenceCoreComponents/SolutionPackage/src/Entities/admin_AICreditsUsage/Entity.xml - Power BI:
CenterofExcellenceResources/Release/Collateral/CoEStarterKit/*.pbit
- CoE Starter Kit Docs: https://learn.microsoft.com/power-platform/guidance/coe/starter-kit
- AI Builder Credits: https://learn.microsoft.com/ai-builder/credit-management
- Dataverse API: https://learn.microsoft.com/power-apps/developer/data-platform/webapi/overview
Investigation Status: ✅ COMPLETE
Code Status: ✅ NO ISSUES FOUND
Next Action: User Diagnostics Required