I checked it myself. It is possible.
Azure File share both AD Auth and Managed Identity with Azure Function ?
We have a single Azure File Share , which is accessed by 2 resources namely
1) Azure function to Azure File Share
2) On-Premises VM via file mount option using AD Authentication (not Azure AD, but on-prem AD) https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-active-directory-enable
Can we use Managed Identity while connecting to Azure File Share from Azure Function and for the same azure function , can we use AD Authentication , while accessing from a domain joined on-premises VM ?
So can we have both MSI and on-prem AD authentication at sametime for Azure File share ? i think it is possible , but need your answer please.
Please help