I would like to set Edge as an Assigned Access to a User. I'm using the following PowerShell Command:
Net localgroup administrators /add
Net localgroup administratoren administrators /add
$user = "KioskUser"
$userDesc = "Kiosk account with assigned Access"
New-LocalUser -Name $user -NoPassword -AccountNeverExpires -UserMayNotChangePassword -Description $userDesc | Set-LocalUser -PasswordNeverExpires $true
Add-LocalGroupMember -Group "Benutzer" -Member "$user"
Set-AssignedAccess -AppUserModelId Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge -UserName $user
The Skript works, but if i want to log in as KioskUser i always get the following error (translated from German):
"Your app could not be launched. Press CTRL+ALT+DELETE to log out or contact your system administrator. Search online for the error code 0xffffffff to get more Information."
Does anyone know how to solve this?
Im Using PS version 5.1.19041.1682
