Edit

Share via


Set alerts on Fabric workspace item events in Real-Time hub

This article describes how to set alerts on Fabric workspace item events in Real-Time hub.

Note

Consuming Fabric and Azure events via Eventstream or Fabric Activator isn't supported if the capacity region of the Eventstream or Activator is in the following regions: West India, Israel Central, Korea Central, Qatar Central, Singapore, UAE Central, Spain Central, Brazil Southeast, Central US, South Central US, West US 2, West US 3.

Note

Effective March 21, 2025, the Microsoft.Fabric.ItemReadSucceeded and Microsoft.Fabric.ItemReadFailed event types are deprecated. So, users in your organization don't see these event types when creating subscriptions (eventstreams or alerts) for the Fabric workspace.

Existing subscriptions (eventstreams or alerts) for these events will stop receiving events on March 21, 2025.

  1. Sign in to Microsoft Fabric.

  2. If you see Power BI at the bottom-left of the page, switch to the Fabric workload by selecting Power BI and then by selecting Fabric.

    Screenshot that shows how to switch to the Fabric workload.

  3. Select Real-Time on the left navigation bar.

    Screenshot that shows how to launch Connect to data source experience.

Launch the Set alert page

Do steps from one of the following sections, which opens a side panel where you can configure the following options:

  • Events you want to monitor.
  • Conditions you want to look for in the events.
  • Action you want Fabric Activator to take.

Use events list

  1. In Real-Time hub, select Fabric events under Subscribe to category.

  2. Move the mouse over Fabric workspace item events, and do one of the following steps:

    • Select the Alert button.
    • Select ellipsis (...), and select Set alert.

    Screenshot that shows the Azure events page with Set alert pages for Azure blob storage events.

Use the event detail page

  1. Select Workspace item events from the list see the detail page.

  2. On the detail page, select Set alert button at the top of page.

    Screenshot that shows the Azure blob storage events detail page with Set alert button selected.

Details section

On the Add rule page, in the Details section, for Rule name, enter a name for the rule.

Screenshot that shows the Add rule pane with the rule name filled.

Monitor section

  1. In the Monitor section, for Source, choose Select source events.

    Screenshot that shows the Set alert page.

  2. In the Connect data source wizard, do these steps:

    1. For Event types, select event types that you want to monitor.

      Screenshot that shows the event types for Fabric workspace item events.

    2. For Workspaces, select the Fabric workspace.

      Screenshot that shows the Connect page for Fabric workspace item events with a Fabric workspace selected.

    3. In the Set filters section, select + Filter to a filter based on a field.

      Screenshot that shows setting of a filter in the Add source wizard for Fabric workspace item events.

    4. Select Next.

    5. On the Review + connect page, review the settings, and select Save.

      Screenshot that shows the Add source wizard Review + connect page for Fabric workspace item events.

Condition section

In the Condition section, for Check, select On each event.

Screenshot that shows the Add rule pane with the condition selected.

Action section

In the Action section, select one of the following actions:

Email

To configure the alert to send an email when the condition is met, follow these steps:

  1. For Select action, select Send email.

  2. For To, enter the email address of the receiver or use the drop-down list to select a property whose value is an email address.

  3. For Subject, enter a subject for the email.

  4. For Headline, enter a headline for the email.

  5. For Notes, enter notes for the emails.

    Note

    When entering subject, headline, or notes, you can refer to properties in the data by typing @ or by selecting the button next to the text boxes. For example, @BikepointID.

  6. For Context, select values from the drop-down list that you want to include in the context.

    Screenshot that shows the Add rule pane with the Send email action selected.

Teams message

To configure the alert to send a Teams message to an individual or a group chat or a channel when the condition is met, follow these steps:

  1. For Select action, select Teams -> Message to individuals or Group chat message, or Channel post.

  2. Follow one of these steps depending on the option you selected in the previous step:

    • If you selected the Message to individuals option, enter email addresses of receivers or use the drop-down list to select a property whose value is an email address. When the condition is met, an email is sent to specified individuals.
    • If you selected the Group chat message option, select a group chat from the drop-down list. When the condition is met, a message is posted to the group chat.
    • If you selected the Channel post option, select a team and a channel. When the condition is met, a message is posted in the channel.
  3. For Headline, enter a headline for the email.

  4. For Notes, enter notes for the emails.

    Note

    When entering headline, or notes, you can refer to properties in the data by typing @ or by selecting the button next to the text boxes. For example, @BikepointID.

  5. For Context, select values from the drop-down list that you want to include in the context.

    Screenshot that shows the Add rule pane with the Send Teams message option selected.

Run a Fabric item

To configure the alert to launch a Fabric item (pipeline, notebook, Spark job, etc.) when the condition is met, follow these steps:

  1. For Selection action, select Run a Fabric item.

    Screenshot that shows the Add rule pane with Run a Fabric item option selected.

  2. Choose Select Fabric item to run, and then select the Fabric item from the list.

  3. Select Add parameter and specify the name of the parameter for the Fabric item and a value for it. You can add more than one parameter.

    Screenshot that shows the Add rule pane with parameters for a Fabric item specified.

Save location section

In the Save location section, for Workspace, select the workspace where you want to Fabric activator item to be created or that already exists. If you're creating a new activator item, enter a name for the activator item.

Screenshot that shows the Add rule pane with the location for the Fabric activator item selected.

Create alert

  1. Select Create at the bottom of the page to create the alert.

    Screenshot that shows the Set alert page with all fields selected.

  2. You see the Alert created page with a link to open the rule in the Fabric activator user interface in a separate tab. Select Done to close the Alert created page.

    Screenshot that shows the Alert created page for Fabric workspace item events.

  3. You see a page with the activator item created by the Add rule wizard. If you are on the Fabric events page, select Workspace item events to see this page.

    Screenshot that shows the Fabric Workspace items events page with the activator items created.

  4. Move the mouse over the Activator item, and select Open.

    Screenshot that shows the activator menu.

  5. You see the Activator item in the Fabric Activator editor user interface. Select the rule if it's not already selected. You can update the rule in this user interface. For example, update the subject, headline, or change the action from email to Teams message.

    Screenshot that shows the activator in an editor.