SecurityDynamics 365

Plug-in trace logs in Dataverse go blank for custom roles in January 2027: what to grant before then

From January 5, 2027, Dataverse blanks three plug-in trace log columns for anyone who isn't a System Administrator or System Customizer. Here's who needs the new prvViewPluginTraceLogSecureContent privilege, and why the secrets in those columns need rotating anyway.

Cohash Enterprise Platforms Practice December 2026 17 min read 7 chapters 3-question check
part 25 of 25 · Running enterprise platforms well
01 Plug-in runs writes a trace 02 3 columns message, configs 03 Role check from Jan 5, 2027 04 Named readers new privilege

the ideaSame trace row, fewer readers. The new privilege decides who sees the detail.

after reading, you can
  • Work out who loses trace detail, including the integration accounts nobody thinks about
  • Set up a small role that carries prvViewPluginTraceLogSecureContent for the people who need it
  • Move plug-in secrets out of step configuration into Key Vault, then rotate what was exposed

From January 5, 2027, Dataverse starts blanking three columns in the plug-indefinitionCustom .NET code that Dataverse runs when a record changes, say when someone saves an account. Developers register each one against a table and a message, and it runs whenever that message hits that table. trace logdefinitionThe PluginTraceLog table, where Dataverse saves the notes a plug-in writes through its tracing service. A daily job deletes rows older than 24 hours. for anyone who isn't a System Administrator or System Customizer. Developers and support staff on custom roles will open a failed plug-in's trace and find the useful part empty. Decide who still needs those columns and add the new privilege to their role before the rollout reaches your region.

in plain wordsAccess change: from January 5, 2027

From January, only admins and the people you pick can read the sensitive parts of a plug-in's debug log

Dynamics 365 and Power Apps run on a database called Dataverse. Developers add custom code to it, called plug-ins, and when a plug-in runs it can write notes about what it did into a log. Two of those log fields can also hold a copy of the settings the plug-in was given, and those settings sometimes include passwords or keys. Right now anyone allowed to read the log sees all of it. From January 2027 only admins, customizers and people you pick will see those three fields. Everyone else still sees that a plug-in ran and whether it failed, just without the detail.

think of it like this

Think of a building's maintenance logbook. Anyone with a key to the office can flip through it, and some engineers have been writing the alarm code next to each repair. The building manager now staples those pages shut. You can still see which machine broke and when, but only staff on the manager's list can open the stapled pages.

who should care
  • Dynamics 365 and Power Platform admins
  • Plug-in developers and ISVs
  • Support teams who read trace logs
  • Security and audit teams
  • Partners who support a client's CRM
chapter 01

Why does a debug log need locking down?

3Columns going blank for most users: Message Block, Configuration, Secure Configuration
Jan 5, 2027Regional rollout starts. Add the privilege before this date
Mar 31, 2027Microsoft says it's fully enforced everywhere by then
24 hoursAge at which the daily cleanup job deletes a trace row

Plug-ins get registered with two configuration strings. Microsoft's developer docs tell you to put anything you don't mind people seeing in the unsecure one and sensitive data in the secure one, and they say the secure string is stored in a separate table only system administrators can read. Trace rows carry both strings too: Microsoft's docs describe those two columns as the configuration passed to the plug-in step. So a support analyst who could never open the secure configurationdefinitionA string passed to a plug-in step for sensitive settings. At its source only system administrators can read it, but trace rows have carried a copy. directly could read it in a trace, as long as their role let them read trace logs.

Microsoft says it plainly in the notice: these columns can hold plug-in configuration values and other sensitive data, and today any user who can read plug-in trace logs can see them. The Message Block column carries a risk of its own, because it holds whatever the developer chose to trace. A line that dumps a request body or a connection string during a late-night fix can stay in the code long after the fix.

The notice is tagged as a user and admin impact change, and there's no CVE attached. The risk is quieter than a vulnerability. Trace logs get read by developers, support staff, partner consultants and integration accounts, and every one of those roles is a place a key can leak from.

what changesFollow one trace row through the change, before and afterThe row itself doesn't change. Fewer people get to read three of its columns, and that's the whole change.
  1. 01 A plug-in step runs

    Each time the step fires, Dataverse gives the plug-in both configuration strings, and the code calls Trace() wherever the developer left a note.

  2. 02 A trace row is written

    With logging switched on, the notes end up in Message Block. The same row has columns for both configuration strings as well.

  3. 03 Someone opens the trace

    They might use the Plug-in Trace Log tile, the Web API or a community viewer such as XrmToolBox's Plugin Trace Viewer.

  4. 04 Dataverse checks the role

    System Administrator, System Customizer or a role holding prvViewPluginTraceLogSecureContent gets all three columns.

  5. 05 Everyone else gets blanks

    The row still opens. Type name, message, entity and exception details stay visible, but the three columns come back empty.

For engineers: Microsoft's tracing page says a caller without the right role gets null for these columns from the app tile, the Web API or a community tool. It also says the System Administrator role counts when it comes through a team, so users who get admin rights through team membership aren't caught out.

chapter 02

What exactly is Microsoft changing?

The change at a glance

changedMessage Block is restricted

The trace text your code wrote with Trace(). It's capped at 10 KB per row, so it keeps the most recent lines. After the change it's empty for anyone without the right role.

changedConfiguration is restricted

The unsecure string from the step registration. Developers are told it's for values they don't mind others seeing, so go and check what yours actually holds.

changedSecure Configuration is restricted

The secure string. At its source only system administrators could ever read it, so the copy in trace rows was the weak spot.

newprvViewPluginTraceLogSecureContent

A new privilege you can add to a security role. It lets that role read the three columns without handing out System Administrator or System Customizer.

changedOther columns stay as they are

Type name, message name, primary entity and exception details are still readable under the caller's normal table privileges. You can see what failed, just not the trace text.

changedAdmins and customizers keep access

System Administrator and System Customizer aren't affected, so most developers who already hold one of those roles won't notice anything.

tableWho can read the three columns now, and who can once it's enforced
WhoToday, per the noticeAfter the rolloutWhat to do
System Administrator, directly or through a teamEverythingEverythingNothing
System CustomizerEverythingEverythingNothing, but check whether they really need the role
Custom role that reads trace logs, with the new privilegeEverythingEverythingAdd the privilege before January 5, 2027
Custom role that reads trace logs, without itEverythingRow opens, three columns emptyDecide: grant the privilege or accept the blanks
Role with no read access to the trace tableNothingNothingNothing

Dates to plan around

  1. Sep 14, 2026
    Learn tracing page updated

    That page already describes restricted columns, but it names System Administrator only.

  2. Dec 3, 2026
    MC1577303 published

    Microsoft's notice names the three columns, both roles and the new privilege. It also says the change goes out region by region.

  3. Jan 5, 2027
    Rollout starts by region

    Microsoft hasn't said which regions go first, so add the privilege before this date.

  4. Mar 31, 2027
    Fully enforced

    Every region has the restriction by now.

The regional rollout cuts both ways. A tenant in a late region might keep full access until March, while its partner's support team works in a tenant that changed in January. If you support several clients, expect the same role to behave differently from one tenant to the next for about three months.

chapter 03

Who needs to do what before January 5?

What to do now, by role

Business ownerthis month
  • Ask your Dynamics admin or partner one question: who reads our plug-in trace logs, and do they still need the full detail?
  • Agree that granting the new privilege goes through the same approval as any other access request.
  • If a partner supports your CRM, ask them how they'll debug failed plug-ins once the detail is hidden.
Power Platform adminbefore Jan 5, 2027
  • List the security roles with read access to the Plug-in Trace Log table, then the users and teams holding them.
  • Create one small role that carries only prvViewPluginTraceLogSecureContent, and assign it to named people instead of widening a broad support role.
  • Check application users and integration accounts that pull trace logs through the Web API. They'll get nulls too.
  • Test with a non-admin account in a sandbox once your region has the change.
Developers and ISVsthis quarter
  • Search plug-in code for Trace() calls that write tokens, connection strings, request bodies or personal data, and remove them.
  • Move secrets out of step configuration into Azure Key Vault, and have the plug-in fetch them through Power Platform managed identity.
  • Don't build exception messages from secrets. Exception details stay visible to everyone who can read the row.
Security and auditthis quarter
  • Treat any secret that has ever sat in a step's configuration as exposed to every trace-log reader, and plan a rotation.
  • Add the new privilege to Dataverse access reviews. Whoever holds it can read whatever developers traced.
  • Ask whether trace exports, ticket attachments or spreadsheets from past incidents still hold configuration values.
check-trace-columns (example request and output)example output
# Sign in as a test user who isn't an admin
# Try it once Microsoft lists your region
GET <org-url>/api/data/v9.2/plugintracelogs
  ?$select=typename,messagename,
  messageblock,configuration&$top=1
# example output for a user without the privilege
{ "typename": "Contoso.Plugins.AccountSync",
  "messagename": "Update",
  "messageblock": null, "configuration": null }

If the test user still gets text back after Microsoft says your region has the change, check which roles reach them through teams before raising a ticket. Privileges add up across every role a user holds, so one forgotten team membership is enough to hand someone the privilege.

chapter 04

Where can trace text still turn up?

The notice covers three columns in one table. Trace text travels further than that, and Microsoft's docs describe at least three other places it appears. The notice doesn't mention any of them, so don't assume they change.

tablePlaces trace or log output can show up, and whether the December notice does anything about it
WhereWho sees itCovered by the notice?What we'd do
Plug-in Trace Log tableUsers whose role can read itYes, the three columnsGrant the new privilege to named people only
Error dialog for a failed synchronous plug-inThe user who hit the error, through Download Log FileNot mentionedKeep secrets out of Trace() calls entirely
System job details for a failed asynchronous plug-inUsers who can open that system jobNot mentionedSame: fix it in the code
Web API error responseThe calling app or user, in the TraceText annotation of Microsoft's exampleNot mentionedCheck what your integrations log from error bodies
Application Insights, through ILoggerWhoever has access to that Azure resourceNo, it's outside DataverseReview Azure access on the resource
Exports from community toolsWhoever holds the fileNoFind old exports in tickets and shared drives

The error dialog is the one that catches teams out. Microsoft's tracing page says a synchronous plug-in that throws shows the signed-in user an error with a Download Log File button, and that file holds the exception and the trace output. That's an ordinary business user, and nothing in the notice talks about it.

Application Insights is a separate case. Plug-ins that use the ILogger interface write to your own Azure resource when the integration is turned on, and Microsoft says that telemetry is never sent to Microsoft. Access there follows Azure permissions, so a Dataverse role change does nothing for it. If your developers log the same detail through both channels, review who can query that resource too.

Exports are the copies nobody tracks. The XrmToolBox Plugin Trace Viewer, a community tool Microsoft points to but doesn't support, can export trace rows with their details to Excel. A spreadsheet attached to a support ticket two years ago keeps whatever was in Message Block that day, long after Dataverse's 24-hour cleanup.

chapter 05

Harden so the next one hurts less

Hiding the columns only changes who reads the traces. What lasts is fixing what gets written, so secrets stop landing where a trace can copy them. Here's the order we'd work in.

before

Before: secrets ride along in every trace row

The API key sits in the step's secure configuration. Trace rows carry a copy in their Secure Configuration column, and any role that can read trace logs can read the key.

Before: secrets ride along in every trace row The API key sits in the step's secure configuration. Trace rows carry a copy in their Secure Configuration column, and any role that can read trace logs can read the key. 01 · PLUG-IN STEP 02 · TRACE ROW 03 · READERS copied into traces Step registration secure config holds API key Plug-in code traces request bodies Secure Configuration copy of the key Message Block payloads, tokens Support role reads trace logs Integration account pulls traces by API © Cohash · cohash.com
01 · PLUG-IN STEP02 · TRACE ROW03 · READERS Step registration: secure config holds API key Stepregistration secure configholds API key Plug-in code: traces request bodies Plug-in code traces requestbodies Secure Configuration: copy of the key SecureConfiguration copy of the key Message Block: payloads, tokens Message Block payloads, tokens Support role: reads trace logs Support role reads trace logs Integration account: pulls traces by API Integrationaccount pulls traces byAPI copied into traces © Cohash · cohash.com
after

After: secrets in Key Vault, traces kept thin

The key lives in Azure Key Vault, and the plug-in fetches it at run time through Power Platform managed identity. Traces carry IDs and steps only, and the three columns open only for a small named role.

After: secrets in Key Vault, traces kept thin The key lives in Azure Key Vault, and the plug-in fetches it at run time through Power Platform managed identity. Traces carry IDs and steps only, and the three columns open only for a small named role. 01 · PLUG-IN STEP 02 · TRACE ROW 03 · READERS value at run time blank columns Step registration no secrets Azure Key Vault reached by managed identity Message Block record IDs, step names Trace reader role named developers only Support role sees what failed, no detail © Cohash · cohash.com
01 · PLUG-IN STEP02 · TRACE ROW03 · READERS Step registration: no secrets Stepregistration no secrets Azure Key Vault: reached by managed identity Azure Key Vault reached by managedidentity Message Block: record IDs, step names Message Block record IDs, step names Trace reader role: named developers only Trace readerrole named developersonly Support role: sees what failed, no detail Support role sees what failed,no detail blank columns © Cohash · cohash.com
side by sideOne plug-in estate, run with the old habits and then with the ones we'd put in place
Old habits
  • API keys and passwords go in secure step configuration, and trace rows can carry a copy
  • Trace() dumps request bodies to help with a fix
  • Trace logging left on All in production for weeks
  • A broad support role reads every trace
  • Trace exports pasted into tickets
New habits
  • Secrets stay in Key Vault, and the plug-in fetches them at run time through managed identity
  • Traces log record IDs and step names, never payloads
  • Logging on Exceptions, or Off, except while someone is debugging
  • The new privilege sits in one small role that gets reviewed like any other access
  • Tickets link to the trace row instead of copying it

Durable fixes, in the order we'd do them

  1. 01
    Find secrets in step configuration

    Open each registered step in the Plug-in Registration tool and read both configuration fields. Anything that looks like a key, password or connection string goes on a list with its owner.

  2. 02
    Move them to Key Vault

    Set up Power Platform managed identity for the plug-in and grant it access to Azure Key Vault, so it fetches secrets at run time with no stored credential. It needs a signed assembly plus an app registration or user-assigned managed identity. Key Vault environment variables won't help here. Microsoft documents them for flows, custom connectors and Copilot Studio agents, and plug-ins aren't on that list.

  3. 03
    Rotate what was exposed

    Once a key has sat in a trace-readable column, assume someone could have seen it. Rotate it after the code change is live, not before, or the plug-in breaks.

  4. 04
    Clean up what code traces

    Review Trace() calls in code review the way you'd review log statements in a web app. Keep record IDs, step names and timings. Drop payloads and anything a customer typed.

  5. 05
    Turn logging down

    Microsoft warns against leaving trace logging on for long because of performance. Use Exceptions in production, or Off, and switch to All only while someone is debugging.

  6. 06
    Keep the privilege small

    Give prvViewPluginTraceLogSecureContent through its own role, assign it to named people, and put that role into your regular access reviews.

chapter 06

If it goes wrong

When support can't debug, or someone finds a secret in a trace

Two things go wrong with a change like this. Support loses the detail it needs in the middle of an incident, or the review turns up a secret that's been sitting in trace logs. Work through the phases in order.

  1. 01Triagefirst hour
    • If support can't read traces during an incident, have a System Administrator or System Customizer pull the row for now.
    • Check whether Microsoft has switched the user's region yet. Then check their teams, since a team role may already carry the privilege.
  2. 02Restore accesssame day
    • Assign the small trace-reader role to the people working the incident, and note when to take it away.
    • Don't hand out System Administrator to fix a debugging gap. The new privilege exists so you don't have to.
  3. 03Check for exposurefirst day
    • If a key or password turns up in a trace or step configuration, list every role, team and integration that could read trace logs.
    • Look for copies outside Dataverse: ticket attachments, exported spreadsheets, Application Insights queries.
  4. 04Rotate and fixthis week
    • Move the secret into Key Vault, deploy the plug-in change, then rotate the old value at the system that issued it.
    • Remove the Trace() line that wrote it, and look for the same pattern in other plug-ins.
  5. 05Report and learnthis month
    • If the secret opened customer or regulated data, bring in security and legal to decide who needs to be told.
    • Put trace content on the code review checklist. Add the new privilege to access reviews so nobody keeps it for good.
chapter 07

What this could look like: three typical setups

Three illustrative situations

01 Plug-in fails sync update 02 Analyst openstrace custom role 03 Columns blank no privilege 04 Trace-readerrole named analysts
scenario 01Medium risk
A partner's support team on a custom role
the setup
A retailer's Dynamics 365 Customer Service is supported by a partner whose analysts hold a custom Support Engineer role. It reads trace logs so they can debug failed plug-ins without admin rights.
what happens
The rollout reaches the tenant mid-month. A sync plug-in fails, the analyst opens the trace and finds Message Block empty. The ticket waits while someone hunts for an admin.
what to do
Create a trace-reader role with only the new privilege and assign it to the named analysts before January 5. Leave the broad support role alone so the privilege stays easy to review.
01 Key in secureconfig per step 02 Copied totraces every run 03 Columnshidden from Jan 2027 04 Key Vault,rotate closes the past
scenario 02High risk
An API key in secure configuration
the setup
A distributor's order plug-in calls a shipping API. The developer stored the API key in the step's secure configuration, as the docs suggest, and trace logging has been on All since a fix two years ago.
what happens
Trace rows carried the key in their Secure Configuration column, and any trace-log reader could open them. The change hides it from January, but the key has been readable for two years.
what to do
Move the key into Key Vault and have the plug-in fetch it through managed identity. Deploy, then rotate the key with the shipping provider and set logging back to Exceptions.
01 Hourly APIpull application user 02 messageblocknull after rollout 03 Dashboardblank no alert 04 Decide andgrant or drop the column
scenario 03Low risk
A monitoring feed that goes quiet
the setup
A manufacturer's integration team has an application user that reads plugintracelogs through the Web API every hour and pushes failures into their monitoring dashboard, Message Block included.
what happens
After the rollout the feed keeps running, but the message text comes back null. Nobody gets an error, and the dashboard shows failures with no detail.
what to do
Decide whether the feed needs trace text at all. If it does, add the privilege to that application user's role. If it doesn't, drop the column from the query so nobody wonders where it went.

Dataverse security roles are identity work, and we'd treat them that way: one small role per job, reviewed on a schedule, with secrets kept out of places that get copied. See our Dynamics 365 work, our Power Platform work, the engineers we place on Dynamics projects, or start with a free assessment.

key takeaways

What to take from this

  1. 01

    From January 5, 2027, Message Block, Configuration and Secure Configuration in plug-in trace logs go blank for anyone without System Administrator, System Customizer or prvViewPluginTraceLogSecureContent.

  2. 02

    Find every role and integration that reads trace logs, and give the new privilege through one small role to named people.

  3. 03

    Hiding the columns doesn't undo past exposure. Move secrets from step configuration into Key Vault, then rotate them.

  4. 04

    The trace table isn't the only copy. Error dialogs and old exports can carry the same text, so fix what your code writes as well as who reads it.

fact-checked December 2026 against vendor and official documentation · where to go next
  1. How Cohash delivers Microsoft Dynamics 365: scope, roles and architecture
  2. How Cohash delivers Microsoft Power Platform: scope, roles and architecture
  3. Hire vetted Microsoft Dynamics 365 engineers
  4. Dynamics 365
  5. Book a 30-minute working session with a senior engineer
01What's changing in Dataverse plug-in trace logs on January 5, 2027?

From January 5, 2027, three PluginTraceLog columns, Message Block, Configuration and Secure Configuration, become readable only by users with System Administrator, System Customizer or a role holding prvViewPluginTraceLogSecureContent. Everyone else still opens the rows but sees those columns empty. It rolls out by region and is fully enforced by March 31, 2027.

02I'm a System Administrator or System Customizer. Do I need to do anything?

No. Microsoft says both roles keep access. Its tracing page also says System Administrator counts when it comes through a team. The people to check are developers, support staff and integration accounts on custom roles that read trace logs.

03How do I give someone access to the hidden trace log columns?

Add the prvViewPluginTraceLogSecureContent privilege to a security role, then assign that role to the person who needs it. Microsoft's notice sends you to its Create or edit a security role article for the clicks. We'd keep the privilege in a small role of its own, so it stands out in access reviews, and we'd get it done before January 5, 2027.

04Will my plug-ins stop working?

No. The change is about who can read trace rows, and nothing in the notice touches how plug-ins run. What breaks is debugging and any report or feed that reads those three columns as a user without the privilege.

05Does this hide trace text in error dialogs and system jobs too?

The notice only names the three PluginTraceLog columns. Microsoft's docs say a failed synchronous plug-in offers the user a log file with the trace output, and a failed asynchronous one shows it in the system job. The notice doesn't say those change, so keep secrets out of Trace() calls whatever happens.

06Should I still rotate secrets that sat in plug-in secure configuration once the change is live?

If anyone outside the admin group could read trace logs while tracing was on, yes. Microsoft's notice says anyone who can read trace logs can see those columns today, so assume the value could have been seen. Move it into Azure Key Vault, with the plug-in fetching it through managed identity, then rotate.

07Microsoft's tracing page names only System Administrator. Which one do I go by?

The tracing page on Learn was last updated in September and describes the rule with System Administrator alone. The December Message Center post adds System Customizer and the new privilege. We'd plan from the notice and test with a non-admin account once the rollout reaches your region.

next track

That's the end of this track.

Next up: identity security, from the ground up. Start with sign-in policy, finish with the agents now asking for access.

  1. 01Dataverse for Teams is deprecated. Here's what to move before it's deleted
  2. 02What an SAP S/4HANA migration actually costs: the drivers, the ranges and where budgets break
  3. 03SAP ECC mainstream maintenance ends in 2027: what you need to decide this quarter
  4. 04CMS-0057-F on January 1, 2027: what health plans on Facets, QNXT and HealthRules need live
  5. 05Still running Dynamics AX 2012? When to upgrade to Finance and Operations and when to start over
  6. 06Dynamics 365 Business Central vs Finance and Operations: which one you actually need
  7. 07Export to Azure Data Lake stops on November 30. Is your Finance and Operations close ready?
  8. 08Dynamics 365 storage limits won't bite before January 2027: what gets blocked, and how to get out
  9. 09Microsoft is dropping RSAT in May 2027. What tests Finance and Operations after that?
  10. 10Unmanaged developer environments end December 15
  11. 11Field Service's link to Finance ends in February 2027: plan the move to Project Operations
  12. 12Is your Dynamics 365 Finance build ready for Norway's SAF-T 1.40 and French e-reporting?
  13. 13SharePoint's tempauth links stop working on their own in April 2027. Here's what breaks in Power Apps and Power Automate
  14. 14UiPath is retiring the Windows 10 and Server 2019 images for cloud robot VMs. Here's how to move your pools
  15. 15Salesforce to Salesforce goes dark on your Spring '27 upgrade weekend. Here's how to replace it
  16. 16UiPath is moving its official package feed to pkgs.uipath.com. Find what still points at the old address
  17. 17NetSuite is retiring SuiteScript 1.0, 2.0 and 2.x. Here's how to get your scripts onto 2.1 in time
  18. 18Dynamics 365 Sales vs Salesforce Sales Cloud: what it really costs and how hard it is to leave
  19. 19NetSuite SOAP integrations stop in 2028.2, and 2027.1 blocks new TBA ones. Here's the move to REST and OAuth 2.0
  20. 20Power Platform inventory export ends December 1
  21. 21What a Dynamics 365 CRM implementation actually costs: licences, partners and where budgets break
  22. 22Agentforce Coworker's $50 seat: who should get one, and what you'll still pay for in credits
  23. 23What a Dynamics 365 Finance and Operations implementation actually costs: licences, roles and environments
  24. 24Your Power Apps lose the modern Table control on June 1, 2027. Here's how we'd find them and move each one to Data Grid
  25. 25Plug-in trace logs in Dataverse go blank for custom roles in January 2027: what to grant before then
all learning tracks →
A full business cycle Report-only Pilot ringenforces Staged rings Change in git All users
Security · 12 minConditional access is a policy, not a prayer

Change access policies the way you'd ship code: report-only, then rings, rollback at hand.

read next
next step

Tell us what you're running. We'll tell you what we'd do first.

A 30-minute working session with a senior engineer. No slides.

useful to bring
  • The platform and the version you're on
  • Where you need to get to, and by when
  • What's custom: rules, plugins, integrations
  • Any audit finding or deadline driving it