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 / MSN Weather slowly ref...
Power Apps
Unanswered

MSN Weather slowly refreshes after every 4-5 calls

(0) ShareShare
ReportReport
Posted on by 20

A part of the app I am creating has a 2-day forecast built in, and it works fine, everything loads as expected, using both user inputted results and their current location, and has radio buttons to choose the measurement system. However, as I go through the section, testing if each weather combination works, about 4-5 calls in, the 3 loading dots appear above the app, as if it is refreshing, and will contone for about 2-3 mins until it brings up the result. The 3-4 calls beforehand load near instantly, and the 3-4 calls after are fine too, but every 4-5 calls, it repeats does the same extra long load. Is there a trick I'm missing, or is it just on their end, and I'm just overloading the service?

 

Here is the OnSelect code which runs when the user updates the location (which comes from a dropdown), the measurement system, or presses the reload button. It's not the most efficient method in the world, but I don't think it should be causing this issue.

Set(_location, Concatenate(Location.Latitude, ",", Location.Longitude));
UpdateContext(
 {
 varWeatherToday: MSNWeather.TodaysForecast(
 If(addressDropdown.Selected.Title = "Current Location", _location, addressDropdown.Selected.Title),
 radioUnits.Selected.Value
 ).responses,
 varWeatherTomorrow: MSNWeather.TomorrowsForecast(
 If(addressDropdown.Selected.Title = "Current Location", _location, addressDropdown.Selected.Title),
 radioUnits.Selected.Value
 ).responses,
 varWeather:true
 }
)

 

Categories:
I have the same question (0)
  • adam_nbora Profile Picture
    20 on at

    Here's a little more info from the Monitor for anyone who can help. You can see that, despite the Response Size being normal, the duration is much larger.

    Screenshot 2022-07-08 at 16.33.34.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard