WEBVTT

00:00:00.000 --> 00:00:01.000
[AdminDroid Graph Explorer for M365 — Sample Queries panel]
The left sidebar displays a list of query categories. The cursor hovers over the "Users" category, which shows 19 sample queries.

00:00:01.000 --> 00:00:02.000
The "Users" category is expanded, revealing sample queries including: "count the users in your tenant excluding guests (raw count)", "my direct reports", "all users in the organization", "all guest users in the organization", and "count the guest users in your organization".

00:00:02.000 --> 00:00:03.000
The list scrolls down to reveal additional Users queries: "all users in the Finance department sorted by name with count", "users with displayName containing 'room', mail ending with 'microsoft.com', and sorted by name", "me" (GET), "me" (PATCH), "my skills", "user by email", and "user identities".

00:00:03.000 --> 00:00:04.000
Further Users queries are visible: "all my Planner tasks" (GET), "create user" (POST), "update user" (PATCH), "track user changes" (GET), "get my presence" (GET), "get a user's presence" (GET), and "delete user" (DELETE). The cursor moves toward the "create user" POST query.

00:00:04.000 --> 00:00:05.500
The "create user" POST sample query is selected. The method switches to POST, the endpoint updates to "https://graph.microsoft.com/v1.0/users", and the Request Body panel populates with a pre-filled JSON body for a new user: Melissa Darrow, department "Sales & Marketing", job title "Marketing Director", city "Seattle", country "United States", with password policies set to "DisablePasswordExpiration".

00:00:05.500 --> 00:00:07.000
The view scrolls down in the request body to reveal additional fields: officeLocation "131/1105", postalCode "98052", preferredLanguage "en-US", state "WA", streetAddress "9256 Towne Center Dr., Suite 400", surname "Darrow", mobilePhone "+1 206 555 0110", usageLocation "US", and userPrincipalName set to the placeholder "MelissaD@{domain}".

00:00:07.000 --> 00:00:08.500
The placeholder value "MelissaD@{domain}" in the userPrincipalName field is selected and highlighted, indicating it needs to be replaced with the actual tenant domain.

00:00:08.500 --> 00:00:09.500
The placeholder is replaced with the real domain. The userPrincipalName is now set to "MerlishaDarrow@o365droid.onmicrosoft.com". The cursor moves toward the "Run Query" button.

00:00:09.500 --> 00:00:10.000
The "Run Query" button is clicked. The query is submitted.

00:00:10.000 --> 00:00:11.880
The POST request succeeds. The response status shows "Created - 201". The Table view below displays the newly created user: Melissa Darrow (MerlishaDarrow@o365droid.onmicrosoft.com), Marketing Director, Office 131/1105, given name Melissa, surname Darrow, preferred language en-US, and a unique user ID. Count shown as 1. The result table scrolls horizontally to reveal additional columns including Business Phones.
