I've tried to use the AdminDirectory API in a Server Script of App Maker, but this API isn't available.
The next alternative I've tried is create my own Apps Script Library that use the AdminDirectory API. I've could execute tests witout problems.
Then I've included these library in the my App Maker Project. But when it used it throws an error that says: "AdminDirectory" is not defined.
I believe my last chance is use the UrlFetchApp API for compose the request I need (https://developers.google.com/admin-sdk/directory/v1/guides/manage-users), but I could be hard dealing with composing the request, parsing the response and manage OAuth.
Are there any other alternative?
In https://developers.google.com/appmaker/scripting/server they said "(support for Advanced Google Services is coming in future version)". AdminDirectory is an Advanced Google Service. Anyone known when these will be released?
Thanks in advance,
Ernesto.