Application Insights Dashboard gives you the ability to view your Application Insights data in your WordPress dashboard.
Install
- Extract the Application Insights Dashboard plugin appinsights.zip to the plugins directory of the WordPress installation.
e.g. if WordPress is installed in "C:\inetpub\wwwroot\wordpress" directory, extract the appinsights.zip file into directory "C:\inetpub\wwwroot\wordpress\wp-content\plugins".
- To activate the plugin, log in into the WordPress as administrator and navigate to list of plugins. Then check the associated checkbox for the plugin and click on "Activate" link.
Register an Azure Active Directory application
For these steps, you must have an Azure subscription with access to the Azure Active Directory tenant.
- Sign in to the Azure portal, and navigate to the ACTIVE DIRECTORY section. Choose the directory (tenant) that you would like to use. This should be the active directory which is linked to your Azure subscription.
- Under the APPLICATIONS tab, click ADD to register a new application. Choose 'Add an application my organization is developing', and a recognizable name. Select the application type as "Native client application".
- Enter a value for Redirect URI with the format http:///wp-admin/options-general.php
e.g. http://localhost/wordpress/wp-admin/options-general.php
Configure the plugin
- The plugin can be configured in Settings > Application Insights.
- Enter the Tenant ID and Client ID and click "Authorize Plugin" button. You can find these values under the CONFIGURE tab of your Azure Active Directory application in the Microsoft Azure portal.
- Login in using your Microsoft Azure credentials.