You need to use the link to sign in to apps that don’t support multifactor authentication. Your app or device will generate a code, and you must access microsoft.com/link to sign in.