Registering an application using PowerShell and the CLI
In the previous sections, we registered and configured the application manually inside the Azure portal; however, the Azure portal is not the only way to register applications in Azure AD. You can also use PowerShell or the CLI for this. With PowerShell and the CLI, you can register the application programmatically. You can easily register multiple applications this way, and you are able to use these scripts in your continuous integration and continuous deployment (CI/CD) pipelines in Azure DevOps, for instance.
In the next demonstration, we are going to register an application using PowerShell.
Registering an application using PowerShell
In this demonstration, we are going to register an application using PowerShell. To register an application, we are going to use Azure Cloud Shell in Windows Terminal.
Tip
Instead of connecting via Windows Terminal, you can also use Cloud Shell directly from the Azure portal...