diff --git a/services/graph/pkg/identity/ldap_education_class.go b/services/graph/pkg/identity/ldap_education_class.go index 046fbccbd2..f19af09635 100644 --- a/services/graph/pkg/identity/ldap_education_class.go +++ b/services/graph/pkg/identity/ldap_education_class.go @@ -162,14 +162,6 @@ func (i *LDAP) UpdateEducationClass(ctx context.Context, id string, class libreg } } - if class.GetOnPremisesSamAccountName() != "" { - return nil, errorcode.New(errorcode.NotSupported, "changing the SAM account name is currently not supported") - } - - if class.GetOnPremisesDomainName() != "" { - return nil, errorcode.New(errorcode.NotSupported, "changing the SAM account name is currently not supported") - } - if class.GetDescription() != "" { return nil, errorcode.New(errorcode.NotSupported, "changing the description is currently not supported") }