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

Error: Unable to run Update-AzStorageAccountADObjectPassword command to rotate storage account password

Open
#64 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

I am using the latest v0.2.3 version of AzFilesHybrid module.

When running above command on storage account I get the below error:

I have removed the CN & OU values for security reasons, but they are valid and i was able to AD join the storage account correctly with them.

Line |
13547 | $steppablePipeline.End()
| ~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot bind parameter 'Identity'. Cannot convert value "CN={},OU={},OU={}
|,OU={},OU={},DC={},DC={}" to type
| "Microsoft.ActiveDirectory.Management.ADAccount". Error: "Cannot convert the
| "CN={},OU={},OU={},OU={},OU={},DC={},DC={}" value of
| type "Deserialized.Microsoft.ActiveDirectory.Management.ADComputer" to type
| "Microsoft.ActiveDirectory.Management.ADAccount"."

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.