The Microsoft Graph Explorer V2 lets developers quickly navigate and test API endpoints.
The Graph Explorer is written in TypeScript and powered by:
npm installto install project dependencies.npmis installed by default with Node.js.npm startstarts the TypeScript compiler in watch mode and the local server. It should open your browser automatically with the Graph Explorer at http://localhost:3000/.
- You'll need to register an app on apps.dev.microsoft.com to configure the login page for your local Graph Explorer. Under
PlatformsclickAdd Platformand select Web.Allow Implicit Flowshould be checked and sethttp://localhost:3000as the redirect URL. You don't need a client secret since the explorer is a single page application. Select the delegated permissions that you'll want to use in your local Graph Explorer. - Rename
secrets.sample.jstosecrets.jsin the project root and insert your client ID.
npm testto run tests from the command line for scenarios like parsing metadata and functional explorer tests.npm run lintlinting your files
Please see the contributing guidelines.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
- You cannot remove permissions by using the Graph Explorer UI. You will need to remove the application consent and then re-consent to remove permissions. I know, this is far from a good experience.
Copyright (c) 2017 Microsoft. All rights reserved.