Get a user by ID

get/users/{userId}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

userIdstring required

Unique ID for the user.

Query parameters

api-versionstring required

The version of the API being called.

Response

Success

idstring

Unique ID of the user.

typestring required

Type of the user.

Changes

No recorded changes to this operation across all 8 revisions of this API.