How to create Service Principal in Azure

This post describes steps to create an Azure service principal. An Azure service principal is an identity created for use with applications, hosted services, and automated tools to access Azure resources.

Create An Azure service principal

: Login to Azure Portal.

: Navigate to Azure Active Directory.

: Click on App Registration.

: Click on New Registration.

: Enter Application Name and Register Application.

: Click on Certificates & Secrets.

: Click on New client secret.

: Provide description,expiration duration and click on Add. Save the Secret ID and Value.

Assign a role to Service Principal in Azure Subscription

: Navigate to Azure Subscription and Click on Access Control (IAM)

: Click on Add and Select Add Role Assignment

: Complete the Role Assignment and Click on Save

Categories: Azure