Cannot delete Identity

avatar
(anonymous user)

Hi guys,

i cannot delete this identity. If i click delete it shows a confirmation dialog. i can click on “OK” but nothing happens.
i also tried to rename the account, restartet the PSU Server…

hmmm



328b0bce63e841c9afc8a12cd1da80f9195ef9f3

Product: PowerShell Universal
Version: 5.6.8


328b0bce63e841c9afc8a12cd1da80f9195ef9f3.png

All Comments (3)

avatar

Try this command and see if you get any errors:

github.com/ironmansoftware/universal-docs

avatar
Remove-PSUIdentity -ComputerName "MyServerName" -AppToken $AppToken -Id "10"

Remove-PSUIdentity: Status(StatusCode="Unknown", Detail="Exception was thrown by handler. DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. SqliteException: SQLite Error 19: 'FOREIGN KEY constraint failed'.")


Remove-PSUIdentity -ComputerName “MyServerName” -Identity “asdfg” -AppToken $AppToken -Verbose

VERBOSE: Using computer name from parameter.VERBOSE: Computer name does not contain a scheme. Assuming HTTP and port 5000.VERBOSE: Using App Token from parameter.VERBOSE: Using App Token for authentication.VERBOSE: $PSUTrustCertificate:VERBOSE: Using gRPC-Web.VERBOSE: Using insecure channel call credentials.


avatar

I did not encounter that one… You should open a support ticket or GitHub issue for this.