You must use either Active Directory Domain Services or Azure Active Directory Domain Services to authenticate. Once that is setup you should be able to map the drive and the connection will persist. See Mapping a Network Drive to an Azure File Share Using Domain Credentials for more information and a walk through.
Hope this helps! Let us know if you have further issues or questions and we will be happy to assist.
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.