I want to run a app(.exe) in kiosk mode. I found some links of powershell kiosk mode on microsoft's page.
here I am trying to use Microsoft Teams as Kiosk mode with the below PowerShell cmdlet
Set-AssignedAccess -AppUserModelId "com.squirrel.Teams.Teams" -UserName "username"
but having the below error
User was not found. Enter a valid local account UserName or UserSID
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\AssignedAccess\AssignedAccess.psm1:257 char:9
+ throw $SCStringTable.ErrorUserNotFound
+ CategoryInfo : OperationStopped: (User was not fo...Name or UserSID:String) , RuntimeException
+ FullyQualifiedErrorId : User was not found. Enter a valid local account UserName or UserSID
Appreciate if anyone resolve this issue