https://graph.microsoft.com/v1.0/users only returns one object

PauloMatos 170 Reputation points
2023-02-14T08:18:24.73+00:00

Hello,

1)

When I execute the following query on Graph Explorer:

GET https://graph.microsoft.com/v1.0/users

It only returns one object.

When I execute the same query in postman it returns all tenant users.

What is missing?

2)

How I renew the token in Graph Explorer?

In postman I found the process to renew the token,

How it works in Graph Explorer?

Thank You

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. CarlZhao-MSFT 46,376 Reputation points
    2023-02-14T09:42:03.07+00:00

    Hi @PauloMatos

    1.Make sure you have the appropriate permissions. Also, you can try clicking "Run query" a few more times when calling this endpoint.

    User's image

    2.The Graph Explorer is an online api tool, it can't renew the access token because it doesn't have a refresh token. Its access token is automatically generated.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.