Skip to main content

Posts

Showing posts from 2025

Working With Azure AD Using Application Token

Introduction This tutorial explains how to generate an application token using the Client ID and Client Secret in Microsoft Entra ID (formerly Azure AD). This token is necessary to authenticate API requests to Microsoft services such as Microsoft Graph API . Prerequisites Before proceeding, ensure you have the following: An Azure AD Application registered in the Azure portal. A Client ID (Application ID) obtained from the Azure portal. A Client Secret generated from the Azure portal. A Tenant ID (Directory ID) from your Azure AD instance. The necessary API permissions assigned to the application (e.g., Microsoft Graph API permissions). Step 1: Register an Application in Azure AD Log in to the Azure Portal . Navigate to Microsoft Entra ID (Azure Active Directory). Click on App registrations > New registration . Enter a Name for your application. Select Accounts in this organizational di...