public PSADCredential CreateAppPasswordCredential(string appObjectId, PasswordCredential credential) { ValidatePasswordCredential(credential); var passwordCredsList = GetAppPasswordCredentials(appObjectId); // Add new PasswordCredential to existing KeyCredential list passwordCredsList.Add(credential); PatchAppPasswordCredentials(appObjectId, passwordCredsList); return credential.ToPSADCredential(); }