Telemetry in pcf-scripts appears to violate GDPR (no opt-out or consent)
Hello,
I'm reporting a concern regarding the pcf-scripts package (published on npm by Microsoft), which is used in the PowerApps Component Framework (PCF) development workflow.
While working on a PCF project, I noticed that pcf-scripts sends telemetry events automatically via Application Insights — including build events, exceptions, and environment data — without any prompt for user consent, configuration flag, or documentation on how to disable it.
This behavior occurs even during local development, and without any indication to the user.
Why this is problematic
As an EU-based developer (France), this practice raises serious GDPR (RGPD) concerns:
- Consent is required for collecting and sending telemetry or analytics that are not essential to core functionality.
- Users must be informed about what data is collected and how it's used.
- There is no opt-in, no opt-out, and no disclosure provided by
pcf-scriptsbefore telemetry is sent.
The only way to stop this appears to be manually overriding telemetry environment variables (APPINSIGHTS_INSTRUMENTATIONKEY, etc), which is undocumented and not an acceptable GDPR-compliant solution.
Expected behavior
To comply with GDPR and respect developer privacy, I suggest the following:
- Clearly document telemetry behavior on the npm page or linked documentation.
- Provide a flag or config to disable telemetry entirely (e.g.
--no-telemetry). - Ideally: disable all telemetry in
pcf-scriptsby default, or only enable it with explicit opt-in.
Context
pcf-scriptsversion tested:1.42.1- Used as instructed in the official tutorial: https://learn.microsoft.com/en-us/power-apps/developer/component-framework/create-custom-controls-using-pcf
- No mention of telemetry or opt-out in the documentation
Please advise how this issue will be addressed to bring the tool into compliance with privacy regulations.
Thank you.
Side note:
I also noticed that the package.json in your tutorial projects and related templates use outdated dependencies (e.g. @typescript-eslint v4 with eslint@^7, which conflicts with modern versions of pcf-scripts requiring eslint@^8).
This causes broken builds for anyone following the tutorial today.
Updating the template would greatly improve the onboarding experience.