About Powerplatform
Powerplatform is an MCP server published by michsob in the AI category: powerPlatform Model Context Protocol server. Conduid read 71 tools from its source: add-security-role-privileges, add-solution-component, cancel-flow-run, check-component-dependencies, check-delete-eligibility, check-solution-dependencies and 65 more. It is published to npm as powerplatform-mcp and starts with npx.
The repository has 45 stars and 16 forks, and its last commit was on 25 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include powerplatform, dynamics and dataverse.
Install
claude mcp add powerplatform -- npx -y powerplatform-mcpnpx -y powerplatform-mcpgit clone https://github.com/michsob/powerplatform-mcpTools (71)
add-security-role-privilegesAppend privileges to a role (`AddPrivilegesRole` — leaves existing privileges intact)| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| privileges * | array | Privileges to add |
| roleId * | string | ID (GUID) of the role |
add-solution-componentAdd a component to a solution; a table all of it, its metadata or a shell (`include`), and says how the solution holds it| Parameter | Type | Description |
|---|---|---|
| addRequiredComponents | boolean | Also add required dependencies (default: false) |
| componentId * | string | The GUID of the component to add (a table's MetadataId for componentType 1) |
| componentType * | number | Component type code (1=Entity, 2=Attribute, 9=OptionSet, 26=View, 29=Process, 60=SystemForm, 61=WebResource, 80=ModelDrivenApp, 90=PluginType, 91=PluginAssembly, 92=SdkMessageProcessingStep, 93=SdkMessageProcessingStepImage, 300=CanvasApp, 380=EnvironmentVariableDefinition, etc.) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| include | string | Tables only: 'all' its columns, forms and views (default), 'metadata' the table's definition without them, or 'shell' only a container for the ones added one by one |
| solutionUniqueName * | string | The unique name of the target solution |
cancel-flow-runCancel a running/waiting run| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| flowId * | string | The workflow ID (GUID) |
| runId * | string | The flow run ID |
check-component-dependenciesDependencies blocking deletion from the environment| Parameter | Type | Description |
|---|---|---|
| componentId * | string | The GUID of the component to check |
| componentType * | number | The component type number (e.g., 1=Entity, 9=OptionSet, 29=Workflow, 80=ModelDrivenApp, 90=PluginType, 91=PluginAssembly, 92=SdkMessageProcessingStep) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
check-delete-eligibilityCheck if a component can be deleted| Parameter | Type | Description |
|---|---|---|
| componentId * | string | The GUID of the component to check |
| componentType * | number | The component type number (e.g., 1=Entity, 9=OptionSet, 29=Workflow, 80=ModelDrivenApp, 90=PluginType, 91=PluginAssembly, 92=SdkMessageProcessingStep) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
check-solution-dependenciesComponents a solution's components require but the solution does not include (`RetrieveMissingDependencies`)| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| solutionUniqueName * | string | The unique name of the solution to check |
clone-security-roleClone a role with its privileges. Uses `CloneAsRole` with a create-then-copy fallback when the action isn't available| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| newName | string | Optional name for the new role (defaults to '<source> (copy)' on fallback path) |
| solutionUniqueName | string | Solution unique name to land the new role in |
| sourceRoleId * | string | ID (GUID) of the role to clone from |
| targetBusinessUnitId | string | Business unit ID for the new role. Defaults to root BU. |
create-custom-apiCreate a Custom API definition| Parameter | Type | Description |
|---|---|---|
| allowedCustomProcessingStepType * | number | Processing step type: 0=None, 1=AsyncOnly, 2=SyncAndAsync |
| bindingType * | number | Binding type: 0=Global, 1=Entity, 2=EntityCollection |
| boundEntityLogicalName | string | Bound entity logical name (required when bindingType is 1 or 2) |
| description | string | Description |
| displayName * | string | Display name |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| executePrivilegeName | string | Privilege a caller must hold to run the API (e.g. prvCreateAccount); checked against the environment |
| isFunction * | boolean | Whether this is a function (true) or action (false) |
| isPrivate * | boolean | Whether this Custom API is private |
| name * | string | Logical name |
| pluginTypeId | string | Plugin type ID to bind (runs at MainOperation) |
| pluginTypeName | string | Plugin type class name to look up and bind (e.g. Contoso.Plugins.Accounts.SyncAccounts) |
| solutionName | string | Solution unique name to add the component to |
| uniqueName * | string | Unique name for the Custom API |
create-custom-api-request-parameterCreate a request parameter| Parameter | Type | Description |
|---|---|---|
| customApiId * | string | The Custom API ID to link to |
| description | string | Description |
| displayName * | string | Display name |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| isOptional | boolean | Whether this parameter is optional (default: false) |
| logicalEntityName | string | Logical entity name (required for Entity, EntityCollection, EntityReference types) |
| name * | string | Logical name |
| solutionName | string | Solution unique name to add the component to |
| type * | number | Type code: 0=Boolean, 1=DateTime, 2=Decimal, 3=Entity, 4=EntityCollection, 5=EntityReference, 6=Float, 7=Integer, 8=Money, 9=Picklist, 10=String, 11=StringArray, 12=Guid |
| uniqueName * | string | Unique name for the request parameter |
create-custom-api-response-propertyCreate a response property| Parameter | Type | Description |
|---|---|---|
| customApiId * | string | The Custom API ID to link to |
| description | string | Description |
| displayName * | string | Display name |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| isOptional | boolean | Whether this property is optional (default: false) |
| logicalEntityName | string | Logical entity name (required for Entity, EntityCollection, EntityReference types) |
| name * | string | Logical name |
| solutionName | string | Solution unique name to add the component to |
| type * | number | Type code: 0=Boolean, 1=DateTime, 2=Decimal, 3=Entity, 4=EntityCollection, 5=EntityReference, 6=Float, 7=Integer, 8=Money, 9=Picklist, 10=String, 11=StringArray, 12=Guid |
| uniqueName * | string | Unique name for the response property |
create-entity-alternate-keyCreate an alternate key| Parameter | Type | Description |
|---|---|---|
| displayName * | string | The display name for the key |
| entityName * | string | The logical name of the entity |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| keyAttributes * | array | Array of attribute logical names that make up the key |
| languageCode | number | Language code (LCID) of the display name label, e.g. 1033 for English. Defaults to the organization's base language. |
| schemaName * | string | The schema name for the key |
| solutionName | string | Solution unique name to add the component to |
create-entity-string-attributeCreate a Single Line of Text column| Parameter | Type | Description |
|---|---|---|
| description | string | Description for the attribute |
| displayName * | string | The display name for the attribute |
| entityName * | string | The logical name of the entity |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| languageCode | number | Language code (LCID) of the labels, e.g. 1033 for English. Defaults to the organization's base language. |
| maxLength | number | Maximum text length (default: 100) |
| requiredLevel | string | Required level (default: None) |
| schemaName * | string | The schema name for the new attribute (e.g. contoso_externalid) |
| solutionName | string | Solution unique name to add the component to |
create-environment-variableCreate an environment variable definition| Parameter | Type | Description |
|---|---|---|
| defaultValue | string | Default value |
| description | string | Description |
| displayName * | string | The display name |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| schemaName * | string | The schema name (e.g. contoso_ApiBaseUrl) |
| solutionName | string | Solution unique name to add the component to |
| type * | string | The variable type |
create-plugin-stepRegister a plugin step| Parameter | Type | Description |
|---|---|---|
| configuration | string | Unsecure configuration string |
| description | string | Step description |
| entityName | string | Logical name of the step's table: its filter for the message is looked up (instead of sdkMessageFilterId) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| filteringAttributes | array | Update steps only: the columns whose change runs the step |
| mode * | number | Execution mode: 0=Synchronous, 1=Asynchronous |
| name * | string | Step name |
| pluginTypeId * | string | GUID of the plugin type to execute |
| rank | number | Execution order (default: 1) |
| sdkMessageFilterId | string | GUID of the SDK message filter (entity filter) |
| sdkMessageId * | string | GUID of the SDK message (e.g. from get-sdk-message) |
| solutionName | string | Solution unique name to add the component to |
| stage * | number | Execution stage: 10=PreValidation, 20=PreOperation, 40=PostOperation |
| supportedDeployment | number | 0=ServerOnly, 1=OfflineOnly, 2=Both (default: 0) |
create-security-roleCreate a new role (defaults to root BU); optional `solutionUniqueName` adds it to a solution in one step| Parameter | Type | Description |
|---|---|---|
| businessUnitId | string | Business unit ID (GUID). Defaults to the organization's root BU when omitted. |
| description | string | Optional role description |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| name * | string | Role display name |
| solutionUniqueName | string | Solution unique name to land the role in (uses MSCRM.SolutionUniqueName header) |
create-web-resourceUpload a new web resource| Parameter | Type | Description |
|---|---|---|
| content * | string | The base64-encoded content of the web resource |
| description | string | Description of the web resource |
| displayName * | string | The display name of the web resource |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| name * | string | The name of the web resource (e.g. 'prefix_/scripts/main.js') |
| solutionName | string | Solution unique name to add the component to |
| webResourceType * | number | Web resource type (1=HTML, 2=CSS, 3=JavaScript, 4=XML, 5=PNG, 6=JPG, 7=GIF, 8=Silverlight, 9=XSL, 10=ICO, 11=SVG, 12=RESX) |
delete-plugin-stepDelete a plugin step, with its images| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| stepId * | string | GUID of the step (sdkmessageprocessingstepid) |
delete-security-roleDelete a role (destructive — requires `confirm: true`)| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true to actually delete the role |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| roleId * | string | ID (GUID) of the role to delete |
export-solutionExport solution (base64)| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| managed | boolean | Export as managed solution (default: false) |
| solutionName * | string | The unique name of the solution to export |
get-all-plugin-stepsAll SDK message processing steps| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| includeDisabled | boolean | Include disabled steps (default: true) |
| maxRecords | number | Maximum records (default: 500) |
get-business-ruleBusiness rule with XAML| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| workflowId * | string | The workflow ID (GUID) of the business rule |
get-business-rulesList business rules| Parameter | Type | Description |
|---|---|---|
| activeOnly | boolean | Only return activated business rules (default: false) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| maxRecords | number | Maximum number of records to retrieve (default: 100) |
get-connection-referencesConnection references| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| hasConnection | boolean | Filter to connection references that have (true) or lack (false) a connection set |
| inactive | boolean | Filter to inactive connection references (statecode ne 0) |
| managedOnly | boolean | Only return managed connection references (default: false) |
| maxRecords | number | Maximum number of records to return (default: 100) |
get-custom-apiGet a Custom API by unique name| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| uniqueName * | string | The unique name of the Custom API |
get-custom-api-request-parametersList request parameters| Parameter | Type | Description |
|---|---|---|
| customApiId * | string | The Custom API ID |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
get-custom-api-response-propertiesList response properties| Parameter | Type | Description |
|---|---|---|
| customApiId * | string | The Custom API ID |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
get-custom-apisList Custom API definitions| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| includeManaged | boolean | Include managed Custom APIs (default: false) |
| maxRecords | number | Maximum number of records to return (default: 100) |
get-entity-attributeGet a specific attribute| Parameter | Type | Description |
|---|---|---|
| attributeName * | string | The logical name of the attribute |
| entityName * | string | The logical name of the entity |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
get-entity-attributesList all attributes/fields| Parameter | Type | Description |
|---|---|---|
| entityName * | string | The logical name of the entity |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
get-entity-keysList alternate keys on an entity| Parameter | Type | Description |
|---|---|---|
| entityName * | string | The logical name of the entity |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
get-entity-metadataGet entity metadata| Parameter | Type | Description |
|---|---|---|
| entityName * | string | The logical name of the entity |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
get-entity-plugin-pipelinePlugins executing on an entity| Parameter | Type | Description |
|---|---|---|
| entityName * | string | The logical name of the entity |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| includeDisabled | boolean | Include disabled steps (default: false) |
| messageFilter | string | Filter by specific message (e.g., 'Create', 'Update', 'Delete') |
get-entity-relationshipsGet 1:N and N:N relationships| Parameter | Type | Description |
|---|---|---|
| entityName * | string | The logical name of the entity |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
get-environment-variablesEnvironment variable definitions + values, with the effective value (credential values masked)| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| managedOnly | boolean | Only return managed environment variables (default: false) |
| maxRecords | number | Maximum number of records to return (default: 100) |
get-flow-definitionFull definition or parsed summary| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| flowId * | string | The workflow ID (GUID) |
| summary | boolean | Return a parsed summary instead of the full definition (default: false) |
get-flow-inventoryLightweight flow inventory| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| maxRecords | number | Maximum flows to return (default: 500) |
get-flow-run-detailsRun details with action-level errors| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| flowId * | string | The workflow ID (GUID) |
| runId * | string | The flow run ID (Flow API run name or Dataverse flowrunid GUID) |
get-flow-runsFlow run history| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| flowId * | string | The workflow ID (GUID) |
| maxRecords | number | Maximum number of runs to return (default: 50, max: 250) |
| startedAfter | string | Only return runs started after this date (ISO 8601) |
| startedBefore | string | Only return runs started before this date (ISO 8601) |
| status | string | Filter by status: Succeeded, Failed, Running, Waiting, Cancelled |
get-flowsList cloud flows (smart filtering)| Parameter | Type | Description |
|---|---|---|
| activeOnly | boolean | Only return activated flows (default: false) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| excludeCopilotSales | boolean | Exclude Copilot for Sales flows (default: true) |
| excludeCustomerInsights | boolean | Exclude Customer Insights flows (default: true) |
| excludeSystem | boolean | Exclude SYSTEM-modified flows (default: true) |
| maxRecords | number | Maximum number of flows to return (default: 25) |
| nameContains | string | Filter flows by name (contains match) |
get-global-option-setGet a global option set definition| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| optionSetName * | string | The name of the global option set |
get-ootb-workflowsBackground, BPFs, actions, on-demand| Parameter | Type | Description |
|---|---|---|
| categories | array | Workflow categories to include. 0=Background, 1=On-Demand, 2=Business Rule, 3=Action, 4=BPF |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| maxRecords | number | Maximum records (default: 500) |
get-plugin-assembliesList plugin assemblies| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| includeManaged | boolean | Include managed assemblies (default: false) |
| maxRecords | number | Maximum number of records to retrieve (default: 100) |
get-plugin-assembly-completeAssembly with types, steps, images| Parameter | Type | Description |
|---|---|---|
| assemblyName * | string | The name of the plugin assembly |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| includeDisabled | boolean | Include disabled steps (default: false) |
get-plugin-trace-logsPlugin trace logs| Parameter | Type | Description |
|---|---|---|
| correlationId | string | Filter by correlation ID |
| entityName | string | Filter by entity name |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| exceptionOnly | boolean | Only show logs with exceptions (default: false) |
| hoursBack | number | Hours to look back (default: 24) |
| maxRecords | number | Maximum number of records (default: 50) |
| messageName | string | Filter by message name (e.g., 'Create', 'Update') |
| pluginStepId | string | Filter by plugin step ID |
get-plugin-typeLook up a plugin type by class name| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| typeName * | string | The fully qualified class name of the plugin type |
get-publishersList publishers, with `isreadonly` (read-only ones came with managed solutions)| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| writableOnly | boolean | Only publishers that are not read-only, i.e. ones you can create components under (default: false) |
get-recordGet a record by ID| Parameter | Type | Description |
|---|---|---|
| entityNamePlural * | string | The plural name of the entity (e.g., 'accounts', 'contacts') |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| recordId * | string | The GUID of the record |
get-sdk-messageLook up an SDK message by name| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| messageName * | string | The name of the SDK message |
get-security-role-privilegesPrivileges for a role (name, accessright, depth mask)| Parameter | Type | Description |
|---|---|---|
| accessRightFilter | string | Filter privileges by access right (e.g., Read, Write, Create, Delete) |
| entityFilter | string | Filter privileges by entity name (contains match) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| roleId * | string | The security role ID (GUID) |
get-security-rolesList customizable security roles| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| excludeSystemRoles | boolean | Exclude system roles like System Administrator (default: true) |
| includePrivileges | boolean | Include privilege details for each role (default: false) |
| maxRecords | number | Maximum number of records to return (default: 100) |
| solutionUniqueName | string | Filter to roles in a specific solution |
get-service-endpointsService Bus, webhooks, Event Hub, Event Grid| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| maxRecords | number | Maximum records (default: 100) |
get-solutionGet solution by unique name| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| uniqueName * | string | The unique name of the solution |
get-solution-componentsList components in a solution| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| solutionUniqueName * | string | The unique name of the solution |
get-solutionsList visible solutions| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
get-web-resourceGet a web resource by name| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| name * | string | The exact name of the web resource |
get-web-resourcesList web resources| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| maxRecords | number | Maximum number of records to return (default: 100) |
| nameFilter | string | Filter web resources whose name contains this string |
| webResourceType | number | Filter by web resource type (1=HTML, 2=CSS, 3=JavaScript, 4=XML, 5=PNG, 6=JPG, 7=GIF, 8=Silverlight, 9=XSL, 10=ICO, 11=SVG, 12=RESX) |
get-workflow-definitionXAML definition or summary| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| summary | boolean | Return a parsed summary instead of raw XAML (default: false) |
| workflowId * | string | The workflow ID (GUID) |
get-workflowsList classic workflows| Parameter | Type | Description |
|---|---|---|
| activeOnly | boolean | Only return active workflows (default: false) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| maxRecords | number | Maximum number of records to retrieve (default: 25) |
list-privilegesBrowse the system privilege catalog to discover `privilegeId` GUIDs and supported depths| Parameter | Type | Description |
|---|---|---|
| accessRightFilter | string | Filter by access right (Read, Write, Create, Delete, Append, AppendTo, Assign, Share) |
| entityFilter | string | Filter by privilege name contains (Dataverse privileges are named prv{Action}{Entity}, e.g. prvReadAccount) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| maxRecords | number | Maximum records to return (default: 100) |
move-solution-componentMove a component to another unmanaged solution as the source holds it (added to the target before it is removed from the source), then check both for missing dependencies| Parameter | Type | Description |
|---|---|---|
| addRequiredComponents | boolean | Also add to the target the components this one requires (default: false) |
| componentId * | string | The component's id (objectid, e.g. a table's MetadataId) or its solutioncomponentid in the source solution; get-solution-components lists both |
| componentType * | number | Component type code (1=Entity, 2=Attribute, 9=OptionSet, 26=View, 29=Process, 60=SystemForm, 61=WebResource, 80=ModelDrivenApp, 90=PluginType, 91=PluginAssembly, 92=SdkMessageProcessingStep, 93=SdkMessageProcessingStepImage, 300=CanvasApp, 380=EnvironmentVariableDefinition, etc.) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| sourceSolutionUniqueName * | string | The unique name of the solution that holds the component now |
| targetSolutionUniqueName * | string | The unique name of the solution to move it to |
publish-customizationsPublish entity or all customizations| Parameter | Type | Description |
|---|---|---|
| entityLogicalName | string | Entity to publish (if omitted, publishes all) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
query-recordsOData query| Parameter | Type | Description |
|---|---|---|
| entityNamePlural * | string | The plural name of the entity (e.g., 'accounts', 'contacts') |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| filter * | string | OData filter expression (e.g., "name eq 'test'" or "createdon gt 2023-01-01") |
| maxRecords | number | Maximum number of records to retrieve (default: 50) |
remove-security-role-privilegesRemove privileges from a role (loops `RemovePrivilegeRole`)| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| privilegeIds * | array | Privilege IDs (GUIDs) to remove |
| roleId * | string | ID (GUID) of the role |
remove-solution-componentRemove a component from an unmanaged solution; it stays in the environment. A table's columns, forms and views listed under it go with it| Parameter | Type | Description |
|---|---|---|
| componentId * | string | The component's id (objectid, e.g. a table's MetadataId; the id add-solution-component takes) or its solutioncomponentid; get-solution-components lists both |
| componentType * | number | Component type code (1=Entity, 2=Attribute, 9=OptionSet, 26=View, 29=Process, 60=SystemForm, 61=WebResource, 80=ModelDrivenApp, 90=PluginType, 91=PluginAssembly, 92=SdkMessageProcessingStep, 93=SdkMessageProcessingStepImage, 300=CanvasApp, 380=EnvironmentVariableDefinition, etc.) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| solutionUniqueName * | string | The unique name of the solution to remove the component from |
replace-security-role-privilegesWipe and replace the full privilege set (`ReplacePrivilegesRole` — destructive, requires `confirm: true`)| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true to apply the destructive replace |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| privileges * | array | Full set of privileges to apply (existing ones are wiped) |
| roleId * | string | ID (GUID) of the role |
resubmit-flow-runRetry a failed run| Parameter | Type | Description |
|---|---|---|
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| flowId * | string | The workflow ID (GUID) |
| runId * | string | The flow run ID to resubmit |
scan-flow-healthBatch health scan (success rates)| Parameter | Type | Description |
|---|---|---|
| activeOnly | boolean | Only scan activated flows (default: true) |
| daysBack | number | Days of run history to analyze (default: 7) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| maxFlows | number | Max flows to scan (default: 500) |
| maxRunsPerFlow | number | Max runs to check per flow (default: 100) |
search-workflowsSearch workflows and flows| Parameter | Type | Description |
|---|---|---|
| category | number | Filter by category (0=Classic Workflow, 5=Power Automate Flow) |
| description | string | Filter by description (contains match) |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| includeDescription | boolean | Include description in results (default: true) |
| maxResults | number | Maximum number of results (default: 50) |
| name | string | Filter by name (contains match) |
| primaryEntity | string | Filter by primary entity logical name |
| statecode | number | Filter by state (0=Draft, 1=Activated, 2=Suspended) |
set-environment-variable-valueSet or update an environment variable value| Parameter | Type | Description |
|---|---|---|
| definitionId * | string | The environment variable definition ID |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| existingValueId | string | Existing value record ID to update (if omitted, creates new) |
| value * | string | The value to set |
update-plugin-stepChange a plugin step in place; writes only what differs| Parameter | Type | Description |
|---|---|---|
| configuration | string | Unsecure configuration string |
| description | string | Step description |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| filteringAttributes | array | Update steps only: the columns whose change runs the step, replacing the list; null clears it, so any column runs the step |
| mode | number | Execution mode: 0=Synchronous, 1=Asynchronous (post-operation only) |
| name | string | Step name |
| rank | number | Execution order |
| stage | number | Execution stage: 10=PreValidation, 20=PreOperation, 40=PostOperation |
| stepId * | string | GUID of the step (sdkmessageprocessingstepid) |
update-security-roleUpdate a role's name, description, or business unit| Parameter | Type | Description |
|---|---|---|
| businessUnitId | string | New business unit ID to move the role to |
| description | string | New role description |
| environment | string | Environment name (e.g. DEV, UAT). Uses default if omitted. |
| name | string | New role name |
| roleId * | string | ID (GUID) of the role to update |
| solutionUniqueName | string | Solution unique name (uses MSCRM.SolutionUniqueName header) |
Security checks
- ✓README presentThe repository's README runs to about 2.1K words.
5 checks have not been run yet.
README
The repository's README runs to about 2.1K words. The original in the repository is authoritative.
Read full README