'Using both AdminDirectory API and AdminReports API in the same project/script?

So when you add either service, you exclude the other one (see picture).

Once you have added either the reports_v1 or directory_v1 you can no longer select the Admin SDK API to select the other service. How do I go about using both in the same project/script?

enter image description here



Solution 1:[1]

This issue seems to be a bug, that has already been reported on Google's Issue Tracker

I recommend you to "star" the issue to increase visibility.

In the meantime, you can change as a workaround to the legacy editor and add both services there:

enter image description here

Once you add the services, you can change back to the new IDE and both service will stay selected:

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1