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 -
Fetch onenote notebooks - https://graph.microsoft.com/v1.0/me/onenote/notebooks
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 ?
https://developer.microsoft.com/en-us/graph/graph-explorer
Yes - you can use the graph explorer as your test environment.
https://developer.microsoft.com/en-us/graph/docs/concepts/auth_register_app_v2
Yes - the kind of application you register matters. If this is a new app, I'd recommend using a converged application so your app works for O365 and Microsoft accounts. See link above for full description.