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

Update-AzStorageAccountADObjectPassword: Exception calling "ShouldProcess" with "3" argument(s): "Object reference not set to an instance of an object."

Open
#152 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
261
Forks
202
Avg merge
1d 5h
Merged PRs (30d)
4

Description

Using v0.2.7
Running in PowerShell 7.3.6

```pwsh
Join-AzStorageAccountForAuth `
-ResourceGroupName $resourceGroupName `
-StorageAccountName $storageAccountName `
-Domain $domain `
-DomainAccountType "ComputerAccount" `
-OrganizationalUnitDistinguishedName $ouDistinguishedName `
-OverwriteExistingADObject `
-EncryptionType "AES256" `
-SamAccountName $samAccountName `
-Verbose `
-ErrorAction Stop
```

```pwsh
Update-AzStorageAccountADObjectPassword: Exception calling "ShouldProcess" with "3" argument(s): "Object reference not set to an instance of an object."
+ CategoryInfo : NotSpecified: (Update-A...an object.":String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
+ PSComputerName : localhost
```

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.