xbox achivements

when we sing in to epic games using an Xbox account we should get achievements on our account when playing a game for example “I’m playing gta5 and I finished a mission or whatever I should get an achievement for that on Xbox”

And by Xbox I mean Xbox on windows 10 but I guess Xbox one is ok too