Get user profile action allows you to retrieve profile properties from selected user
Example of Get user profile action configuration on the current site
For more information about Action Builder read Action Builder introduction article.
Note 1: In order to use the Get user profile action in Scheduled/Triggered Actions skybow Users 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. Learn more about skybow M365 Connectors
Note 2: When you deploy the solution to another SharePoint tenant, it requires approval of skybow Users Connector on the deployment tenant as well.
To configure the action Get user profile additional properties should be specified:
Configuration
Property | Required | Type | Description |
User | yes | String | Specify email of the user |
Availability
Modern Forms | List Actions | Scheduled/Triggered Actions |
- | - | ✓ |
Output
Output Parameter | Type | Description |
UserProfile | Array of objects | Returns array of objects with retrieved properties, such as: AboutMe, AccountName, CellPhone, Department, Fax, FirstName, HomePhone, LastName, Manager, Office, PersonalSpace, PictureURL, PreferredName, PublicSiteRedirect, SID, Title, UserName, WebSite, WorkEmail, WorkPhone and others |
Example of UserProfile object:
{"AccountName":"i:0#.f|membership|alland@m365x43473780.onmicrosoft.com",
"FirstName":"Allan",
"LastName":"Deyoung",
"PreferredName":"Allan Deyoung",
"SPS-PhoneticDisplayName":"",
"WorkPhone":"",
.....
"Department":"",
"Manager":"i:0#.f|membership|nestorw@m365x43473780.onmicrosoft.com",
"AboutMe":"",
"UserName":"AllanD@M365x43473780.OnMicrosoft.com",
"SPS-SipAddress":"alland@m365x43473780.onmicrosoft.com"
}