cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SimonTocker
Advocate I
Advocate I

User().Email display UPN value not Email

Hi,

at this point in time Im working with a company that does not use the users Email as the UPN, this is a valid approach, its allowed,  whilst it causes problems with Invites to 365 sites, it is a valid scenario.

When In powerapps,  I I use the function User().Email,  then the users UPN is displayed,   this is not the users Email, but in testing because everyone users an email address in the UPN it is easily missed in testing.

In the picture below I hid the actual text being returned,   but the label below shows the format of the companies UPN,   it would look like   

    X99999@company.com   

The users SAMAccount is the prefix and the companys actual domain is the suffix,   it looks like an email address, but isnt and isnt tied to an exchange alias either.   So it cannot be used as an email,   

The User().Email   function and property needs to get the actual AzureAD email field.


UPN.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

Hi @SimonTocker,

 

This doesn't seem to be about MS Flow. I didn't find anything about MS Flow from the content you provided.

This should be about PowerApps, I wonder that you should have not submitted your issue in the expected community.

You could report your issue in the PowerApps community.

If you have any questions about MS Flow, please provide detailed information, we would provide a proper workaround for you.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

Hi @SimonTocker,

 

This doesn't seem to be about MS Flow. I didn't find anything about MS Flow from the content you provided.

This should be about PowerApps, I wonder that you should have not submitted your issue in the expected community.

You could report your issue in the PowerApps community.

If you have any questions about MS Flow, please provide detailed information, we would provide a proper workaround for you.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

How dumb do I feel this morning 🙂

Thanks Barry will do,  

 

Id delete this topic if I could.

 

Simon

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Users online (3,299)