Wednesday, March 5, 2025

How to use Microsoft graph explorer to test graph APIs

Use Case: How to use or test Microsoft 365 graph APIs using Graph Explorer.

Solution Steps:

  1. Access Graph Explorer: Go to Microsoft Graph Explorer.
  2. Sign In: Click "Sign in with Microsoft" and log in using your Microsoft 365 credentials.
  3. Select API: Choose GET https://graph.microsoft.com/v1.0/me to fetch the logged-in user's details.
  4. Run Query: Click "Run Query" to execute the API call and view the response.
  5. Modify & Test: Try different APIs like /users, /groups, or /me/messages by modifying the request.
  6. Check Permissions: If needed, click "Modify Permissions" and consent to required scopes.
  7. Analyze Response: Review the JSON output to validate the API response.

This helps test and understand Microsoft Graph APIs without writing code.

Screenshots:

Login


Checking my user details

Checking my drive id


Testing to see the drive children.



No comments:

Post a Comment

Featured Post

OIC - Creating Folders in SharePoint Using Microsoft Graph API 1.0 in Oracle Integration Cloud

Use Case Many businesses need to automate folder creation in SharePoint based on dynamic inputs. A common requirement is to create folders ...