Connectors
...
Actions
List User
6 min
description retrieve a comprehensive list of user objects from azure active directory, including names and roles endpoint url /v1 0/users method get inputs parameters (object) $count (string) retrieves the total count of matching resources $expand (string) retrieves related resources $filter (string) use the filter query parameter to retrieve just a subset of a collection for guidance on using filter , see https //learn microsoft com/en us/graph/filter query parameter https //learn microsoft com/en us/graph/filter query parameter $orderby (string) orders results $search (string) returns results based on search criteria $select (string) filters properties (columns) $top (number) sets the page size of results headers (object) consistencylevel (string) this header and $count are required when using $search, or in specific usage of $filter output example \[ { "status code" 200, "response headers" { "date" "wed, 23 aug 2023 13 46 59 gmt", "content type" "text/html; charset=utf 8", "content length" "16609", "connection" "keep alive", "cache control" "public, stale while revalidate=900, max age=900", "content encoding" "gzip", "expires" "wed, 23 aug 2023 13 41 00 gmt", "last modified" "wed, 23 aug 2023 13 23 00 gmt", "etag" "\\"sovjwpdqdurp\\"", "vary" "accept encoding, host", "x content type options" "nosniff", "x xss protection" "1; mode=block", "x ms version" "12 43 4 1 (v12 42 0 1#162d343f82 230814 2250) signed", "strict transport security" "max age=31536000; includesubdomains", "nel" "{\\"report to\\" \\"network errors\\",\\"max age\\" 86400,\\"success fraction\\" 0 001,\\"failure fraction\\" 1 0}", "report to" "{\\"group\\" \\"network errors\\",\\"max age\\" 86400,\\"endpoints\\" \[{\\"url\\" \\"https //eafc nelreports net/api/report?cat=aportal\\"}]}", "content security policy" "frame ancestors 'self'", "x frame options" "sameorigin", "access control allow origin" " ", "timing allow origin" " ", "x ms content source" "diskpersistentcontentcache", "referrer policy" "strict origin when cross origin", "permissions policy" "accelerometer=(), ambient light sensor=(), battery=(), camera=(), gyroscope=(), magnetometer=(), screen wake lock=()", "x ua compatible" "ie=edge", "x azure ref" "20230823t134659z yv6774vfkd39t3p2zw0xbwzk4c00000000n000000001758a", "x cache" "tcp hit", "accept ranges" "bytes" }, "reason" "ok", "response text" \[ { "businessphones" \[], "displayname" "conf room adams", "givenname" null, "jobtitle" null, "mail" "adams\@contoso com", "mobilephone" null, "officelocation" null, "preferredlanguage" null, "surname" null, "userprincipalname" "adams\@contoso com", "id" "6ea91a8d e32e 41a1 b7bd d2d185eed0e0" }, { "businessphones" \[ "425 555 0100" ], "displayname" "mod administrator", "givenname" "mod", "jobtitle" null, "mail" null, "mobilephone" "425 555 0101", "officelocation" null, "preferredlanguage" "en us", "surname" "administrator", "userprincipalname" "admin\@contoso com", "id" "4562bcc8 c436 4f95 b7c0 4f8ce89dca5e" } ] } ] output parameters status code (number) reason (string) response text (array) businessphones (array) displayname (string) givenname (string) jobtitle (object) mail (object) mobilephone (string) officelocation (object) preferredlanguage (string) surname (string) userprincipalname (string) id (string) response headers header type date string content type string content length string connection string cache control string content encoding string expires string last modified string etag string vary string x content type options string x xss protection string x ms version string strict transport security string nel string report to string content security policy string x frame options string access control allow origin string timing allow origin string x ms content source string referrer policy string permissions policy string x ua compatible string x azure ref string x cache string accept ranges string