Additional settings-related features and issues within Microsoft Teams Free
Looks like the LinkedIn link is pointing to an URL that's only for work/school account, not for personal account.
When you first sign into your personal account in Teams, did you receive a pop up asking you to pick Personal or Work/school?
I know this used to work, but I can confirm it is not working on my Teams now either.