API access and integration with Microsoft Partner Center for managing partner data
The TrainingCompletions and MSLearn datasets exposed via the legacy insights/v1/mpn/ScheduledDataset Partner Center API are not documented in the provided context as currently supported. The only Partner Center insights APIs shown are the newer analytics and report-execution APIs.
From the available documentation, the supported programmatic access pattern for Partner Center insights is now:
- Use the Marketplace analytics APIs to work with datasets and reports:
- Dataset pull APIs (for available datasets and schema):
-
Get all datasets– returns the list of available datasets and their columns, metrics, and time ranges.
-
- Query management APIs (to define what data to pull):
-
Create Report Query -
GET Report Queries -
DELETE Report Queries -
TRY Report Queries
-
- Report management APIs (to schedule and manage extractions):
-
Create Report -
Get Report -
Update Report -
Delete Report -
Pause Report Executions -
Resume Report Executions
-
- Report execution pull APIs (to retrieve generated data):
-
Get Report Executions– gets all executions for a report.
-
- Dataset pull APIs (for available datasets and schema):
- The documentation does not list TrainingCompletions or MSLearn as available datasets, nor does it describe any role requirement (such as Executive Report Viewer) for accessing employee certification/training data specifically. Only generic analytics access patterns are described.
- For employee certification and training data, the context instead documents a separate Learn Organizational Reporting service, which exposes tenant-level learning and certification data via datasets such as:
- Certifications – contains information about certifications earned by users in the tenant (including transcript name, source UID, and date fields like
CertificationStartDate,CertificationEndDate, etc.). - Progress – contains XP/points and progress data for learning content.
insights/v1/mpn/ScheduledDataset. - Certifications – contains information about certifications earned by users in the tenant (including transcript name, source UID, and date fields like
- The context does not specify the exact roles/permissions required to call the Learn Organizational Reporting APIs or the Partner Center analytics APIs, nor any recent role changes. It only describes the API surface and the data dictionary for the Learn Organizational Reporting service.
Based on the provided information:
- No supported method is documented here for continuing to use
insights/v1/mpn/ScheduledDatasetwith TrainingCompletions/MSLearn. - The documented, supported replacement for tenant-level certification and training data is the Learn Organizational Reporting service and its Certifications and Progress datasets.
For implementation:
- Use the Partner Center analytics APIs for marketplace/partner analytics scenarios.
- Use Learn Organizational Reporting datasets for employee certification and training reporting.
References: