VMware Cloud Community
jimmyvandermast
Hot Shot
Hot Shot
Jump to solution

Add Active Directory via API call(s)

I managed to create an automated installation of LCM (ovftool), do the basic config, deploy the globalenvironment (deploy vIDM), import current vRA7, deploy new vRA8, and some more things like that.

Now I need perform the Add Directory to vIDM.


I have searched on many different ways but cannot find which API call to do agains which server (service).
Manually, this is done by logging in to the vIDM. But in the vIDM API I cannot find anything related to adding an Active Directory.
Some other posts in the internet gave me the idea to do it via LCM, but I cannot find any API related call there too.

Anyone have any clou where to go?

Labels (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
jimmyvandermast
Hot Shot
Hot Shot
Jump to solution

To make a long story short, I managed to get it working.

The base API is /lcm/authzn/api/idp/dirConfigs

View solution in original post

2 Replies
jimmyvandermast
Hot Shot
Hot Shot
Jump to solution

To make a long story short, I managed to get it working.

The base API is /lcm/authzn/api/idp/dirConfigs

SkyCoop
VMware Employee
VMware Employee
Jump to solution

Do you have a sample payload you used for creating the directory? Not sure what goes in the directoryConfig object.

{
"directoryConfig": {},
"directoryType": "ActiveDirectory",
"vidmAdminPassword": "some-password",
"vidmAdminUser": "configadmin",
"vidmHost": "vidm.corp.local,
"vidmTenant": "default",
"vidmVersion": "3.3.5"
}
Reply
0 Kudos