Register your app with Azure AD

Introduction

In this article, we will learn to add the App Registration to Azure Entra ID and Create a Certificate and Secret.

Step 1. Open the Azure portal and log in.

Step 2. Look up Microsoft Entra ID using the search bar, then choose it from the list.

Microsoft Entra ID

Step 3. Choose the application registration from the Add dropdown on the Microsoft Entra ID page.

App registration

Step 4. After giving the app a name, click Register.

SBREST API

Step 5. Take note of the Application (client) ID and Directory (tenant) ID values on the application's home page. These values are what you'll use to obtain an Azure AD token.

Get started with SBREST API

Step 6. Select + New client secret after choosing Certificates & secrets from the menu on the left.

Client secret

Step 7. Choose the expiration date of the secret, add a description, and click Add.

Add client secret

Step 8. To copy a secret value to the clipboard, select the copy button next to the value in the Client secrets list. Paste it in a location. It will be used by you afterward to obtain an Azure AD token.

Certificates and client secrets

Summary

In this article, we have learned to add your app registration to the Azure Entra ID and generate the Client Secret.