question

MSTechie-7364 avatar image
0 Votes"
MSTechie-7364 asked Grmacjon-MSFT commented

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

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-filesazure-ad-msalazure-webapps-authentication
image.png (127.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MSTeachie-7364,

Just checking to see if the below response helped answer your question.

-Grace

0 Votes 0 ·
Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered

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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

alfredorevilla-msft avatar image
0 Votes"
alfredorevilla-msft answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.