Appsdiagnostic 10



I upgraded my Windows 7 Ultimate to Windows 10 Pro on Thursday, then refreshed the install to get a clean Windows installation. Unfortunately I'm running into the issue where all Modern Apps including the Store, Microsoft Edge, the photos app, the Xbox app, etc. Are not opening: they flash on screen for a second and then silently close. Recently upgraded to Windows 10 and everything works fine except I have this frustrating issue where I cannot use the Windows Store. If I click on the store the homepage for it will load but, the moment I load a store page for an individual app (e.g. Facebook, Netflix, Amazon etc,) the store.

-->

When you’re running a web application, you want to be prepared for any issues that may arise, from 500 errors to your users telling you that your site is down. App Service diagnostics is an intelligent and interactive experience to help you troubleshoot your app with no configuration required. When you do run into issues with your app, App Service diagnostics points out what’s wrong to guide you to the right information to more easily and quickly troubleshoot and resolve the issue.

Although this experience is most helpful when you’re having issues with your app within the last 24 hours, all the diagnostic graphs are always available for you to analyze.

App Service diagnostics works for not only your app on Windows, but also apps on Linux/containers, App Service Environment, and Azure Functions.

Open App Service diagnostics

To access App Service diagnostics, navigate to your App Service web app or App Service Environment in the Azure portal. In the left navigation, click on Diagnose and solve problems.

For Azure Functions, navigate to your function app, and in the top navigation, click on Platform features, and select Diagnose and solve problems from the Resource management section.

In the App Service diagnostics homepage, you can choose the category that best describes the issue with your app by using the keywords in each homepage tile. Also, this page is where you can find Diagnostic Tools for Windows apps. See Diagnostic tools (only for Windows app).

Note

If your app is down or performing slow, you can collect a profiling trace to identify the root cause of the issue. Profiling is light weight and is designed for production scenarios.

Interactive interface

Once you select a homepage category that best aligns with your app's problem, App Service diagnostics' interactive interface, Genie, can guide you through diagnosing and solving problem with your app. You can use the tile shortcuts provided by Genie to view the full diagnostic report of the problem category that you are interested. The tile shortcuts provide you a direct way of accessing your diagnostic metrics.

After clicking on these tiles, you can see a list of topics related to the issue described in the tile. These topics provide snippets of notable information from the full report. You can click on any of these topics to investigate the issues further. Also, you can click on View Full Report to explore all the topics on a single page.

Diagnostic report

After you choose to investigate the issue further by clicking on a topic, you can view more details about the topic often supplemented with graphs and markdowns. Diagnostic report can be a powerful tool for pinpointing the problem with your app.

Health checkup

If you don't know what’s wrong with your app or don’t know where to start troubleshooting your issues, the health checkup is a good place to start. The health checkup analyzes your applications to give you a quick, interactive overview that points out what’s healthy and what’s wrong, telling you where to look to investigate the issue. Its intelligent and interactive interface provides you with guidance through the troubleshooting process. Health checkup is integrated with the Genie experience for Windows apps and web app down diagnostic report for Linux apps.

Health checkup graphs

There are four different graphs in the health checkup.

  • requests and errors: A graph that shows the number of requests made over the last 24 hours along with HTTP server errors.
  • app performance: A graph that shows response time over the last 24 hours for various percentile groups.
  • CPU usage: A graph that shows the overall percent CPU usage per instance over the last 24 hours.
  • memory usage: A graph that shows the overall percent physical memory usage per instance over the last 24 hours.

Investigate application code issues (only for Windows app)

Because many app issues are related to issues in your application code, App Service diagnostics integrates with Application Insights to highlight exceptions and dependency issues to correlate with the selected downtime. Application Insights has to be enabled separately.

Appsdiagnostic 10 commandments

To view Application Insights exceptions and dependencies, select the web app down or web app slow tile shortcuts.

Troubleshooting steps (only for Windows app)

If an issue is detected with a specific problem category within the last 24 hours, you can view the full diagnostic report, and App Service diagnostics may prompt you to view more troubleshooting advice and next steps for a more guided experience.

Diagnostic tools (only for Windows app)

Diagnostics Tools include more advanced diagnostic tools that help you investigate application code issues, slowness, connection strings, and more. and proactive tools that help you mitigate issues with CPU usage, requests, and memory.

Proactive CPU monitoring

Proactive CPU monitoring provides you an easy, proactive way to take an action when your app or child process for your app is consuming high CPU resources. You can set your own CPU threshold rules to temporarily mitigate a high CPU issue until the real cause for the unexpected issue is found. For more information, see Mitigate your CPU problems before they happen.

Auto-healing and proactive auto-healing

Appsdiagnostic 10

Auto-healing is a mitigation action you can take when your app is having unexpected behavior. You can set your own rules based on request count, slow request, memory limit, and HTTP status code to trigger mitigation actions. Use the tool to temporarily mitigate an unexpected behavior until you find the root cause. For more information, see Announcing the new auto healing experience in app service diagnostics.

Appsdiagnostic 10

Like proactive CPU monitoring, proactive auto-healing is a turn-key solution to mitigating unexpected behavior of your app. Proactive auto-healing restarts your app when App Service determines that your app is in an unrecoverable state. For more information, see Introducing Proactive Auto Heal.

Navigator and change analysis (only for Windows app)

In a large team with continuous integration and where your app has many dependencies, it can be difficult to pinpoint the specific change that causes an unhealthy behavior. Navigator helps get visibility on your app’s topology by automatically rendering a dependency map of your app and all the resources in the same subscription. Navigator lets you view a consolidated list of changes made by your app and its dependencies and narrow down on a change causing unhealthy behavior. It can be accessed through the homepage tile Navigator and needs to be enabled before you use it the first time. For more information, see Get visibility into your app's dependencies with Navigator.

Change analysis for app changes can be accessed through tile shortcuts, Application Changes and Application Crashes in Availability and Performance so you can use it concurrently with other metrics. Before using the feature, you must first enable it. For more information, see Announcing the new change analysis experience in App Service Diagnostics.

Post your questions or feedback at UserVoice by adding '[Diag]' in the title.

Apps in Windows 10 are carefully isolated so that they don’t interfere with each other. However, there are scenarios where it’s useful for one app to see certain types of information about other running apps (for example, it’s useful for diagnostic tools to be able to get a list of running apps). This is especially useful during app development, or for apps like Task Manager that report simple information about running apps. Some people worry about an app getting information about any other apps, but the settings in Windows always give you control over which apps can get this kind of information about other running apps.

App diagnostic controls might be turned off already if you’re using a device assigned to you by your workplace, or if you’ve added a work account to your personal device. If that’s the case, you’ll see Some settings are managed by your organization at the top of the App diagnostics settings page.

Note: In Windows 10, some apps can continue to perform actions even when you're not actively in the app’s window. These are commonly called background apps.

What kind of information is available?

Only certain, very specific pieces of information are made available in app diagnostics, specifically:

Appsdiagnostic10
  • The name of each running app.

  • The package name of each running app.

  • The user name under whose account the app is running.

  • Memory usage of the app, and other process-level information typically used during development.

How to control which apps can use app diagnostics

In general, to allow or block specific apps and services:

  1. Go to Start , then select Settings > Privacy > App diagnostics.

  2. Make sure Allow apps to access diagnostic info about your other apps is turned On.

  3. Under Choose which apps can access diagnostic info about other apps, turn individual apps and services settings On or Off.

To block most apps from getting app diagnostics:

  1. Go to Start , then select Settings > Privacy > App diagnostics.

  2. Make sure Allow apps to access diagnostic info about your other apps is turned Off. This will disable app diagnostics for your account on that device while still letting other people enable app diagnostics when they’re signed in with their own accounts.

Exceptions to the app diagnostics privacy settings

Desktop apps won’t appear in your Choose which apps can access diagnostic info about other apps list and aren’t affected by the Allow apps to access diagnostic info about your other apps setting. To allow or block desktop apps, use the settings in those applications.

Apps Diagnostic 10.diagcab

Note: How can you tell if an app is a desktop app? Desktop apps are usually downloaded from the internet or installed with some type of media (such as a CD, DVD, or USB storage device). They’re launched using an .EXE or .DLL file, and they typically run on your device rather than web-based apps (which run in the cloud). You can also find desktop apps in Microsoft Store.