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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Office365Outlook.GetMa...
Power Apps
Unanswered

Office365Outlook.GetMailTipsV2

(0) ShareShare
ReportReport
Posted on by 2

I have a datacard in a gallery. I have set the OnChange pproperty to change the text in a label field with the following 

 

I have set the variable UATONAME to the email address that is in the data card value with the following code

 

Set(UATONAME,Gallery1.Selected.Mail)

 

followed by the command

 

Label2.Text = Office365Outlook.GetMailTipsV2("automaticReplies",UATONAME)

 

This does not work and i'm stumped!! Does anybody have any ideas. Basically i'm in a power app that is used to assign a user a task. If the user's Out of Office is on I want to return a message when that user is selected so the assignor is able to select another assignee. Any assistance would be appreciated.

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,565 Super User 2026 Season 1 on at

    Hi @Walker365 ,

     

    It seems a similar question was asked recently, so I hope the answer to your question is also in there: https://powerusers.microsoft.com/t5/Building-Power-Apps/Office365Outlook-Connector-GetMailTipsV2-Usage/td-p/1668906

  • Walker365 Profile Picture
    2 on at

    Thanks. I'd already seen that post but it didn't address the issue. It's a bit of a mystery! If i was doing a power automate the functionality seems quite straight forward. I may have to look at calling a flow and returning the output of that back to the app.

  • BCBuizer Profile Picture
    22,565 Super User 2026 Season 1 on at

    Hi @Walker365 ,

     

    What is it your are running into?

     

    Edit:

    I got this to work using by adding the below to a button.Onselect:

    Set(varTips, Office365Outlook.GetMailTipsV2("automaticReplies",["user@mail.onmicrosoft.com"]).value)

     

    And then the below to a label.Text:

    First(varTips).automaticReplies.message

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard