Skip to content
Azure Resource Explorer - a site to explore and manage your ARM resources in style
TypeScript C# JavaScript HTML CSS Batchfile Other
Branch: master
Clone or download
Latest commit e633020 Jun 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
App_Data Update CosmosDB operations Jun 21, 2019
App_Start Support all arm providers. Add APIs for clients to request specific … Jun 12, 2017
Content Accessing from IE11 shows blank page. #162 Jul 20, 2017
Controllers Get /subscriptions using nextLink Oct 5, 2018
Images adding August API version, Adding ARM Explorer Icon, Adding Documenta… Aug 20, 2015
Model Get /subscriptions using nextLink Oct 5, 2018
Modules Support all arm providers. Add APIs for clients to request specific … Jun 12, 2017
Properties Renaming to ARMExplorer and moving to projectkudu Jan 31, 2015
SwaggerParser Check for additionalproperties element in swagger before fallback to… Aug 1, 2017
Telemetry Some fixes for running explorer locally Apr 10, 2015
Tests Update definitions for IpSecurityRestriction for Microsoft.Web Jul 24, 2018
Tools add Microsoft.ContainerService swagger specs Oct 26, 2017
ng Fix AnsibleScriptGenerator Aug 29, 2018
raw fix assuming that we are running in /manage subapp Feb 28, 2015
ref Remove Hydra/Hyak dependency Apr 21, 2017
.deployment Compile ts files outside of msbuild May 24, 2017
.gitattributes adding git attributes to handle json as text files Sep 29, 2016
.gitignore Add Logic App swagger Apr 21, 2017
ARMExplorer.csproj Onboarding bastion host to resource explorer Jun 17, 2019
ARMExplorer.sln Add support to process swagger files directly Jun 2, 2017
ApplicationInsights.config Update AppInsights dependencies Apr 3, 2018
Global.asax Renaming to ARMExplorer and moving to projectkudu Jan 31, 2015
Global.asax.cs Support Tenant selection in deep link scenarios, Fixes #45 Apr 10, 2015
LICENSE.txt Add license file Jan 31, 2015 Updated AAD configuration documentation (#196) Jul 5, 2018
Web.Debug.config Renaming to ARMExplorer and moving to projectkudu Jan 31, 2015
Web.Release.config Renaming to ARMExplorer and moving to projectkudu Jan 31, 2015
Web.config Update AppInsights dependencies Apr 3, 2018
applicationHost.xdt add xdt file Oct 17, 2014
deploy.cmd formatting deploy.cmd Oct 26, 2017
favicon.ico adding August API version, Adding ARM Explorer Icon, Adding Documenta… Aug 20, 2015
index.html Add Ansible tab Aug 25, 2018
packages.config Update AppInsights dependencies Apr 3, 2018


This project has dependencies on OAuth authentication.


  1. Clone this repository to your local drive.
  2. Open ARMExplorer.sln with VS 2017+ and compile.

Create AAD application

  1. Go to Azure Portal while logged in as an Org ID (i.e. not MSA) and create AAD Application. You may create an application on existing AAD directory or a new directory altogether.
  2. Select 'Azure Active Directory' and then 'App registrations' and click 'New application registration'
  3. Enter any name for application name.
  5. Enter https://localhost:44300/ as SIGN ON URL
  6. For APP ID URL, enter something like
  7. Once created, click Settings tab
  8. On Required permissions, add Windows Azure Service Management API and check Access Azure Service Management for Delegated Permissions and save.
  9. In 'Reply URLs' add 'https://localhost:44300/manage'

Fix AADClientId and AADClientSecret in codes

  1. Copy CLIENT ID and paste it in this line, replacing Environment.GetEnvironmentVariable("AADClientId").
  2. On Keys section, create a client secret. Copy the key and paste it in the same file, replacing Environment.GetEnvironmentVariable("AADClientSecret").

Test with localhost

  1. Build the solution using VS.
  2. Starting running it in the debugger (F5).
  3. In browser, it should redirect to login page.
  4. Enter AAD account and password. Note: try account that is not in the same directly as the application. Note: currently this does not work with MSA account.
  5. You should be prompt with OAuth allow/deny page, do accept it.

Test ARM apis

  1. https://localhost:44306/api/token - show current token details.
  2. https://localhost:44306/api/tenants - show all tenants (AAD directory) user belongs to.
  3. and so on..

Test with Azure Websites

  1. Create Azure Websites with local git publishing enabled
  2. Add the site https url as the reply URL for AAD application
  3. Deploy the website by pushing the repository
  4. Set AADClientID and AADClientSecret appSettings
  5. To test, simply browse to the website and append the query string "?repository="

Running unit tests

  1. Unit test support is still evolving and the tests are located under ng\test directory.
  2. Tests are built using tsconfig.json file under ng folder.
  3. You will need to have tsc and node installed before you can run the tests. You can use npm for this.
  4. Navigate to ng directory and compile the files using 'tsc' and run the tests using 'node manageWithTests.js'
  5. Remember to update the tsconfig.json file when adding new test files.

Swagger specs

Swagger files can be found at For web apps the specs can be found internally under bin\Hosting\Azure\GeoMaster\Swagger\Service.json

Adding Swagger specs

Swagger files for all ARM providers are under App_Data/SwaggerSpecs. To update specs for any provider, locate the folder corresponding to the specific provider under SwaggerSpecs and do the following:

  1. To update an API in an existing file replace the old file contents with the latest specs.
  2. To move API to a new file, you will have to delete the old API from the existing file apart from adding the new file(s).
  3. To delete an API , remove the API from existing files.
  4. To add new API, copy the new files to the provider folder.
  5. To add new provider, create a new folder for the provider under SwaggerSpecs and place all your files inside the folder.
  6. When adding new files, make sure you include them in the csproj file. Ex:

Create a pull request with your changes.

You can’t perform that action at this time.