Using Webhooks with Teams

Using Webhooks with Teams



The Webhooks feature in Flexible User License sends notifications to a configured channel when license automation or API status events occur.

The required URL is a Microsoft Teams Incoming Webhook URL.

 


Prerequisites

Before using webhooks, make sure you have the following:

  • A Microsoft Teams account

  • A Teams channel to receive notifications

  • Permission to create an Incoming Webhook

Depending on your organization's Microsoft 365 or Teams management policy, an admin may need to approve the connection. This is because external services gain permissions to perform actions such as posting messages to a Teams channel. If approval is required, contact your Microsoft 365 or Teams admin.

 

Generate a Webhook URL in Microsoft Teams

 

Add a workflow to the Teams channel where you want to receive notifications, and generate a Webhook URL using the "Send webhook alerts to a channel" template.

  1. Go to the Teams channel where you want to receive notifications.

  2. Click …(More options) next to the channel name, then select Workflows.

image-20260807-063013.png

 

  1. In the Workflows dialog, select the Send webhook alerts to a channel template.

image-20260807-062330.png

 

  1. Select the channel to receive webhook notifications, then click Save.

스크린샷 2026-08-05 오전 9.31.33-20260805-003134.png
  1. Click Copy webhook link to copy the generated webhook URL.

image-20260807-062345.png

Anyone who knows the Webhook URL can send messages to that channel. Do not share the URL externally or upload it to a public repository such as GitHub.

 


Register a Webhook in Flexible User License

 

Once you have the Webhook URL, register it in Flexible User License. To create a new webhook, click Create webhook. To update an existing webhook, select it from the list.

 

  1. Log in to your Jira Cloud site.

  2. Go to Apps > Flexible User License in the left sidebar.

  3. Once the Flexible User License app launches, select Settings > Webhooks from the top navigation.

  4. On the Webhooks page, click Create webhook in the upper-right corner.

image-20260722-064033.png
  1. Fill in the required fields (marked with an asterisk *) in the Create webhook dialog.

image-20260807-061206.png
  • Enabled: Toggles the webhook on or off. Use the toggle in the upper-right corner of the screen.

  • Type: The notification channel type. Select Teams.

  • Name: A name to identify the webhook. Displayed in the list and in notification messages.

  • Webhook URL: Paste the Incoming Webhook URL generated from Teams.

Click the Configure an incoming webhook link below the field for instructions on generating a URL.

  • Language: The language to use for notification messages.

  • Events: The events for which you want to receive notifications. You can select multiple events.

  • Schedule: The time window during which notifications are sent.

 

 

Events

The events for which you want to receive notifications. Delivery timing varies depending on the event type.

License automation events

  • Automated license revocation: Sent immediately when a license is automatically revoked, within the configured Schedule window.

  • License user count exceeds the set limit: Sent once per day when the number of licensed users exceeds 75% of the configured limit.

API information events

  • Organization API Key & API Token is invalid: Sent once per day when the registered Organization API Key or API Token becomes invalid.

 

Schedule

Configure the time window during which notifications are delivered.

  • Always: Receive notifications at any time, regardless of day or time.

  • Weekdays or custom: Receive notifications only on selected days and within the specified time range (From–To). Notifications outside this window are not sent.

The table below shows when notifications are sent based on the Schedule setting:

Event

Delivery method

Always

Weekdays or custom

Event

Delivery method

Always

Weekdays or custom

Automated license revocation

Immediately when event occurs

Sent immediately

Sent immediately if within the configured days and time window

License user count exceeds the set limit

Once per day

Sent at 9:00 AM

Sent at the configured start time (From)

Organization API Key & API Token is invalid

Once per day

Sent at 9:00 AM

Sent at the configured start time (From)

 

 

Test the connection and save

Before saving, verify that the connection to Teams is working correctly.

  1. Click Test connection.

  2. Check whether a test message arrives in the connected Teams channel.

  3. Once the test message is successfully received, the Save button becomes active.

  4. Click Save to save your settings.

The Save button remains inactive until Test connection is completed successfully.

 


Edit a Webhook

 

To update a registered webhook, click its name in the Webhooks list to open the edit screen. You can update the Incoming Webhook URL and any other settings.

image-20260722-070524.png

To temporarily disable a webhook without deleting it, use the Enabled toggle. When disabled, no notifications are sent regardless of which events occur.

 

 


 

Delete a Webhook

 

To delete a webhook, click Delete in the Actions column of the Webhooks list.

The Delete button is only active when the webhook is disabled. Toggle Enabled off before deleting.

image-20260722-071734.png