Error dot sourcing main

Hello,
on both domain controllers having this error while deploying an application using PSADT with SCCM. Other servers are OK. I suspect some sort of policy restrictions, but couldn’t figure out which one

PS C:\Windows\ccmcache\9> .\Deploy-Application.ps1 -DeploymentType Install -DeployMode Interactive
C:\Windows\ccmcache\9\Deploy-Application.ps1 : Module [C:\Windows\ccmcache\9\AppDeployToolkit\AppDeployToolkitMain.ps1] failed to load: 
Exception calling "Translate" with "1" argument(s): "Some or all identity references could not be translated."
 
At C:\Windows\ccmcache\9\Deploy-Application.ps1:98 char:81
+ ... yToolkitMain -DisableLogging } Else { . $moduleAppDeployToolkitMain }
+                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line:1 char:1
+ .\Deploy-Application.ps1 -DeploymentType Install -DeployMode Interact ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Deploy-Application.ps1

Line 98 is as follows:

 If ($DisableLogging) { . $moduleAppDeployToolkitMain -DisableLogging } Else { . $moduleAppDeployToolkitMain }

Looks like it cannot dot source the main file.

the first thing is to confirm that C:\Windows\ccmcache\9\AppDeployToolkit\AppDeployToolkitMain.ps1 is indeed missing.

Failing that, you will have to try to use the files from the cache as an admin then as system.