I’m getting this message on some Windows 10 Home machines (recent acquisition of ours)… I googled and see there’s a workaround using the beta 4.8.5 but I don’t see it available to download anywhere?
opened 03:20AM - 09 Feb 21 UTC
closed 02:31PM - 06 Mar 21 UTC
bug
duplicate
resolved / implemented
I had SCCM deploy something to my all servers collection which worked perfectly … except on Domain Controllers… No logs were created and no errors in the Event Viewer. Running the EXE manually wouldn’t even open PowerShell. I eventually ran Deploy-Application.ps1 to get this error message:
```
C:\Tmp\Deploy-Application.ps1 : Module [C:\Tmp\AppDeployToolkit\AppDeployToolkitMain.ps1] failed to load:
Exception calling "Translate" with "1" argument(s): "Some or all identity references could not be translated."
At C:\Tmp\Deploy-Application.ps1:98 char:81
+ ... yToolkitMain -DisableLogging } Else { . $moduleAppDeployToolkitMain }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line:1 char:1
+ .\Deploy-Application.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Deploy-Application.ps1
```
The line 98 that its referring to has to do with “Dot source the required App Deploy Toolkit Functions”… if I try to dot source the AppDeployToolkitMain.ps1 file, it completes but give this error:
```
Exception calling "Translate" with "1" argument(s): "Some or all identity references could not be translated."
At C:\Tmp\AppDeployToolkit\AppDeployToolkitMain.ps1:270 char:1
+ [string]$LocalPowerUsersGroup = (New-Object -TypeName System.Security ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : IdentityNotMappedException
```
If I look at line 270 of AppDeployToolkitMain.ps1, its trying to get the BuiltinPowerUsersSid but this is a Domain Controllers, so groups like Power Users and Administrators are hidden.
Alas, I recommend you use the 4.8.5 beta to solve your problem or you implement the fix in the version of PDADT you are using.
Yes, that’s what I want to try…
go to GitHub - PSAppDeployToolkit/PSAppDeployToolkit: Project Homepage & Forums
On the Green button, click on the down arrow and select Download Zip .
There will be extra files. focus on the \PSAppDeployToolkit-master\Toolkit\ folder
I did that and it says it’s 3.8.4?
The CHANGELOG.txt says it’s 3.8.5.
Any way, it’s what I use.
1 Like
system
Closed
December 8, 2022, 3:57pm
7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.