So, I have followed the instructions in KB 907490 (how to enable tracing inMicrosoft Dynamics CRM) but I cannot get it to work. The powershell snapin is registered and adds in fine, but when I run Get-CrmSetting TraceSettings (or any other category under Get-CrmSetting) I get the following error:
get-crmsetting : The remote server returned an error: (404) Not Found.
At line:1 char:1
+ get-crmsetting tracesettings
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (Microsoft.Crm.P...rmSettingCmdlet:GetCrmSettingCmdlet) [Get-CrmSetting
], WebException
+ FullyQualifiedErrorId : CRM Deployment Cmdlet Error,Microsoft.Crm.PowerShell.GetCrmSettingCmdlet
I have googled this for days with no result. Some solutions state that the FQN of the site is not correct in the registry, so I passed -dwsserverurl to the command (with creds of course) and then I get a 401 unauthorized instead. We are using the default applicationpoolidentity as opposed to a service account, so as far as I know permissions shouldn't be an issue. I am not even 100% sure what the dws server url is supposed to be. I am new to CRM. I suspect it might have something to do with SPNs but I didn't think they'd require configuration because we are not using kerberos and I went with the default applicationpoolidentity users (NETWORK SERVICE I believe) on install.
If anyone has any thoughts on this I would really appreciate any help, sorry I am so green.
*This post is locked for comments
I have the same question (0)