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."
- 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
Assessment
This issue has not been assessed yet.