Azure AD authentication with .NET framework

Viewed 462
1 Answers

AFAIK it is not possible to connect to your File Share Service using Azure AD i.e; managed identity at least with azure SDK version 12.8.0 as you can check constructor options available for ShareServiceClient are limited to that.Currently, you can only use the access key to connect your azure file.

You acn use (SAS)Shared Access Signature, or Storage Account Name/Key or specify Storage Account connection string to connect to your File Service.

Azure Files supports identity-based authentication over Server Message Block (SMB) through on-premises Active Directory Domain Services (AD DS) and Azure Active Directory Domain Services (Azure AD DS) . See how to Enable Azure Active Directory Domain Services authentication on Azure Files in portal.

You can check some Faq regarding azure ad here

You can raise a feature request over here.

References:

  1. dotnet api-azure/storage.files.shares
  2. Using c# for azure file storage sample
Related