Azure-Samples / Azure-Samples/azure-files-samples

Update-AzStorageAccountAuthForAES256 - Access denied

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.