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 Apps
Answered

Weather app issue

(0) ShareShare
ReportReport
Posted on by 3,295

Hi there,

 

I have this app using the MSN weather and I have the following:

 

App OnStart:

Set(myLocation, BingMaps.GetLocationByPoint(Location.Latitude, Location.Longitude))

 

Button:

UpdateContext({Weather: MSNWeather.CurrentWeather(myLocation.name, "Imperial")})

 

Label to check Postal Code Retrieved:

myLocation.address.postalCode

Result: L5A 3C6

 

Label Temp: 

MSNWeather.CurrentWeather(myLocation.address.postalCode,"Imperial").responses.weather.current.temp

 

Label Wind:

MSNWeather.CurrentWeather(myLocation.address.postalCode,"Imperial").responses.weather.current.windSpd

 

Label Humidity:

MSNWeather.CurrentWeather(myLocation.address.postalCode,"Imperial").responses.weather.current.rh

 

And the problem is, sometimes the app only catch the first 3 letters for my postal code and showing this error:

 

Any help?

 

thanks in advance

 

image0.png

 

 

Categories:
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @sajarac ,

     

    The Valid inputs of Location parameter in MSNWeather.CurrentWeather function are City, Region, State, Country, Landmark, PostalCode, and Lat.Long. 

    If the postal code it returns is not complete, please change to use other input.  For example:

    MSNWeather.CurrentWeather(myLocation.name,"Imperial").responses.weather.current.temp

    Or

    Weather.responses.weather.current.temp

     

    Hope this helps,

    Sik

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard