Hi Saeed Dudhia,
Thank you for reaching out to Microsoft Q & A forum.
The issue where the Blazor Web App returns to the home page after clicking the Weather link is likely due to an authentication or authorization misconfiguration. Here are a few things to check:
1.Authentication Token: Ensure the app retains the login token by checking browser storage.
2.Authorization Settings: If the Weather page requires authorization, verify that the user has the correct roles and permissions in Azure Entra ID.
3.Redirect URI Configuration: Confirm that the redirect URIs in Azure Entra ID match those in appsettings.json.
4.Navigation Behavior: Check if any code is unintentionally redirecting users back to the home page.
5.API Permissions: If the Weather page loads data from an API, make sure the required permissions are granted in Azure Entra ID.
To troubleshoot, try accessing the page without authentication and check the browser console logs for any errors.
If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.