I have this error message : “An error occurred trying to link your Microsoft username to your freeCodeCamp account.” when I click “Link Account”.
Just try doing one of, ex, Microsoft’s C# courses on their website.
Then follow the link https://learn.microsoft.com/LOCALE/users/NICKNAME/transcript again and there will be a “Share Link” button there