Edit

pac analytics

(Preview) Retrieve and run Power Platform advisor recommendations and remediations.

Commands

Command Description
pac analytics execute-recommendation-action (Preview) Execute a recommended action on a set of recommendation resource(s).
pac analytics get-action-schema (Preview) Gets the schema for an action.
pac analytics get-recommendation-resources (Preview) Gets the list of resources for a recommendation for the tenant.
pac analytics get-recommendation-scenarios (Preview) Gets the list of recommendation scenario names for the tenant.
pac analytics get-recommendations (Preview) Gets the list of recommendations for the tenant.
pac analytics get-scenario-actions (Preview) Gets allowed actions for a recommendation.

pac analytics execute-recommendation-action

(Preview) Execute a recommended action on a set of recommendation resource(s).

Required Parameters for analytics execute-recommendation-action

--action-name

The name of the action to execute.

--action-parameters

The collection of parameters to carry out the action for a resource Provide the value as a JSON object.

--scenario

The name of the recommendation for which the action is triggered

pac analytics get-action-schema

(Preview) Gets the schema for an action.

Required Parameters for analytics get-action-schema

--action-name

The name of the action.

--scenario

The recommendation name.

Optional Parameters for analytics get-action-schema

--x-ms-api-version

The API version.

pac analytics get-recommendation-resources

(Preview) Gets the list of resources for a recommendation for the tenant.

Required Parameters for analytics get-recommendation-resources

--scenario

The recommendation name.

Optional Parameters for analytics get-recommendation-resources

--columns

Comma-separated list of response properties to include in table output. Use --json for the complete response.

--skip-token

Skip token for the next page of resources.

pac analytics get-recommendation-scenarios

(Preview) Gets the list of recommendation scenario names for the tenant.

Optional Parameters for analytics get-recommendation-scenarios

--x-ms-api-version

The API version.

pac analytics get-recommendations

(Preview) Gets the list of recommendations for the tenant.

Optional Parameters for analytics get-recommendations

--columns

Comma-separated list of response properties to include in table output. Use --json for the complete response.

--skip-token

Skip token for the next page of recommendations.

pac analytics get-scenario-actions

(Preview) Gets allowed actions for a recommendation.

Required Parameters for analytics get-scenario-actions

--scenario

The recommendation name.

Optional Parameters for analytics get-scenario-actions

--x-ms-api-version

The API version.

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview