I am trying to create an org in an instance which is integrated with external LDAP. my config file contains the below details as per doc.
ADMIN_EMAIL="abc@myCo.com" #sysadmin email which is a valid user in ldap
APIGEE_ADMINPW="password #ldap password for abc user
ORG_NAME=example # lowercase only, no spaces, underscores, or periods.
ORG_ADMIN=orgAdmin@myCo.com
But on executing the command I get 401 error.
/opt/apigee/apigee-service/bin/apigee-service apigee-provision create-org -f configFile
Checking for optional variables
Found optional variable APIGEE_ADMINPW...OK
Found optional variable APIGEE_PORT_HTTP_MS...OK
Found optional variable ORG_ADMIN...OK
!!!!Error !!!!
HTTP STATUS CODE: 401
ERROR: Creating organization pd failed.
I have also tried with
ADMIN_EMAIL=as LDAP SAMUER which is not email id , that too did not work.
Please let me know how I can make this work and if I am missing any step here.
Solved! Go to Solution.
Need to set the field IS_EXTERNAL_AUTH in config file to make this work.