Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions plugins/MicrosoftCopilot/v1/configValidation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"steps": [
{
"displayName": "Licence access",
"dataStream": {
"name": "validationLicences"
},
"required": true,
"success": "Successfully read licences.",
"error": "Cannot read licences. Check the tenant ID, client ID and secret, and grant the 'LicenseAssignment.Read.All' application permission in Microsoft Entra ID."
},
{
"displayName": "Usage report access",
"dataStream": {
"name": "validationUsageReports"
},
"required": false,
"success": "Successfully read Microsoft 365 Copilot usage reports.",
"error": "Cannot read Microsoft 365 Copilot usage reports. Grant the 'Reports.Read.All' application permission in Microsoft Entra ID."
},
{
"displayName": "Copilot Studio access",
"dataStream": {
"name": "validationPowerPlatform"
},
"required": false,
"success": "Successfully read Copilot Studio credit capacity.",
"error": "Cannot read Copilot Studio credit capacity. Register the app as a Power Platform management app, as described in the setup guide."
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"displayName": "Agent is owned by Copilot User",
"source": {
"types": "Agent"
},
"target": {
"types": "User"
},
"conditions": [
{
"sourceProperty": "ownerIds",
"operator": "equals",
"targetProperty": "entraObjectId"
}
],
"labels": {
"forward": "is owned by",
"reverse": "owns"
}
}
23 changes: 23 additions & 0 deletions plugins/MicrosoftCopilot/v1/custom_types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[
{
"name": "User",
"sourceType": "User",
"icon": "user",
"singular": "Copilot User",
"plural": "Copilot Users"
},
{
"name": "Environment",
"sourceType": "Environment",
"icon": "layer-group",
"singular": "Environment",
"plural": "Environments"
},
{
"name": "Agent",
"sourceType": "Agent",
"icon": "robot",
"singular": "Agent",
"plural": "Agents"
}
]
116 changes: 116 additions & 0 deletions plugins/MicrosoftCopilot/v1/dataStreams/adoptionSummary.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"name": "adoptionSummary",
"displayName": "Copilot Adoption",
"description": "Enabled and active Copilot users by app over the chosen period",
"tags": [
"Adoption",
"Usage"
],
"baseDataSourceName": "httpRequestUnscoped",
"config": {
"httpMethod": "get",
"endpointPath": "beta/copilot/reports/getMicrosoft365CopilotUserCountSummary(period='{{period || 'D28'}}')",
"postRequestScript": "adoptionSummary.js"
},
"matches": "none",
"timeframes": false,
"ui": [
{
"type": "radio",
"name": "period",
"label": "Period",
"defaultValue": "D28",
"options": [
{
"value": "D7",
"label": "7 days"
},
{
"value": "D28",
"label": "28 days"
},
{
"value": "D90",
"label": "90 days"
},
{
"value": "D180",
"label": "180 days"
}
]
}
],
"metadata": [
{
"name": "app",
"displayName": "App",
"shape": "string",
"role": "label"
},
{
"name": "enabledUsers",
"displayName": "Enabled users",
"shape": [
"number",
{
"decimalPlaces": 0
}
]
},
{
"name": "activeUsers",
"displayName": "Active users",
"shape": [
"number",
{
"decimalPlaces": 0
}
]
},
{
"name": "activeRate",
"displayName": "Active rate",
"shape": [
"percent",
{
"decimalPlaces": 1
}
]
},
{
"name": "totalPrompts",
"displayName": "Total prompts",
"shape": [
"number",
{
"decimalPlaces": 0
}
]
},
{
"name": "averagePrompts",
"displayName": "Average prompts per user",
"shape": [
"number",
{
"decimalPlaces": 1
}
]
},
{
"name": "periodDays",
"displayName": "Period (days)",
"shape": [
"number",
{
"decimalPlaces": 0
}
]
},
{
"name": "reportRefreshDate",
"displayName": "Report refresh date",
"shape": "date"
}
]
}
87 changes: 87 additions & 0 deletions plugins/MicrosoftCopilot/v1/dataStreams/adoptionTrend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"name": "adoptionTrend",
"displayName": "Copilot Adoption Trend",
"description": "Daily enabled and active Copilot users by app",
"tags": [
"Adoption",
"Usage"
],
"baseDataSourceName": "httpRequestUnscoped",
"config": {
"httpMethod": "get",
"endpointPath": "beta/copilot/reports/getMicrosoft365CopilotUserCountTrend(period='{{period || 'D28'}}')",
"postRequestScript": "adoptionTrend.js"
},
"matches": "none",
"timeframes": false,
"ui": [
{
"type": "radio",
"name": "period",
"label": "Period",
"defaultValue": "D28",
"options": [
{
"value": "D7",
"label": "7 days"
},
{
"value": "D28",
"label": "28 days"
},
{
"value": "D90",
"label": "90 days"
},
{
"value": "D180",
"label": "180 days"
}
]
}
],
"metadata": [
{
"name": "reportDate",
"displayName": "Date",
"shape": "date",
"role": "timestamp"
},
{
"name": "app",
"displayName": "App",
"shape": "string",
"role": "label"
},
{
"name": "enabledUsers",
"displayName": "Enabled users",
"shape": [
"number",
{
"decimalPlaces": 0
}
]
},
{
"name": "activeUsers",
"displayName": "Active users",
"shape": [
"number",
{
"decimalPlaces": 0
}
]
},
{
"name": "promptsSubmitted",
"displayName": "Prompts submitted",
"shape": [
"number",
{
"decimalPlaces": 0
}
]
}
]
}
Loading
Loading