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

{
	"businessPhones": [
		"+1 425 555 0109"
	],
	"displayName": "Adele Vance",
	"givenName": "Adele",
	"jobTitle": "Retail Manager",
	"mail": "AdeleV@contoso.onmicrosoft.com",
	"mobilePhone": "+1 425 555 0109",
	"officeLocation": "18/2111",
	"preferredLanguage": "en-US",
	"surname": "Vance",
	"userPrincipalName": "AdeleV@contoso.onmicrosoft.com",
	"id": "87d349ed-44d7-43e1-9a83-5f2406dee5bd"
}

Workflow Library Example

Temporarily Add a User to a Group with Active Directory

Preview this Workflow on desktop