Action: Get AAD user details

Action: Get AAD user details

Get AAD user details action allows you to retrieve Microsoft Entra user account properties for specified user.

Example of Get AAD user details action configuration on the current site

Ein Bild, das Text, Screenshot, Schrift, Zahl enthält.

KI-generierte Inhalte können fehlerhaft sein.
Ein Bild, das Text, Screenshot, Schrift, Zahl enthält.

KI-generierte Inhalte können fehlerhaft sein.

For more information about Action Builder read Action Builder introduction article.

Note 1: In order to use the Get AAD user details action in Scheduled/Triggered Actions Teamsware Groups Connector has to be approved by a tenant administrator and site has to be added to Approved sites list before this action can be used.

Note 2: When you deploy the solution to another SharePoint tenant, it requires approval of Teamsware Groups Connector on the deployment tenant as well. 

To configure the action Get AAD user details additional properties should be specified:

Configuration

Property

Required

Type

Description

User

yes

String

Specify email or Id of the user

Properties to select

no

String

Specify properties you want to retrieve. Properties should be separated by commas (e.g.,Email,DisplayName,Department)

Properties to expand

no

String

Specify properties that can be retrieved only with $expand query parameter

 

Availability

Modern Forms

List Actions

Scheduled/Triggered Actions

-

-

Output

Output Parameter

Type

Description

UserDetails

Array of objects

Returns array of objects with retrieved properties, such as: AboutMe, Id, Email, DisplayName, Country Department, Birthday, Manager, Surname, etc.



Ein Bild, das Text, Screenshot, Software, Display enthält.

KI-generierte Inhalte können fehlerhaft sein.



Examples

To use this output and set the value open Expression builder as Assignment expression and add this placeholder:

=[[@Actions.Get_AAD_user_details.UserDetails]].MobilePhone

This expression will return the MobilePhone property of the user details object.

To determine the available properties of an object in Scheduled or Triggered actions use Send email action to send email to yourself and add to the email body the following expression or use Add/Update item actions and add expression to the Multiple line of text column:

=JSON.stringify(=[[@Actions.Get_AAD_user_details.UserDetails]])

Example of UserDetails object:

{"DisplayName":"Adele Vance",
"Department":"Allan",
"Country":"Germany",
"GivenName":"Adele"
"Mail":"AdeleV@M365x93939164.OnMicrosoft.com",
.....
"Manager":"i:0#.f|membership|nestorw@m365x43473780.onmicrosoft.com",
"AboutMe":"",
"JoinedTeams":""
}
    • Related Articles

    • Action: Get image data

      Get image data action allows you to retrieve the image data information such as geolocation and the size of the image. Example of Get image data action configuration on the current site For more information about Action Builder read Action Builder ...
    • Action: Get user profile

      Get user profile action allows you to retrieve profile properties from selected user Example of configuration on the current site Note 1: In order to use the Get user profile action in Scheduled/Triggered Actions skybow Users Connector has to be ...
    • Action: Delete meeting

      Delete meeting action will delete online meeting from the calendar in Microsoft Teams and in Outlook as well. It allows to delete both a single meeting and a series of meetings. Example of Delete meeting action configuration on the current site For ...
    • Action: Get user's SharePoint groups

      Get user's SharePoint groups action allows you to retrieve all SharePoint groups of which the specified user is a member. Example of configuration on the current site For more information about Action Builder read Action Builder introduction article. ...
    • Action: Add users to site

      Add users to site action allows to grant an Active Directory (AD) user or group access to a SharePoint site without assigning any permissions. Example of Add users to site action configuration on the current site For more information about Action ...