SamAccountName Charater Limit
search cancel

SamAccountName Charater Limit

book

Article ID: 131760

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction

Why is SamAccountName attribute limited to 20 characters?

Environment

Release:
Component: IDMGR

Resolution

In older versions of Windows the samAccountName was limited to 20 characters. In newer versions of Windows it can be longer but Microsoft does still mention 20 characters for backward compatibility. The Identity Manager application is hard coded to the 20 characters and this cannot be changed.

https://docs.microsoft.com/en-us/windows/desktop/adschema/a-samaccountname#windows-server-2012