Thanks for posting your question in the Microsoft Q&A forum.
Grant the Managed Identity the Storage File Data SMB Share Contributor
role on the storage account or file share
Use the Azure SDK in your application to authenticate and access the file share:
using Azure.Identity;
using Azure.Storage.Files.Shares;
var credential = new DefaultAzureCredential();
string storageAccountName = "your_storage_account_name";
string fileShareName = "your_file_share_name";
string endpoint = $"https://{storageAccountName}.file.core.windows.net";
ShareClient shareClient = new ShareClient(new Uri(endpoint), fileShareName, credential);
Managed Identity cannot be used for mounting Azure File Shares directly. It's primarily used for programmatic access through the REST API or SDKs
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful