Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The property 'applicableArchitectures' does not exist on type 'microsoft.management.services.api.win32LobAppRequirement' #181

Open
MortenNormannFrederiksen opened this issue Oct 7, 2024 · 1 comment

Comments

@MortenNormannFrederiksen

Hello

Why do I get a The property 'applicableArchitectures' does not exist on type
'microsoft.management.services.api.win32LobAppRequirement' when running

$arch = "All"
$WinRe = "W10_1909"

$Win32AppReqRule = @{ }

if($arch) { $Win32AppReqRule["Architecture"] = $arch }
if($WinRe) { $Win32AppReqRule["MinimumSupportedWindowsRelease"] = $WinRe }

$Win32AppReqRule

$IW32AdditionalRequirementRule = New-IntuneWin32AppRequirementRule @Win32AppReqRule

The error comes of course when I run Add-IntuneWin32App @Win32AppArgs

@obuolinis
Copy link

obuolinis commented Oct 14, 2024

My guess is that your $arch comes up empty and Architecture property goes missing.
My guess is wrong of course - New-IntuneWin32AppRequirementRule would not proceed if that were the case. You should provide more details about the error, like the full error message.
You can also try Add-IntuneWin32App @Win32AppArgs -Verbose for more clues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants