Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Files Storage Account Kerberos Failures after Active Directory November 8 Kerberos Update - RC4-HMAC encryption #129

Open
desmphil opened this issue Nov 11, 2022 · 0 comments

Comments

@desmphil
Copy link

desmphil commented Nov 11, 2022

Azure Files Storage Account Kerberos Failures after Active Directory November 8 Kerberos Update - RC4-HMAC encryption

KB5021131: How to manage the Kerberos protocol changes related to CVE-2022-37966

Im trying to change the Storage Account Encryption to 256, it worked for a lot of storage account but not all of them.

These Azure Files Storage Active Directory integrated where created more than 2Years ago at release.

PS C:\windows\system32> Update-AzStorageAccountAuthForAES256 -ResourceGroupName $ResourceGroupName -StorageAccountName $StorageAccountName

Get-AzStorageAccountADObject : Cannot convert 'System.Object[]' to the type 'Microsoft.ActiveDirectory.Management.ADComputer'
required by parameter 'Identity'. Specified method is not supported.
At C:\LOGS\AzFilesHybrid.psm1:3767 char:33

  •     $azureStorageIdentity = Get-AzStorageAccountADObject `
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Get-AzStorageAccountADObject], ParameterBindingException
    • FullyQualifiedErrorId : CannotConvertArgument,Get-AzStorageAccountADObject

You cannot call a method on a null-valued expression.
At C:\LOGS\AzFilesHybrid.psm1:3772 char:9

  •     $samAccountName = $azureStorageIdentity.SamAccountName.TrimEn ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

Set-StorageAccountDomainProperties : AD object epqsystemdata is of unsupported object class .
At C:\LOGS\AzFilesHybrid.psm1:4321 char:13

  •         Set-StorageAccountDomainProperties `
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-StorageAccountDomainProperties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant