Hi all
To enable Microsoft Dynamics CRM deployment-level tracing (on-premises versions only)
I write the following command
PS D:\Users\Administrator> $Setting = Get-CrmSetting TraceSettings$Setting.Enabled = $True$Setting.CallStack=$True$Setting.Categories="*:Verbose"Set-CrmSetting $setting
in the response I get the following error :
Get-CrmSetting : Cannot validate argument on parameter 'SettingType'. The argument "TraceSettings.Enabled" does not
belong to the set "AsyncSettings,ClaimsSettings,OAuthClaimsSettings,DashboardSettings,DupSettings,IfdSettings,ImportSet
tings,MonitoringSettings,TraceSettings,WebAddressSettings,WorkflowSettings,ServerSideSyncEmailSettings,ServerSideSyncQu
eueSettings,ServerSideSyncACTSettings,SqmSettings,MarketplaceSettings,EtmSettings,ThrottleSettings,CustomCodeSettings,Y
ammerSettings,TeamSettings,MultiEntityQuickFindSettings,QuickFindSettings" specified by the ValidateSet attribute.
Supply an argument that is in the set and then try the command again.
At line:1 char:27
+ $Setting = Get-CrmSetting TraceSettings$Setting.Enabled = $True $Setting.CallSta ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-CrmSetting], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Crm.PowerShell.GetCrmSettingCmdlet
Where I wrong. Any one please suggest me?