An organization hosts a .NET 8.0 web application on Azure App Service using the Shared (D1) pricing tier. The development team has configured Application Insights but finds that both the Profiler and Snapshot Debugger tools are unavailable. To resolve this, you need to configure the hosting environment to the minimum supported pricing tier that enables these features, and ensure the team can view local variables and call stacks from captured exceptions. Which combination of App Service plan configuration and Azure role assignment must you implement?
- Upgrade the App Service plan to the Basic (B1) tier, and assign the Application Insights Snapshot Debugger role to the developers.Answer
- BUpgrade the App Service plan to the Basic (B1) tier, and assign the Monitoring Contributor role to the developers.
- CKeep the App Service plan on the Shared (D1) tier, and assign the Application Insights Snapshot Debugger role to the developers.
- DKeep the App Service plan on the Shared (D1) tier, and assign the Monitoring Contributor role to the developers.
Answer
Upgrade the App Service plan to the Basic (B1) tier, and assign the Application Insights Snapshot Debugger role to the developers.
Upgrading the App Service plan to the Basic (B1) tier is the minimum required to support Profiler and Snapshot Debugger. Access to view the captured exception snapshots in the Azure portal is restricted to users with the Application Insights Snapshot Debugger role due to the potential inclusion of sensitive data in the memory snapshot.
Step-by-Step Solution
Key Concept
Pricing tier requirements and RBAC access permissions for Application Insights Profiler and Snapshot Debugger.