Can we use Managed identity to connect to Azure fileshare from AppService Container mount path option ?

MS Techie 2,676 Reputation points
2020-12-10T05:37:49.49+00:00

Can we use Managed identity to connect to Azure FileShare from Azure App Service container, at the time of mounting the path to App Service windows container. As of today, it uses Access Key.

46777-image.png

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,159 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,844 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,427 questions
{count} vote

Accepted answer
  1. Grmacjon-MSFT 15,696 Reputation points
    2020-12-11T09:54:43.43+00:00

    Currently, you can only use the access key to connect your azure file. keep in mind that this feature is still in preview. If you like to add this as a feature request please leave your feedback here.

    Hope that helps. please let us know if you have other questions

    Thanks,
    Grace

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. 2020-12-11T17:33:47.383+00:00

    Hello, as @Grmacjon-MSFT points out you can not user managed identity to access Azure file shares, however you might try using them to store and access the key in Azure Key Vault and map the share to a drive using powershell or c# code. Alternatively you might want to try the File service REST API which authenticates using the share key too.

    Please let me know if you need more help. If the answer was helpful to you, please accept it and, optionally, provide feedback so that other members in the community can benefit from it.

    0 comments No comments