How to install Appxpackage like Microsoft whiteboard using Azure State Configuration (DSC)

Bachar Bader 86 Reputation points
2021-05-03T14:50:06.44+00:00

I've tried to install Microsoft whiteboard Appxpackage using DSC (script resource) by running the add-appxpackage PowerShell command but I got this error:
Deployment add operation rejected on package xxxxxx.appx install request because the local system account is not allowed to perform this operation.

the command works if I run it manually. but I noticed the Whiteboard app installed under user profile so that it worked manually and not using DSC.

Any advise how to provide this app to users while using WVD and Windows 10 multi-session image ?

Thanks
Bachar

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,075 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,628 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.