If you have migrated from Active Directory Domain Services back to Microsoft Entra Kerberos Authentication for Azure files , then you will need to go through Whitelisting the App from 2fa and setting up API Permissions as it deleted and recreates an app if you have already set this up

