Test environment for microsoft graph api and Azure v2.0

Viewed 2672

I am integrating OneNote application using MS graph endpoints. To authenticate the user I am using azure v2.0 endpoint. Does microsoft graph platform, onenote and azure provides test/sandbox environment the same.

Currently I am using endpoints as follows -

  1. Fetch onenote notebooks - https://graph.microsoft.com/v1.0/me/onenote/notebooks

  2. Authenticate user using Azure v2.0 - https://login.microsoftonline.com/common/oauth2/v2.0/authorize https://login.microsoftonline.com/common/oauth2/v2.0/token

These endpoints works in all environment including dev/prod/test. The kind of application that we register at https://apps.dev.microsoft.com/ does that only matter ?

2 Answers

In addition to the accepted answer, that Graph Explorer can be used for test purposes, you can also create Azure Active Directory (Azure AD) sandbox account and use it as completely separated Azure Portal test environment.

The sandbox account works under test domain (tenant). Like in standard Azure portal, you can register app (for SSO scenario).
You can also "install" test data, where the "installation" creates test random users as Microsoft accounts under the test domain (with the same shared password).

enter image description here

Related