Updates the directory service configuration.

If CustomConfigEnabled is true
then ApplicationClientId and ApplicationClientSecret are expected.

Language