Azure File share both AD Auth and Managed Identity with Azure Function ?

MS Techie 2,751 Reputation points
2021-06-01T14:56:34.447+00:00

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

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,412 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,867 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,963 questions
0 comments No comments
{count} votes

Accepted answer
  1. MS Techie 2,751 Reputation points
    2021-06-02T17:42:56.11+00:00

    I checked it myself. It is possible.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.