cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Pulling line manager from office365/azureAD

Hi all, my first post and im new to PowerApps...

 

 

im making an app that does all sorts, but one part that im struggling on is showing the line manager members of staff on their tickets.

 

basically, i have an entity in CDS that stores various fields that im using in my app, but one of them is a relationship with the 'user' entity in CDS. my hope is that a ticket for user 'A' can then automatically pull then mane, phone number, and email address of their line manager. is this possible?

currently, to try to simply get their name, i have put in the following code in the 'Default' field on one of the data cards:

ThisItem.cr49c_Employee.parentsystemuserid.fullname

this isnt throwing any errors, but equally the text input that i have set to

Parent.Default

doesnt return anything.

 

furthermore, even if i can get it to show the line manager's name, its going to be even harder to pull their email and phone number from azure/office365users... wint almost all of the formulas i try, it results in:

 

'This property expects Text values, but this rule produces incompatible record values.'

 

could anyone point me in the right direction? it doesnt help that as much as i try, im struggling to understand the technical terms used in the microsoft docs on PowerApps

 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 184 members 5,356 guests
Please welcome our newest community members: