Logs are not being sent to my Azure Log Analytics workspace

BCAzure01 25 Reputation points
2025-10-21T10:58:17.3633333+00:00

I created a LogAnalytics workspace under my subscription on Azure and sent logs using the diagnostic settings for Microsoft Entra ID, but the diagnostic settings disappear after a while.

Please tell me how to resolve this.

I have confirmed the following conditions:

[Conditions]

  • Entra tenant ID and Azure subscription ID

⇒ Match confirmed

  • Microsoft.AADIAM / Microsoft.Insights provider ⇒ Registered
  • Entra permissions

⇒ Global administrator

  • Azure permissions

⇒ Subscription "Owner"

  • Save message upon creation

⇒ "Diagnostics update completed successfully" confirmed.

According to a desktop investigation, the following information has also been found:

There is information that the Microsoft Entra ID diagnostic settings resource (/providers/microsoft.aadiam/diagnosticSettings) is experiencing a bug in some tenant/subscription configurations from mid-2024 onwards, where it is identified as an "orphaned resource" during a backend consistency check and automatically deleted.

Azure Analysis Services
{count} votes

1 answer

Sort by: Most helpful
  1. VRISHABHANATH PATIL 2,070 Reputation points Microsoft External Staff Moderator
    2025-10-24T03:44:13.5366667+00:00

    Hi BCAzure01,

    The commands you shared are Azure CLI commands, so the required tool is:

    Azure CLI (az)

    • It’s a cross-platform command-line tool for managing Azure resources.
    • These specific commands:
      • az provider show --namespace Microsoft.AADIAM
      • az provider show --namespace Microsoft.Insights

    are used to check the resource provider registration status for:

    • Microsoft.AADIAM → Azure Active Directory Identity and Access Management
    • Microsoft.Insights → Azure Monitor (Insights)

    To run them:

    • Install Azure CLI on your machine.
    • Authenticate using az login.
    • Then execute the commands in a shell (PowerShell, Bash, or CMD).

    Thanks,
    Vrishabh

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.