--- title: "Disable users that do not exist in Microsoft Entra ID" slug: "disable-users-that-do-not-exist-in-microsoft-entra-id" tags: ["Task", "Security and Compliance Studio", "SCS"] updated: 2026-03-20T12:23:39Z published: 2026-03-20T17:44:30Z canonical: "docs.staedean.com/disable-users-that-do-not-exist-in-microsoft-entra-id" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Disable users that do not exist in Microsoft Entra ID You can run the **Microsoft Entra ID user status** batch job to disable users in D365 F&SCM if these users no longer exist in the Microsoft Entra ID. ### Steps 1. Go to **Security and compliance** > **Periodic tasks** > **Apply Microsoft Entra ID user status** 2. Expand the **Run in the background** section. 3. Select **Yes** in the **Batch processing** field. 4. You are advised to run this batch job in a recurring pattern. So, you always have up-to-date license usage counts. And so, you can reduce license costs. Click **Recurrence**. 5. Define the recurring pattern as desired. Click **OK**. 6. Click **OK**.