Prerequisites
PSAppDeployToolkit version
4.1.1
Describe the bug
Hi guys,
i am currently testing the new interactive feature for intune with out the serviceui.exe. I have created a script which runs perfeclty fine when i run it locally. Wrapping it into an win32 app file and uploading it to intune will always fail to install.
Log file pushed the following:
[Pre-Install] :: Exception calling "TestEffectiveAccess" with "3" argument(s): "The specified domain either does not exist or could not be contacted"
Error Record:
Message : Exception calling "TestEffectiveAccess" with "3" argument(s): "The specified domain either does not exist or could not be contacted"
InnerException : System.ComponentModel.Win32Exception (0x80004005): The specified domain either does not exist or could not be contacted
at PSADT.LibraryInterfaces.AdvApi32.AuthzInitializeContextFromSid(AUTHZ_CONTEXT_FLAGS Flags, SafeHandle UserSid, SafeHandle hAuthzResourceManager, Nullable`1 pExpirationTime, LUID Identifier, IntPtr DynamicGroupArgs, AuthzFreeContextSafeHandle& phAuthzClientContext) in D:\a\PSAppDeployToolkit\PSAppDeployToolkit\src\PSADT\PSADT\LibraryInterfaces\AdvApi32.cs:line 655
at PSADT.FileSystem.FileSystemUtilities.GetEffectiveAccess(String path, SecurityIdentifier sid, FileSystemRights desiredAccessMask) in D:\a\PSAppDeployToolkit\PSAppDeployToolkit\src\PSADT\PSADT\FileSystem\FileSystemUtilities.cs:line 116
at CallSite.Target(Closure , CallSite , Type , Object , Object , Object )
FullyQualifiedErrorId : Win32Exception,Show-ADTInstallationWelcome
ScriptStackTrace : at Private:Set-ADTClientServerProcessPermissions, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 2076
at Private:Invoke-ADTClientServerOperation, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 1192
at Show-ADTWelcomePrompt, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 19204
at Show-ADTInstallationWelcome, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 19510
at Install-ADTDeployment, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\Invoke-AppDeployToolkit.ps1: line 146
at , C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\Invoke-AppDeployToolkit.ps1: line 457
at , : line 1
PositionMessage : At C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\Invoke-AppDeployToolkit.ps1:146 char:5
+ Show-ADTInstallationWelcome @saiwParams
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Finalization] :: [Adobe_Acrobat_25.001.20630_x64_ML_001] install completed in [2.4557761] seconds with exit code [60001].
Steps to reproduce
- wrap package into win32 file
- deploy to intune with Install command
Invoke-AppDeployToolkit.exe
Environment data
OsName : Microsoft Windows 11 Enterprise
OSDisplayVersion : 24H2
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsProductName : Windows 10 Enterprise
WindowsBuildLabEx : 26100.1.amd64fre.ge_release.240331-1435
OsLanguage : en-US
OsMuiLanguages : {en-US}
KeyboardLayout : de-DE
TimeZone : (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
HyperVisorPresent : True
CsPartOfDomain : False
CsPCSystemType : Mobile
Host:
Version: 9.0.8
Architecture: x64
Commit: aae90fa090
RID: win-x64
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.NETCore.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Prerequisites
PSAppDeployToolkit version
4.1.1
Describe the bug
Hi guys,
i am currently testing the new interactive feature for intune with out the serviceui.exe. I have created a script which runs perfeclty fine when i run it locally. Wrapping it into an win32 app file and uploading it to intune will always fail to install.
Log file pushed the following:
[Pre-Install] :: Exception calling "TestEffectiveAccess" with "3" argument(s): "The specified domain either does not exist or could not be contacted"
Error Record:
Message : Exception calling "TestEffectiveAccess" with "3" argument(s): "The specified domain either does not exist or could not be contacted"
InnerException : System.ComponentModel.Win32Exception (0x80004005): The specified domain either does not exist or could not be contacted
at PSADT.LibraryInterfaces.AdvApi32.AuthzInitializeContextFromSid(AUTHZ_CONTEXT_FLAGS Flags, SafeHandle UserSid, SafeHandle hAuthzResourceManager, Nullable`1 pExpirationTime, LUID Identifier, IntPtr DynamicGroupArgs, AuthzFreeContextSafeHandle& phAuthzClientContext) in D:\a\PSAppDeployToolkit\PSAppDeployToolkit\src\PSADT\PSADT\LibraryInterfaces\AdvApi32.cs:line 655
at PSADT.FileSystem.FileSystemUtilities.GetEffectiveAccess(String path, SecurityIdentifier sid, FileSystemRights desiredAccessMask) in D:\a\PSAppDeployToolkit\PSAppDeployToolkit\src\PSADT\PSADT\FileSystem\FileSystemUtilities.cs:line 116
at CallSite.Target(Closure , CallSite , Type , Object , Object , Object )
FullyQualifiedErrorId : Win32Exception,Show-ADTInstallationWelcome
ScriptStackTrace : at Private:Set-ADTClientServerProcessPermissions, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 2076
at Private:Invoke-ADTClientServerOperation, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 1192
at Show-ADTWelcomePrompt, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 19204
at Show-ADTInstallationWelcome, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 19510
at Install-ADTDeployment, C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\Invoke-AppDeployToolkit.ps1: line 146
at , C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\Invoke-AppDeployToolkit.ps1: line 457
at , : line 1
PositionMessage : At C:\WINDOWS\IMECache\0749bb8a-0dc2-4f64-803c-91bffe7253a2_2\Invoke-AppDeployToolkit.ps1:146 char:5
+ Show-ADTInstallationWelcome @saiwParams
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Finalization] :: [Adobe_Acrobat_25.001.20630_x64_ML_001] install completed in [2.4557761] seconds with exit code [60001].
Steps to reproduce
Invoke-AppDeployToolkit.exe
Environment data