You can try the following:
Find this path in MSFS 2020
C:\Users\YourUser\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache
You will see an .xml called exe
copy it and take it to this other route:
C:\Users\YourUser\AppData\Local\Packages\Microsoft.Limitless_8wekyb3d8bbwe\LocalCache
Now search for this path in MSFS 2020
C:\Users\YourUser\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\SystemAppData\wgs
copy and take it to this other one from MSFS 2024
C:\Users\YourUser\AppData\Local\Packages\Microsoft.Limitless_8wekyb3d8bbwe\SystemAppData\wgs
(IMPORTANT MAKE A BACKUP OF THIS FOLDER BEFORE REPLACING WITH THE MSFS 2020 FOLDER)
Try now to see if it saves your settings.