--- title: "Azure AD Sign-in EventHub" slug: "azure-ad-sign-in-eventhub-doc-standard" updated: 2025-12-10T21:39:19Z published: 2025-12-10T21:39:19Z canonical: "docs.databee.buzz/azure-ad-sign-in-eventhub-doc-standard" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.databee.buzz/llms.txt > Use this file to discover all available pages before exploring further. # Azure AD Sign-in EventHub Azure AD Sign-in is an identity and access management solution from Microsoft that helps organizations secure and manage identities for hybrid and multi-cloud environments. For more information, refer to [Azure’s official documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/getting-started). **Integration Method**: EventHub **Tables**: Authentication (3002) This integration supports the following events. | **Event** | **Description** | | --- | --- | | Authentication | Retrieve a list of users sign-in and authentication data objects. | > [!NOTE] > **Note:** > > EventHub doesn’t follow a traditional versioning system. Instead, it is a continuously updated cloud service. ## Prerequisites - The user should have access to the Azure portal. - The user should have access to Azure AD to create a diagnostic setting. - The user should have access to the Event Hub. - The user should have access to the DataBee console. ## Configuration Overview 1. [Create an Event Hub](/docs/azure-ad-sign-in-eventhub-doc-standard#_Create_EventHub) in the Azure Portal. 2. [Create a diagnostic setting](/docs/azure-ad-sign-in-eventhub-doc-standard#_Create_Diagnostic_settings) in Azure AD. 3. Get the Event Hub namespace, Event Hub name and [connection string](/docs/azure-ad-sign-in-eventhub-doc-standard#_Get_the_connection). 4. Add the Azure AD Sign-in in the DataBee console with the below parameters. | **DataBee Parameter** | **Azure WAF Parameter** | | --- | --- | | Event Hub Namespace URL | [Event Hub Namespace](/docs/azure-ad-sign-in-eventhub-doc-standard#event_hub_namespace) | | Event Hub Name | [Event Hub Name](/docs/azure-ad-sign-in-eventhub-doc-standard#event_hub_name) | | Consumer Group | $Default | | Connection String | [Connection String](/docs/azure-ad-sign-in-eventhub-doc-standard#_Get_the_connection) | ## Azure Configuration ### Create EventHub 1. Sign in to the Azure portal and navigate to Marketplace to create an EventHub. If you have already configured EventHub then skip to [step 7](/docs/azure-ad-sign-in-eventhub-doc-standard#step_7). ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-35e86grd.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Provide basic information to create an event hub namespace. 1. Provide project details which include subscription details. 2. Enter a valid event hub namespace name. Copy it and save it for later use. 3. Select the region for your Event Hub namespace. **Note:** Choose the same region where your Databee cluster is deployed to minimize latency when receiving logs from the Event Hub. 4. Select the **Pricing Tier**. For this guide, the **Standard** tier will be used **Note:** The **Standard** tier is the minimum requirement, as it’s needed to enable **Apache Kafka** support. 5. Provide Throughput Units. For this guide, we will be using one (1) Throughput Unit (TU). A higher number may be required if you know the amount of data sent from Azure. [More about Throughput Units](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-scalability#throughput-units). 6. Enable the **Auto-Inflate** option to prevent issues when traffic exceeds the assigned Throughput Unit (TU) capacity. Auto-Inflate automatically increases the number of TUs for your **Standard Tier Event Hubs Namespace** as traffic grows, up to a specified maximum limit. **Note:** Once **Auto-Inflate** is enabled, it does **not** automatically scale down. You’ll need to manually reduce the TUs if required. 7. Click on **Next: Advanced >** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-a2cft1i0.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Provide Advance Security Details. Click on **Next: Networking >** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-te32jpa4.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Select **Public Access** as a Connectivity method. Click **Next: Tags >** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-h7syinde.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Add Tags relevant to your organization for viewing consolidated billing. Click **Next: Review + create >** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-s857lutx.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. EventHub Namespace. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-jrt01dbz.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 2. Navigate to Entities > Event Hubs. Click on **+ Event Hub** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-tquuxbob.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 3. Enter basic details to create an Event Hub. 1. Enter valid Event Hub name. Save it for later use. 2. Specify the Partition count. **Note:** Partitions enable parallel processing, helping your applications scale. It is recommended to set this between 10-15 for better scalability. 3. Select Cleanup policy. 4. Specify the **Retention Period** for the logs. **Note:** A longer retention period ensures that more logs are retained in Event Hub, reducing the risk of data loss. It is recommended setting the retention period to the maximum allowed value. 5. Click on **Next: Capture >** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-v7vkvka6.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Turn Capture to OFF and click **Next: Review + create >** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-bgcl1vgg.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 2. Create Event Hub. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-hf3wivjj.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-vdz5wk32.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) ## Create Diagnostic settings in Azure AD This step is needed to send the Azure AD Sign-in logs to Event Hub. 1. Sign in to the Azure Portal and open your Azure AD. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-uucx1zaa.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Navigate to Diagnostic settings. 1. Open the **Monitoring** section. 2. Click on **Diagnostic settings**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-61cijke3.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Click on **Add diagnostic setting** button. Note: To create a Diagnostic Setting, the user must have [Security Administrator](https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/permissions-reference#security-administrator) access to create general diagnostic settings for the Microsoft Entra tenant. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-7dxd6wne.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Enter Diagnostic setting details. 1. Enter Diagnostic setting name. 2. Select Log categories, **SignInLogs** and **NonInteractiveUserSignInLogs**. 3. Select **Stream to an event hub** option. 4. Select **Subscription**. 5. Select [**Event hub namespace**](/docs/azure-ad-sign-in-eventhub-doc-standard#event_hub_namespace). 6. Select [**Event hub name**](/docs/azure-ad-sign-in-eventhub-doc-standard#event_hub_name). (required in our case, to capture logs in one event hub only) 7. Select **Event hub policy name**. 8. Click on **Save** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-cwpd3t8r.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) ## Get the connection string 1. Navigate to Event Hub. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-hdvkmjps.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 2. Navigate to Settings > Shared access policies. Click on the “+ Add” button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-9e1069th.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Add SAS Policy. 1. Enter valid policy name. 2. Select Listen option. 3. Click on **Create** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-ztewi97m.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Click on the Share policy you created. Copy the **Primary connection string** for later use. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-sl616t04.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) ## DataBee Configuration 1. Login to the DataBee UI, navigate to **Data Management** > **Data Feeds** and click the **Add New Data Feed** button. ![A screenshot of a computer AI-generated content may be incorrect.](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-87f8nr41.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Search for Azure AD Sign-in and click on it as shown below. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-mq1agqlv.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Click on the **Azure Event Hub** collection method. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-pws3iul2.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. In configuration, enter the feed contact information. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-7ajcorqf.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Enter Azure Event Hub connection details a. Replace placeholder with [Event Hub namespace](/docs/azure-ad-sign-in-eventhub-doc-standard#event_hub_namespace). b. Enter the Consumer Group, otherwise please keep the default value: “**$Default**” c. Enter [Event Hub name](/docs/azure-ad-sign-in-eventhub-doc-standard#event_hub_name). d. Select **PLAIN** as Authorization Method. e. Enter [Event Hub Connection String](/docs/azure-ad-sign-in-eventhub-doc-standard#_Get_the_connection). ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-8hsv8gld.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Click on **Test Connection** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azure-ad-sign-in-eventhub-doc-standard-image-94a69y0e.png?sv=2026-02-06&spr=https&st=2026-11-13T08%3A38%3A33Z&se=2026-11-13T09%3A38%3A33Z&sr=c&sp=r&sig=bqFnMO7JmtSBgVfqSdM6AmE8bG2ga4hjwkglRYv7ZX8%3D) 1. Click on **Submit** button. ## Troubleshooting Tips - If you are facing an error while testing the connection, then make sure the Event hub namespace, event hub name is the desired one. Make sure the connection string has Listen Claims. ## Limitation and Caveats - This ingestion method does not provide the **is_managed** or **is_compliant** mappings for the device object. #