Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Get-CRMSystemSettings : Cannot bind argument to parameter 'Name' because it is null. #338

Closed
LeftCoastBC opened this issue Oct 19, 2018 · 1 comment

Comments

@LeftCoastBC
Copy link

Starting in version 2.8.1 I get the error message "Get-CRMSystemSettings : Cannot bind argument to parameter 'Name' because it is null." when running Get-CRMSystemSettings. In version 2.8.0 I didn't have this issue.

The Command completes and receives a number of system settings, but this error always shows up twice. I've tested this on 2 Environments.

Connecting to CRMOnline Version 9.0.2.54

PS>Get-CRMSystemSettings -conn $Conn
Add-Member : Cannot bind argument to parameter 'Name' because it is null.
At C:\Users\[me]\Documents\WindowsPowerShell\Modules\Microsoft.Xrm.Data.Powershell\2.8.1\Microsoft.Xrm.Data.Powershell.psm1:3520 char:71
+ ... mber -InputObject $psobj -MemberType NoteProperty -Name $name -Value  ...
+                                                             ~~~~~
    + CategoryInfo          : InvalidData: (:) [Add-Member], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.AddMemberCommand
 
Add-Member : Cannot bind argument to parameter 'Name' because it is null.
At C:\Users\[me]\Documents\WindowsPowerShell\Modules\Microsoft.Xrm.Data.Powershell\2.8.1\Microsoft.Xrm.Data.Powershell.psm1:3520 char:71
+ ... mber -InputObject $psobj -MemberType NoteProperty -Name $name -Value  ...
+                                                             ~~~~~
    + CategoryInfo          : InvalidData: (:) [Add-Member], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.AddMemberCommand
@seanmcne
Copy link
Owner

seanmcne commented Oct 20, 2018

Duplicate of #336 fixed in #337 will go out with the next build. Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants