The Application Insights configuration was missing in Sitecore Experience Platform 10.4.0 packages for Azure App Service deployment, including the packages for the four topologies (XM Single, XM Scaled, XP Single, and XP Scaled) as well as the Sitecore Azure Toolkit Resources package.
On May 28, 2024, the Azure App Service packages were republished adding the missing Application Insights configuration and can be found here for download:
Download options for Azure App Service deployments
Note: The original package version numbers were not changed to avoid respinning the entire release.
To ensure that you use the correct versions of the packages, take the following steps: