web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Enable Dynamics CRM tracing using Powershell

(0) ShareShare
ReportReport
Posted on by 1,947 Most Valuable Professional

I needed to turn on tracing for an issue, and thought I would try to use Powershell instead of modifying the registry like I normally do.  I figured that learning this method would work well for some of our multi-server clients.

For some strange reason, I can seem to get it to log anything.  It will create the files, but they remain blank.

Attached is a screen shot of my steps:

2016_2D00_04_2D00_14_5F00_15_2D00_05_2D00_38.png

When enabled, log files will get created in the Trace folder but remain blank, even after a flurry of activity on CRM.

I disabled, then turned on tracing via Registry, and the logs began to fill up as expected.

Anyone run into this and/or see the obvious mistake I am making?  I even tried on a couple of different deployments.

Cheers

Nick

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans