We'd like to automate tenant creation and I'm not able to find any resources on adding a directory to a tenant. I can find resources on adding the AD server and identity stores, but not the directory piece. Any guidance on documents on what api or workflows I need to work with would be great.