Remove Application Insights connections via PowerShell

Azure Updates

Discussionpowered by zap.ms

Published

Feb 26, 2019

Status

Launched

Timeline

  • February 2019
    General Availability

Product

Application Insights
Azure Monitor
Log Analytics

Tag

SDK and Tools
Services

Category

DevOps
Management and governance

Description

With OMS portal deprecation for the Azure commercial cloud on January 15, 2019, and for the Azure US Government cloud on March 30, 2019, there is no way to configure and remove existing Application Insights connections from the portal.

To stop application data from reaching your workspace, remove existing connections by using a PowerShell script.

The recommended alternative method to query multiple Azure Monitor Application Insights resources is using cross-resource searches.