Determine the application type (ASP.NET Core, Node.js, Python) and hosting environment.
Check for existing Bicep templates for infrastructure management.
If possible, use auto-instrumentation for ASP.NET Core apps in Azure App Service.
If auto-instrumentation is not possible, create an App Insights resource using Bicep or Azure CLI.
Modify the application code to send telemetry data to App Insights, following the language-specific guide.
Deploy the updated application.
Verify that telemetry data is being sent to App Insights.