Get user details by principal name.

  • Least privileged Microsoft Graph permission to access the action via application: User.Read.All.
  • Higher privileged Microsoft Graph permissions to access the action via application: Directory.ReadWrite.All, User.ReadWrite.All, Directory.Read.All.

External Documentation

To learn more, visit the Microsoft Entra ID documentation.

Parameters

ParameterDescription
User Principal NameThe user principal name.

Example Output

{
	"@odata.context": "<string>",
	"businessPhones": [],
	"displayName": "<string>",
	"givenName": "<string>",
	"jobTitle": "<string>",
	"mail": "<string>",
	"mobilePhone": null,
	"officeLocation": null,
	"preferredLanguage": null,
	"surname": "<string>",
	"userPrincipalName": "<string>",
	"id": "<string>"
}

Workflow Library Example

Temporarily Add a User to a Group with Active Directory

Preview this Workflow on desktop