Hi All,
I am aware that I can extract username and email from a Power Apps trigger by using the below:
@{triggerOutputs()?['headers']?['x-ms-user-email']};
@{triggerOutputs()?['headers']?['x-ms-user-name']}
However, I wish to be able to extract the "UPN" because I need to be able to pull manager information so that my flow will look like the following:
I have attempted to put the following:
@{triggerOutputs()?['headers']?['x-ms-user-id']}
into the "Get User Profile" connector's "User (UPN)" input, however this causes the flow to break. The flow does not fail, it in fact does not run at all so I am unable to see diagnostics. Does anyone have any suggestions? Thanks in advance.