DEV Community

Cover image for Manage Azure App Registrations in VS Code
Ira Rainey
Ira Rainey

Posted on

Manage Azure App Registrations in VS Code

If you work with Microsoft Azure and use Application Registrations to create OAuth2 scopes for your APIs, or maybe create client applications that consume scopes from other applications, then you will no doubt be managing this all in the Azure Portal. That's great, and most of the functionality is there.

If you work with large numbers of applications, or if you automate parts of your works then you might perform these tasks with PowerShell or even by calling the Microsoft Graph API directly to manage these Azure Active Directory objects.

But if you're working in Visual Studio Code building your application, wouldn't it be great to be have all of your Application Registration information and management to hand directly in Visual Studio Code? Well now you can.

As a side project I have built a new extension for Visual Studio Code to allow for the management of Application Registrations from within the IDE.

It allows for easy viewing, copying, adding, and editing of most the core application properties, such as:

  • Client Id
  • Application ID URI
  • Sign In Audience
  • Certificates and Secrets
  • Redirect URIs
  • API Permissions
  • Exposed API Permissions
  • App Roles
  • Owners

It also allows for the simple creation of new applications, quickly viewing of the full application manifest in the editor, and has the ability to open the application registration directly in the Azure Portal when you need full editing control.

Visual Studio Code

All application properties have their own range of functionality. From the top-level application itself, down to each individual property, functionality can be accessed via a range of context menus.

Context Menus

Context Menus

If required functionality is not currently implemented for a particular property then you can open the application registration in the Azure portal from the context menu of the application itself.

You can install the extension directly from with Visual Studio Code, or you can find out more information about it by visiting the Visual Studio Code Marketplace.

Top comments (0)