Local user account created with Powershell is NOT shown in settings "Family & Other people"
<p>I am working on Windows 10 Assigned Access for Desktop for version 1607.</p>

<p><strong>Mission:</strong> I need to get Assigned Access to work with Powershell. </p>

<p><strong>Steps done:</strong>
I create a new LocalUser account with New-LocalUser and I enable the account with Enable-LocalUser. To check if the account is added, I run Get-LocalUser and see that the account is created (see attachment).</p>

<p><strong>Issue:</strong> 
To double check I go to the PC settings for Accounts-Family &amp; other people, but I cannot see the new local user account "KioskTest". </p>

<p>I have restarted the computer but the account is not added to "Family &amp; Other people".</p>

<p>I have spent some time on this and I would really appreciate your help,  <strong>How can I make sure that the added Local user "KioskTest" is shown in the PC Accounts settings-Family &amp; other people, when using Powershell?</strong></p>

<p>I can Set-AssignedAccess, when I do Get-AssignedAccess I can see that it is there. Trouble is, I cannot login to the local user account because I cannot find the account in the settings for the PC. </p>

<p>It's like powershell has "hidden" the local user account from my client computer!!!</p>

<p><strong>ADDED information + updated images:</strong>
After some trial and error I found out the following:</p>

<ul>
<li>Using NET USER username password/ADD --works perfectly! I can find the user account and login as a customer would. The account is part of the LocalGroupMember</li>
<li>The local user account created with New-LocalUser with Powershell does NOT appear in the PC account settings BUT if you click on set assigned access in the Family &amp; other people the system finds the local user account (see attachment). However you cannot login to the account as it seemingly does not have a group membership! Not great for testing :(</li>
</ul>

<p>Thanks for taking the time,
Karina</p>

<p>See attachment:
<a href="http://i.stack.imgur.com/AQ2FC.jpg" rel="noreferrer">Powershell Get-AssignedAccess</a>
<a href="http://i.stack.imgur.com/f7eyg.jpg" rel="noreferrer">PC Account settings Family &amp; other people</a></p>