We have a modern communication site inside SharePoint online tenant and we want to add a modern web part to a modern page to show the Weather of the login-in User location. Now we added the built-in Weather SharePoint modern web part, as follow:

enter image description here

But seems it only allow to specify a static location, or can we force it to dynamically show the weather of the login location?

If this is not possible with the built-in Weather web part, is there any 3rd part web parts we can use to achieve our need?


1 Answer 1


This is not possible using out of the box weather web part in SharePoint online.

This web part only shows the weather of location(s) you choose in web part configuration.

If you want to show the weather of currently logged in user, you have to develop custom SPFx web part on your own.

Here's one sample which will help you to get started with: Weather Information


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.