Azure-Samples / Azure-Samples/azure-files-samples
Update-AzStorageAccountAuthForAES256 - Access denied
Open
- Dominant language
- PowerShell
- Stars
- 261
- Forks
- 202
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 4
Description
My Azure Control Plane account does not have write access to Active Directory.
Is it possible to supply separate credentials for the AD operations?
```powershell
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
'' of type 'ServiceLogonAccount'.
```
Contributor guide
Assessment
This issue has not been assessed yet.