{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/nav-docker/issues/175","repository_url":"https://api.github.com/repos/Microsoft/nav-docker","labels_url":"https://api.github.com/repos/Microsoft/nav-docker/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/nav-docker/issues/175/comments","events_url":"https://api.github.com/repos/Microsoft/nav-docker/issues/175/events","html_url":"https://github.com/Microsoft/nav-docker/issues/175","id":308487055,"number":175,"title":"Cannot retrieve the requested user","user":{"login":"elweilando","id":902622,"avatar_url":"https://avatars1.githubusercontent.com/u/902622?v=4","gravatar_id":"","url":"https://api.github.com/users/elweilando","html_url":"https://github.com/elweilando","followers_url":"https://api.github.com/users/elweilando/followers","following_url":"https://api.github.com/users/elweilando/following{/other_user}","gists_url":"https://api.github.com/users/elweilando/gists{/gist_id}","starred_url":"https://api.github.com/users/elweilando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elweilando/subscriptions","organizations_url":"https://api.github.com/users/elweilando/orgs","repos_url":"https://api.github.com/users/elweilando/repos","events_url":"https://api.github.com/users/elweilando/events{/privacy}","received_events_url":"https://api.github.com/users/elweilando/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-03-26T09:02:28Z","updated_at":"2018-03-27T10:26:30Z","closed_at":null,"author_association":"NONE","body":"Issues raises after downloading the new image.\r\nContainer has an external database with SQL Username.\r\nImage is microsoft/dynamics-nav:2018-cu1-de \r\nOccurs in several images\r\n\r\nI haven't access to windows client because my user needs to be an valid user.\r\n\r\nIf I try to add an user in container powershell I get\r\n\r\n`\r\nThe user name must be unique.\r\n    + CategoryInfo          : NotSpecified: (0:Int32) [New-NAVServerUser], FaultException`1\r\n    + FullyQualifiedErrorId : MicrosoftDynamicsNavServer$NAV,Microsoft.Dynamics.Nav.Management.\r\n   r\r\n    + PSComputerName        : e67aa24f9fe7a369ac9ee97fda180d2f5cfe17c5924f2b2ae1fb288722f17e30\r\n\r\nCannot retrieve the requested user.\r\n    + CategoryInfo          : NotSpecified: (0:Int32) [New-NAVServerUserPermissionSet], FaultEx\r\n    + FullyQualifiedErrorId : MicrosoftDynamicsNavServer$NAV,Microsoft.Dynamics.Nav.Management.\r\n   rPermissionSet\r\n    + PSComputerName        : e67aa24f9fe7a369ac9ee97fda180d2f5cfe17c5924f2b2ae1fb288722f17e30\r\n`\r\n\r\nNAV-GetServerUser lists the user, but I haven't access to windows client because my user needs to be an valid user.\r\n\r\nIf I run \r\n\r\n`\r\nNew-NavServerUserPermissionSet -ServerInstance NAV -WindowsAccount navadmin -PermissionSetID SUPER\r\n` \r\n\r\nI get \r\n\r\n`\r\nNew-NavServerUserPermissionSet : Cannot retrieve the requested user.\r\nAt line:1 char:1\r\n+ New-NavServerUserPermissionSet -ServerInstance NAV -WindowsAccount na ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (0:Int32) [New-NAVServerUserPermissionSet], FaultException`1\r\n    + FullyQualifiedErrorId : MicrosoftDynamicsNavServer$NAV,Microsoft.Dynamics.Nav.Management.Cmdlets.NewNavServerUse\r\n   rPermissionSet\r\n`\r\n\r\n\"wmic useraccount\" gives me the same SID like \"get-navserveruser\"\r\n\r\nremove-navserveruser -serverinstance NAV -sid (sid from wmic useraccount)\r\n\r\ntrows the same error \r\n\r\nRemove-NAVServerUser : Cannot retrieve the requested user.\r\nAt line:1 char:1\r\n+ Remove-NAVServerUser -ServerInstance nav -sid S-1-5-21-3548567813-265 ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (0:Int32) [Remove-NAVServerUser], FaultException`1\r\n    + FullyQualifiedErrorId : MicrosoftDynamicsNavServer$nav,Microsoft.Dynamics.Nav.Management.Cmdlets.RemoveNavServerUser\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/nav-docker/issues/comments/376475541","html_url":"https://github.com/Microsoft/nav-docker/issues/175#issuecomment-376475541","issue_url":"https://api.github.com/repos/Microsoft/nav-docker/issues/175","id":376475541,"user":{"login":"elweilando","id":902622,"avatar_url":"https://avatars1.githubusercontent.com/u/902622?v=4","gravatar_id":"","url":"https://api.github.com/users/elweilando","html_url":"https://github.com/elweilando","followers_url":"https://api.github.com/users/elweilando/followers","following_url":"https://api.github.com/users/elweilando/following{/other_user}","gists_url":"https://api.github.com/users/elweilando/gists{/gist_id}","starred_url":"https://api.github.com/users/elweilando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elweilando/subscriptions","organizations_url":"https://api.github.com/users/elweilando/orgs","repos_url":"https://api.github.com/users/elweilando/repos","events_url":"https://api.github.com/users/elweilando/events{/privacy}","received_events_url":"https://api.github.com/users/elweilando/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T10:26:30Z","updated_at":"2018-03-27T10:26:30Z","author_association":"NONE","body":"I sent you an e-mail with the logs."}}
{"actor":{"display_login":"elweilando"}}