Migrate from Standalone to Extension
This page covers the steps to stop an existing standalone agent (v1 or Standalone) and switch to the Dynatrace Extension.
Step 1 — Stop the standalone agent
Section titled “Step 1 — Stop the standalone agent”sudo systemctl stop ms-teams-observability-agent@default.servicesudo systemctl disable ms-teams-observability-agent@default.service# Confirm the service is stoppedsudo systemctl status ms-teams-observability-agent@default.serviceIf the agent runs via cron instead of systemd:
crontab -e# Remove the line that invokes ms-teams-agentschtasks /End /TN "<your-ms-teams-agent-task>"schtasks /Delete /TN "<your-ms-teams-agent-task>" /FOr open Task Scheduler (taskschd.msc), locate the task, and delete it.
Step 2 — Install and configure the extension
Section titled “Step 2 — Install and configure the extension”Follow the Extension Installation guide.
Step 3 — Post-migration cleanup
Section titled “Step 3 — Post-migration cleanup”Once the extension is confirmed working:
- Remove the standalone agent binary and configuration files from the host.
- Remove the license file from disk (credentials are now managed by Dynatrace).
- Remove any cron jobs or scripts that launched the standalone agent.