0

I recently found that using react picker control is using the API to track some properties Api azure Api

Is there any way to stop this ? Or any other alternative to pnp people picker ? pnp tracking

1 Answer 1

1

You can use the following code to opt out of telemetry tracking.

const telemetry = PnPTelemetry.getInstance();
telemetry.optOut();

See these resources for more information:

Telemetry: Provide a way to opt-out for PnP Telemetry

Merge for v1.17.0

1
  • Thank you so much. I added import PnPTelemetry from "@pnp/telemetry-js"; and added the below lines in onInit() ... const telemetry = PnPTelemetry.getInstance(); telemetry.optOut();
    – Saira
    Commented Apr 7, 2022 at 22:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.