# Manage Application Insights with .NET

Managing Application Insights resources through the .NET SDK requires precise resource models and Azure hierarchy knowledge. This skill provides focused workflows and examples.

## Install

```bash
npx skillstore add sickn33/azure-mgmt-applicationinsights-dotnet
```

## Metadata

- Status: approved
- Slug: sickn33-azure-mgmt-applicationinsights-dotnet
- Skillstore revision: r2
- Version status: missing
- Tree hash: 39330264021d301c2b5730ba9075cc9651b287f59d634f6395b5cad168487b0d
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/azure-mgmt-applicationinsights-dotnet
- Ref: f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/sickn33-azure-mgmt-applicationinsights-dotnet
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-azure-mgmt-applicationinsights-dotnet/manifest

## Capabilities

- Shows package installation and authentication with DefaultAzureCredential.
- Creates workspace-based Application Insights components with retention, sampling, tags, and Log Analytics integration.
- Creates API keys, URL ping tests, and multi-step availability tests.
- Creates workbooks and links storage accounts for supported Application Insights workflows.
- Lists, updates, and deletes components, web tests, and workbooks.
- Explains key SDK types, application types, test locations, integration, and request error handling.

## Use Cases

- Provision Monitoring Resources: Build a workspace-based Application Insights component with retention, sampling, tags, and secure network settings.
- Automate Availability Tests: Define regional URL ping tests or multi-step login checks through the Azure Resource Manager SDK.
- Standardize Observability Setup: Create reusable guidance for workbooks, linked storage, resource updates, and cleanup across application teams.

## Prompt Templates

### Create a Basic Component

```
Show how to create a workspace-based Application Insights component in .NET for [resource group], [region], and [workspace resource ID].
```

### Add an Availability Test

```
Design a .NET availability test for [application URL] across [Azure locations] with [frequency] and [timeout]. Explain each setting.
```

### Build an Operations Workbook

```
Plan an Application Insights workbook for [service] that shows [metrics] over [time range]. Include resource creation steps and KQL guidance.
```

### Review a Production Design

```
Review my Application Insights .NET design for security, permissions, private networking, secret handling, retention, sampling, availability tests, and cleanup. Identify concrete changes.
```

## Limitations

- Provides guidance and examples but does not execute Azure operations.
- Requires valid Azure credentials, permissions, subscription details, and existing dependent resources.
- Examples may require changes for current SDK versions, regions, policies, and application requirements.
- Secret output and public network settings in the examples require security hardening before use.

## Best Practices

- Use workspace-based components and confirm region compatibility with the selected Log Analytics workspace.
- Protect connection strings and API keys with managed configuration or Key Vault, and never write them to logs.
- Review retention, sampling, test locations, permissions, and network access against production policy before deployment.

## Anti Patterns

- Do not print connection strings, instrumentation keys, API keys, or credential-bearing exceptions.
- Do not enable public ingestion or query access without an explicit network security decision.
- Do not copy placeholder identifiers, regions, URLs, or permissions directly into production.

## Security Audit

- Audited at: 2026-07-23T21:09:07.581\+00:00
- Summary: All 73 static findings are false positives caused by Markdown formatting, example URLs, documentation links, or ordinary error output. Two semantic risks remain: examples disclose credentials to console output and enable public network access by default.

## Stats

- Views: 109
- Downloads: 7
- Favorites: 0
- Popularity score: 0
