> ## Documentation Index
> Fetch the complete documentation index at: https://docs.less.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Dynamics 365

This source connects to **Dynamics 365** using Microsoft Entra (Azure AD) OAuth. After authentication you configure the environment and choose which entities to extract.

<Steps>
  <Step title="Authentication">
    Sign in with Microsoft and authorize Less. A **refresh token** is stored so runs can execute on a schedule.
  </Step>

  <Step title="Configuration">
    Provide your Microsoft **Tenant ID**, the **Environment** to use (for example `Production` or a named sandbox), the **Company** identifier Less should query, and a **date range** for entities that support date filtering (such as ledger or invoice tables).
  </Step>

  <Step title="Tables">
    Select the **Dynamics 365 tables** you want to load into Less. Use the OData source to extract custom tables.
  </Step>
</Steps>
