In order to use the 2-factor authentication, LinkedIn recommends to the Microsoft Authenticator app. At times, it’s possible that the app can’t scan the QR code, which results that you cannot enable the 2-factor authentication.
As an alternative, it is possible to use the Google Authenticator app or another app you can find on Google Play Store or Apple App Store.