ERROR
While adding new members in Portal for ArcGIS using the workflow Organization > Members > Add Members, when choosing the method to "Add members based on existing Active Directory or LDAP users", the following error message is returned:
An email address is required for adding an enterprise user. The user EDPSSRMSC does not have an email address set, and cannot be added.
Note: At ArcGIS version 10.8 and prior, this option is "Add members based on existing enterprise users."

Example usage as follows for reference:
Example
LDAPS (highly recommended)
The following is a sample POST request for the updateIdentityStore operation:
POST /webadaptor/admin/security/config/updateIdentityStore HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
userStoreConfig={
"type": "LDAP",
"properties": {
"userPassword": "secret",
"isPasswordEncrypted": "false",
"user": "uid=admin,ou=system",
"userFullnameAttribute": "displayName",
"userGivenNameAttribute": "givenName",
"userSurnameAttribute": "sn",
"ldapURLForUsers": "ldaps://ldapserver:10636/ou=users,ou=ags,dc=example,dc=com",
"userEmailAttribute": "mail",
"usernameAttribute": "uid",
"caseSensitive": "false",
"userSearchAttribute": "dn",
}
}&roleStoreConfig={
"type": "LDAP",
"properties": {
"ldapURLForRoles": "ldaps://xxx:10636/ou=roles,ou=ags,dc=example,dc=com",
"adminUserPassword": "aaa",
"adminUser": "CN=aaa,ou=users,ou=ags,dc=example,dc=com",
"memberAttributeInRoles": "uniquemember",
"ldapURLForUsers": "ldaps://xxx:10636/ou=users,ou=ags,dc=example,dc=com",
"rolenameAttribute": "cn",
"usernameAttribute": "cn",
"failOverLDAPServers": "hostname1:10636,hostname2:10636"
}
}&f=pjson
Article ID: 000035021
Get help from ArcGIS experts
Start chatting now