web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Import-CrmSolution internal server error DataflowModelAndMeatadataNotConsistent or DataflowModelActor_DataflowDeleted

(0) ShareShare
ReportReport
Posted on by 5

I am trying to use powershell scripts from module Microsoft.Xrm.Data.Powershell to import solution to crm3.dynamics.com. I was also trying to use the Azure DevOps pipelines PowerPlatform tasks to do the same (https://docs.microsoft.com/en-us/power-platform/alm/devops-build-tools), but I am still receiving the same results.

I am running this script:

$crm = Connect-CrmOnline -Username "myUserName" -ServerUrl "">MyCOMPANY.crm3.dynamics.com/"
Import-CrmSolution -conn $crm -SolutionFilePath "MYSOLUTION.zip" -Verbose -SkipDependancyOnProductUpdateCheckOnInstall

WARNING: UserName parameter is only compatible with oAuth, forcing auth mode to oAuth

VERBOSE: Importing solution file MYSOLUTION.zip into: https://MyCOMPANY.crm3.dynamics.com/XRMServices/2011/Organization.svc/web?SDKClientVersion=9.0.45.2156
VERBOSE: OverwriteCustomizations: False
VERBOSE: SkipDependancyCheck: True
VERBOSE: ImportAsHoldingSolution: False
VERBOSE: Maximum seconds to poll for successful completion: 900
VERBOSE: Calling .ImportSolutionToCrm() this process can take minutes...
VERBOSE: ImportId: 00000000-0000-0000-0000-000000000000
Import-CrmSolution : System.Management.Automation.RuntimeException: ************ FaultException`1 - ImportSolution : Executing ImportSolutionRequest for ImportSolutionToCrm |=> Code: InternalServerError
Content: DataflowModelActor_DataflowDeleted
Code: InternalServerError
Content: DataflowModelActor_DataflowDeleted[TerminalFailure] Failed to Execute Command - ImportSolution : RequestID=e04856b9-ebd0-42c0-8576-93a71fa92a0f : Executing ImportSolutionRequest for ImportSolutionToCrm
duration=00:00:15.3745879 ExceptionMessage = Code: InternalServerError
Content: DataflowModelActor_DataflowDeleted
Code: InternalServerError
Content: DataflowModelActor_DataflowDeleted
At Untitled2.ps1:2 char:1
+ Import-CrmSolution -conn $crm -SolutionFilePath "MYSOLUTION ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Import-CrmSolution

sometimes I am getting also this exception:

Import-CrmSolution : System.Management.Automation.RuntimeException: ************ FaultException`1 - ImportSolution : Executing ImportSolutionRequest for ImportSolutionToCrm |=> Code: InternalServerError
Content: DataflowModelActor_DataflowModelAndMeatadataNotConsistent
Code: InternalServerError
Content: DataflowModelActor_DataflowModelAndMeatadataNotConsistent[TerminalFailure] Failed to Execute Command - ImportSolution : RequestID=4435dab8-84bd-4c7f-8b85-2b0d056f13ab : Executing ImportSolutionRequest f
or ImportSolutionToCrm duration=00:00:36.6999661 ExceptionMessage = Code: InternalServerError
Content: DataflowModelActor_DataflowModelAndMeatadataNotConsistent
Code: InternalServerError
Content: DataflowModelActor_DataflowModelAndMeatadataNotConsistent
At ImportSolution.ps1:56 char:1
+ Import-CrmSolution -conn $CrmSourceDestinationString -SolutionFilePat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Import-CrmSolution

When going to site https://make.powerapps.com/ to my environment where I am trying to import solution, I can check the history and I see there failed import requests:

Error code

Exception message
Code: InternalServerError Content: DataflowModelActor_DataflowDeleted
or 
Error code
Exception message
Code: InternalServerError Content: DataflowModelActor_DataflowModelAndMeatadataNotConsistent
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 179 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 61 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans