Service Principal

Get to know about the service principal in Azure and how to log in to Azure CLI using the service principal.

What is a service principal?

Service principals are service accounts. They’re different from user accounts. We can create a service principal and give it permissions and roles just like we do for user accounts.

Creating a service principal

The steps to create a service principal are as follows:

  1. Log in to the Azure account.
  2. Within the portal, navigate to “Home” > “Directory” > “Azure Active Directory” > “App
...