pac analytics - Set up the export of data to App Insights from the Power Platform Admin Center using PAC CLI #1050
jbuenoliveira
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
The Power Platform Admin Center currently allows data export from Dataverse, Power Automate, Power Apps (preview), and Dynamics Customer Service (preview) to Application Insights. However, setting this up via CLI is currently not possible.
Read more: Export data to Application Insights
Idea
It would be ideal if we could create and delete data export configurations for App Insights using PAC CLI.
This feature would greatly enhance the automation of environment provisioning.
Commands
pac analytics
Usage:
pac analytics [export-app-insights] [export-data-lake]
export-app-insights
export-data-lake
pac analytics export-app-insights
Usage:
pac analytics export-app-insights [list] [create] [delete] [show]
list
create
delete
show
pac analytics export-app-insights list
Usage:
pac analytics export-app-insights list [--json]
--json
API Details
API URL:
[GET] https://emea.csanalytics.powerplatform.microsoft.com/api/v2/connections
pac analytics export-app-insights create
Usage:
pac analytics export-app-insights create [--package-name] [--environment] [--subscription-id] [--resource-group-game] [--resource-name] [--settings-file]
--package-name
--environment
--subscription-id
--resource-group-game
--resource-name
--settings-file
Settings File (*.json)
Dataverse diagnostics and performance:
Power Automate:
Dynamics Customer Service:
Power Apps:
API Details
API URL:
[POST] https://emea.csanalytics.powerplatform.microsoft.com/api/v2/sinks/appinsights/connections
Sample Payload:
pac analytics export-app-insights delete
Usage:
pac analytics export-app-insights delete [--package-name]
---package-name
API Details
API URL:
[DELETE] https://emea.csanalytics.powerplatform.microsoft.com/api/v2/sinks/AppInsights/sources/AppInsight/connection/[environmentId]
pac analytics export-app-insights show
Usage:
pac analytics export-app-insights show [--package-name] [--json]
--package-name
--json
Further deep dives are encouraged.
Beta Was this translation helpful? Give feedback.
All reactions