web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps Teams Integ...
Power Apps
Answered

Power Apps Teams Integration

(1) ShareShare
ReportReport
Posted on by 2
I've created a power app that works perfectly in power apps studio.  
When I integrate it into teams I can't get it to go to the next screen.  Here is my fx on the Next Icon
 
If(
    IsBlank(Office365Users.MyProfile().Mail),
    Notify("Unable to load profile. Please try again in Power Apps.", NotificationType.Error),
    If(
        IsBlank(StartDate.SelectedDate) || IsBlank(EndDate.SelectedDate) || IsBlank(Reason.Selected.Value),
        Notify("Please select a reason and both dates.", NotificationType.Error),
        Navigate(Screen2, ScreenTransition.Fade)
    )
)
Categories:
I have the same question (0)
  • Suggested answer
    stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    Not quite sure what's meaning  when you say 'integrate it into teams'.
    You can use User().Email when you build the app in Teams instead of use Office365Users connector.
     
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,493 Super User 2025 Season 2 on at
     
    Firstly agree with @stampcoin I would not use that Connector for that check on Email. (aka Mail)
     
    here is what I would like you to try. It will only take a moment and is easier than walking you through Monitor with Teams apps.
     
    Add 4 labels to the screen, you will remove them later, so just humor me
    1. Label1 put in the value your User().Email or if you wish to stick with the connector then so be it put that value in
    2. To setup label 2 make the following change (just comment out your stuff)
    In your IsBlank, instead of the notify put
    Set(notifyValue, "Email was blank");
     
    Then put notifyValue in Label2
     
    3.Label3 Setup
    In your second If in the is blank checks comment out the notify and put
    Set(isBlankCheck, "Something was blank");
     
    then set that as label3
     
    4. For label 4, where your Navigate is, comment it out
    Set(navValue, "I should have navigated");
     
    put that in Label 4
     
    That will tell you the flow, what happened and what didn't.
    If you made it to the Navigate part then we can debug further, if not, then its simply the notifies aren't appearing.
     
    And we need to fix WHY not but at least youll know it was not going to navigate and you assumed no Notifies meant it worked when it actually didnt.
     
  • Michael E. Gernaey Profile Picture
    53,493 Super User 2025 Season 2 on at
     
    Did either response help you? We put a lot of effort in helping folks, its appreciated if you respond so we aren't wasting out time

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard