azure-files-samples
azure-files-samples copied to clipboard
Update-AzStorageAccountAuthForAES256 - Access denied
My Azure Control Plane account does not have write access to Active Directory.
Is it possible to supply separate credentials for the AD operations?
Update-AzStorageAccountAuthForAES256 -ResourceGroupName $resourceGroupName -StorageAccountName $storageAccountName
Remove-ADObject: Access is denied.
Write-Error: It is not supported to create an AD object of type 'ComputerAccount' when there is already an AD object
'<suppressed>' of type 'ServiceLogonAccount'.