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 / Refreshing Office365 o...
Power Apps
Unanswered

Refreshing Office365 outlook email on button click

(1) ShareShare
ReportReport
Posted on by 94

Hi everyone! I am trying to add a refresh button on canvas app. I have a gallery where I added html text control to show the email body. I have added a fx function onselect property ex: Refresh(BrowseGallery1_1.AllItems). But when I click the button it is showing error message (only managed connection can be refreshed.

 

Is there any way to solve this prob?

 

Kindly help.

 

Thanks

1.png
Screenshot 2024-07-02 114342.png
Categories:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @SyedHasan ,

     

    The Refresh function retrieves a fresh copy of a data source. Data sources can be connected to a cloud service, or they can be local to an app. Understand data sources for canvas apps - Power Apps | Microsoft Learn

     

    Gallery.AllItems not data source. I recommend you refresh data source connected to the gallery.

     

    Best regards,

    Rimmon

     

  • SyedHasan Profile Picture
    94 on at

    Yes I know it refresh only the datasources. But is there any way to solve this issue? Coz it is not showing the latest email from outlook inbox. Can I solve this with Power Automate?

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @SyedHasan ,

     

    Please try this. Use variable to force a refresh of the data source.

    Solved: Refresh a gallery that displays my outlook calenda... - Power Platform Community (microsoft.com)

     

     

    Best regards,

    Rimmon

  • SyedHasan Profile Picture
    94 on at

    I am trying to retrieve the latest email from outlook inbox.

     

    Thanks

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 547

#2
WarrenBelz Profile Picture

WarrenBelz 444 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard