Hi Barbara,
I am not sure how you moved it to OneDrive, but if you did move it, the programs installed after moving would surely break.
Some helpful links here:
https://superuser.com/questions/1250288/can-i-move-my-appdata-folder-in-windows-10
https://www.reddit.com/r/techsupport/comments/1dr6ijp/is_there_a_way_to_reduce_or_move_appdata_to/
I hope this information helps. If you have any more questions, don't hesitate to reach out.
Otherwise, please take a moment to rate the answer. Wishing you good luck!
Standard 3rd party link disclaimer:
There may be links to non-Microsoft websites that provide accurate and safe information. Watch out for ads on websites frequently classified as PUP (Potentially Unwanted Products). There is no need to buy paid products to fix your computers, as they sometimes do more harm than good.