-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Description of the new feature
Include AzureFilesIdentityBasedAuth AD Propertie as part of the data displayed by cmdlet Get-AzStorageFileServiceProperty to get the type of domain identity based enabled on the storage account AD, AADS or AAD Kerberos
Proposed implementation details (optional)
Include AzureFilesIdentityBasedAuth ActiveDirectoryProperties as part of the data displayed by cmdlet Get-AzStorageFileServiceProperty
Currently, this is the only approach to pull that info from PS. However, it doesn't tell you what kind of domain authentication you are using AD, EntraDS or AAD Kerberos, output just give you details of the domain
Get the target storage account
$storageaccount = Get-AzStorageAccount -ResourceGroupName "<your-resource-group-name-here>"
-Name ""
List the directory service of the selected service account
$storageAccount.AzureFilesIdentityBasedAuth.DirectoryServiceOptions
List the directory domain information if the storage account has enabled AD DS authentication for file shares
$storageAccount.AzureFilesIdentityBasedAuth.ActiveDirectoryProperties