Cannot delete Identity

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 :thinking:

Product: PowerShell Universal
Version: 5.6.8

Try this command and see if you get any errors:

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.

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