Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To access the Graph Explorer, visit: https://developer.microsoft.com/en-us/graph/graph-explorer

Image Added

Sign in using your Entra account

Change the HTTP method from "GET" to "PATCH", and change the endpoint to "https://graph.microsoft.com/beta/directory/authenticationMethodDevices/hardwareOathDevices"

Image Added

Click the "Modify Permissions" 

Grant consent for the "Policy.ReadWrite.AuthenticationMethod" permission

Image Added

Image Added


Click the "Request body" tabe

Open the JSON file in a text editor, copy all the contents, and paste the data into the Request body 

Image Added

Click the Run query button.

Image Added


You can check the current token repository by check the HTTP method to "GET"

(Make sure that the endpoint URL is: https://graph.microsoft.com/beta/directory/authenticationMethodDevices/hardwareOathDevices)

Image Added

Click "Run Query"

Image Added

You can scroll down to find the tokens that you have just uploaded, e.g. "serialNumber": "70029370",

Image Added