Azure AD Test From Dashboard - How Does It Work?

I’ve created an enterprise connection to Azure AD. When I view the connection in the dashboard and click the “Try” button the resulting user information I get is a lot more comprehensive than anything I’ve been able to get on my own - either in my own code or in the Microsoft Graph Explorer. Is there any source code available that shows how that “Try” functionality is implemented?