Hi @Jorgen Bois
Azure file share can be accessed via the full UNC path of the file share, it cannot be reached by the drive mapping. When logged in as an interactive user.
Refer - Your question is already answered it may help you.
Tips & Tricks for Azure File Shares
IIS and Azure Files
Troubleshoot Azure Files problems in Windows (SMB)
If the Answer is helpful, please click Accept Answer
and up-vote, this can be beneficial to other community members.