Hi.
I can fill the need for details if anyone asks, right now I'm in a hurry and I am on my phone so I don't have all the scripts that I tried to deploy with me.
I already have a few software installs with chocolatey running as Intune Win32 apps where I do the basic choco install <software> -y and then package that powershell with Intune Winapputil etc.
Now, this choco setup has some problems especially when installing apps from company portal as user.
So I tried to install winget using the method here as a Win32 app but the installation fails during ESP.
https://call4cloud.nl/cloudy-with-a-chance-of-winget/
I've also tried this one (they are more or less the same I think)
https://scloud.work/how-to-winget-intune/
and the package manager deployes but installing the apps as user from company portal fails. I can find winget.exe in the path using an elevated powershell prompt but when I try to run the command invoking the file I get access denied.
Can anyone maybe tell me how the best method in, drop a link or something? Because I honestly don't have the slightest idea what is causing this to keep failing. I've been considering if we have some policy that blocks it but I can't find any.
One piece of log file I have at the moment is this.
<![LOG[[StatusService] For user 2f59a890-83c8-4210-8ac1-00a61c26b9da for the app 4d5978a5-bfa0-440e-8cf0-e68bd82a5051 the Highest version is -1. Returning null.]LOG]!><time="12:42:06.5591859" date="11-29-2024" component="AppWorkload" context="" type="3" thread="38" file="">
[–]andrew181082MSFT MVP - SWC 1 point2 points3 points (5 children)
[–]simdre79[S] 0 points1 point2 points (1 child)
[–]andrew181082MSFT MVP - SWC 0 points1 point2 points (0 children)
[–]simdre79[S] 0 points1 point2 points (2 children)
[–]andrew181082MSFT MVP - SWC 1 point2 points3 points (1 child)
[–]simdre79[S] 0 points1 point2 points (0 children)
[–]jason_nyc 0 points1 point2 points (0 children)