Skip to main content

How to Create a Microsoft Entra ID Application

This how to article provides step-by-step instructions for configuring an Application in Microsoft Entra ID (formerly known as Azure Active Directory) for use with a RAG pipeline.

Before you begin

Before starting, ensure you have:

  • A Microsoft 365 user account.

Step 1: Create a Microsoft Entra ID Application

  1. Go to the Azure Portal.

  2. In the left-hand menu, click Microsoft Entra ID.

    Microsoft Entra ID

  3. Select App Registrations, then click New registration.

    App Registrations

  4. Name the application, select Web for the platform, enter a Redirect URI, then click Register.

    Register App

  5. Save the Application (client) id and the Directory (tenant) id.

    Save IDs

  6. Go to Manage, then API permissions. Click Add a permission.

    Add Permission

  7. Select Microsoft Graph.

    Select Microsoft Graph

  8. Select Application permissions, find and select the Files.ReadWrite.All permission. If you're going to use a SharePoint connector, you'll also need to select the Sites.Read.All permission. Click Add permissions.

    Add Permission

  9. Select Grant admin consent for Default Directory, and confirm when prompted.

    Grant Admin Consent

  10. Go to Manage, then Certificates & secrets. Click on New client secret.

    New Client Secret

  11. Enter a description for the client secret, then click Add.

    Add Client Secret

  12. Save and securely store the client secret value. You won't be able to access this value again after you leave this screen.

    Client Secret Value

Was this page helpful?