Azure App Insights plugin gives you the ability to view your Application Insights data in your WordPress dashboard.
Step 1: Install
Extract the plugin.zip to the plugins directory of the WordPress installation.
e.g. if WordPress is installed in “C:\inetpub\wwwroot\wordpress” directory, extract the plugin.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.
Step 2: 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
On the configuration page , scroll to the bottom and under permission to other applications set the following permissions
Windows Azure Active Directory Delegated Permissions:1
Microsoft Azure Data Catalog Delegated Permissions:1
Windows Azure Service Management API Delegated Permissions:1
Get the Client ID from the Dashboard.
Step 3: Create an Application Insights on Azure Portal.
Sign in to the Azure portal, and navigate to the APPLICATION INSIGHTS section.
Create new one.
Get the Instrumentation Key from the Dashboard.
Step 4: Configure the plugin
The plugin can be configured in Settings > Application Insights Dashboard.
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.
Enter you Instrumentation Key you received from http://portal.azure.com
To get tenant ID
- Use the Add-AzureAccount cmdlet to add your Windows Azure account to Windows PowerShell:[ You will see a login form and enter you microsft corp account login info ]
PS C:> Add-AzureAccount
- Then use Get-AzureAccount to get the tenant ID:
Contributors & Developers
“Azure App Insights plugin” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
* Updating the latest PHP SDK.
* Initial Version
* Merge Application Insights plugin and Application Insights Dashboard Beta plugin into this plugin.