diff --git a/src/content/docs/alerts/get-notified/new-relic-webhook-for-microsoft-teams-workflow.mdx b/src/content/docs/alerts/get-notified/new-relic-webhook-for-microsoft-teams-workflow.mdx index 641aea5393b..a0a43b4205c 100644 --- a/src/content/docs/alerts/get-notified/new-relic-webhook-for-microsoft-teams-workflow.mdx +++ b/src/content/docs/alerts/get-notified/new-relic-webhook-for-microsoft-teams-workflow.mdx @@ -39,140 +39,140 @@ Microsoft is retiring Microsoft 365 webhook-based Connectors service in Teams by src="/images/alerts_workflow_payload.webp" /> 3. On the Edit notification message screen, in the **Template** field, copy and paste the following payload: - ```json -{ - "type": "message", - "attachments": [ - { - "contentType": "application/vnd.microsoft.card.adaptive", - "contentUrl": null, - "content": { - "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", - "type": "AdaptiveCard", - "version": "1.2", - "msteams": { "width": "full" }, - "body": [ + ```json + { + "type": "message", + "attachments": [ { - "type": "ColumnSet", - "columns": [ - - { - "type": "Column", - "items": [ - { - "type": "Image", - "style": "Person", - "url": "https://avatars.slack-edge.com/2022-06-02/3611814361970_f6a28959c2e7258660ea_512.png", - "size": "Small" - } - ], - "width": "auto" - }, - - { - "type": "Column", - "items": [ + "contentType": "application/vnd.microsoft.card.adaptive", + "contentUrl": null, + "content": { + "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", + "type": "AdaptiveCard", + "version": "1.2", + "msteams": { "width": "full" }, + "body": [ + { + "type": "ColumnSet", + "columns": [ + { - "type": "TextBlock", - "size": "large", - "weight": "bolder", - "text": "{{ priorityText }} priority issue is {{#if issueClosedAt}}CLOSED{{else}}{{#if issueAcknowledgedAt}}ACKNOWLEDGED{{else}}ACTIVATED{{/if}}{{/if}}" - }, - { - "type": "TextBlock", - "size": "large", - "wrap": "true", - "maxLines": "2", - "weight": "bolder", - "text": "[{{ issueTitle }}]({{ issuePageUrl }})" - } - ], - "width": "stretch" - } - ] - }, - {{#if accumulations.conditionDescription.[0]}} - { - "type": "TextBlock", - "text": {{ json accumulations.conditionDescription.[0] }}, - "wrap": true - }, - {{/if}} - {{#eq "Not Available" violationChartUrl}} - {{else}} - { - "type": "Image", - "url": {{ json violationChartUrl }} - }, - {{/eq}} - { - "type": "FactSet", - "facts": [ - { - "title": "*Impacted entities:*", - "value": "{{#each entitiesData.names}}{{#lt @index 5}}{{this}}{{#unless @last}},{{/unless}}{{/lt}}{{/each}}" - }, - {{#if accumulations.policyName }} - { - "title": "*Policy:*", - "value": {{ json accumulations.policyName.[0]}} - }, - {{/if}} - {{#if accumulations.conditionName }} - { - "title": "*Condition:*", - "value": {{ json accumulations.conditionName.[0]}} - }, - {{#eq impactedEntitiesCount 1}} - {{else}} - { - "title": "*Total Incidents:*", - "value": {{ json impactedEntitiesCount}} - }, - {{/eq}} - {{/if}} - { - "title": "Workflow Name:", - "value": {{ json workflowName }} - } - ] - }, - { - "type": "ActionSet", - "actions": [ - { - "type": "Action.OpenUrl", - "title": "📥 Acknowledge", - "url": {{ json issueAckUrl }} - }, - { - "type": "Action.OpenUrl", - "title": "✔️ Close", - "url": {{ json issueCloseUrl }} - } - {{#if accumulations.deepLinkUrl}} - ,{ - "type": "Action.OpenUrl", - "title": "🔎 View Query", - "url": {{ json accumulations.deepLinkUrl.[0] }}, - "mode": "secondary" - } - {{/if}} - {{#if accumulations.runbookUrl}} - ,{ - "type": "Action.OpenUrl", - "title": "📕 View Runbook", - "url": {{ json accumulations.runbookUrl.[0] }}, - "mode": "secondary" - } - {{/if}} + "type": "Column", + "items": [ + { + "type": "Image", + "style": "Person", + "url": "https://avatars.slack-edge.com/2022-06-02/3611814361970_f6a28959c2e7258660ea_512.png", + "size": "Small" + } + ], + "width": "auto" + }, + + { + "type": "Column", + "items": [ + { + "type": "TextBlock", + "size": "large", + "weight": "bolder", + "text": "{{ priorityText }} priority issue is {{#if issueClosedAt}}CLOSED{{else}}{{#if issueAcknowledgedAt}}ACKNOWLEDGED{{else}}ACTIVATED{{/if}}{{/if}}" + }, + { + "type": "TextBlock", + "size": "large", + "wrap": "true", + "maxLines": "2", + "weight": "bolder", + "text": "[{{ issueTitle }}]({{ issuePageUrl }})" + } + ], + "width": "stretch" + } + ] + }, + {{#if accumulations.conditionDescription.[0]}} + { + "type": "TextBlock", + "text": {{ json accumulations.conditionDescription.[0] }}, + "wrap": true + }, + {{/if}} + {{#eq "Not Available" violationChartUrl}} + {{else}} + { + "type": "Image", + "url": {{ json violationChartUrl }} + }, + {{/eq}} + { + "type": "FactSet", + "facts": [ + { + "title": "*Impacted entities:*", + "value": "{{#each entitiesData.names}}{{#lt @index 5}}{{this}}{{#unless @last}},{{/unless}}{{/lt}}{{/each}}" + }, + {{#if accumulations.policyName }} + { + "title": "*Policy:*", + "value": {{ json accumulations.policyName.[0]}} + }, + {{/if}} + {{#if accumulations.conditionName }} + { + "title": "*Condition:*", + "value": {{ json accumulations.conditionName.[0]}} + }, + {{#eq impactedEntitiesCount 1}} + {{else}} + { + "title": "*Total Incidents:*", + "value": {{ json impactedEntitiesCount}} + }, + {{/eq}} + {{/if}} + { + "title": "Workflow Name:", + "value": {{ json workflowName }} + } + ] + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.OpenUrl", + "title": "📥 Acknowledge", + "url": {{ json issueAckUrl }} + }, + { + "type": "Action.OpenUrl", + "title": "✔️ Close", + "url": {{ json issueCloseUrl }} + } + {{#if accumulations.deepLinkUrl}} + ,{ + "type": "Action.OpenUrl", + "title": "🔎 View Query", + "url": {{ json accumulations.deepLinkUrl.[0] }}, + "mode": "secondary" + } + {{/if}} + {{#if accumulations.runbookUrl}} + ,{ + "type": "Action.OpenUrl", + "title": "📕 View Runbook", + "url": {{ json accumulations.runbookUrl.[0] }}, + "mode": "secondary" + } + {{/if}} + ] + } ] + } } ] } - } - ] -} - ``` + ``` 4. Click **Save message**. diff --git a/src/content/whats-new/2025/01/whats-new-01-20-msconnector-eol.md b/src/content/whats-new/2025/01/whats-new-01-20-msconnector-eol.md new file mode 100644 index 00000000000..a1a40b3bd51 --- /dev/null +++ b/src/content/whats-new/2025/01/whats-new-01-20-msconnector-eol.md @@ -0,0 +1,26 @@ +--- +title: 'Office 365 connectors for Microsoft Teams End-of-life' +summary: 'Microsoft is retiring Office 365 connectors within Microsoft Teams ' +releaseDate: '2025-01-20' +learnMoreLink: 'https://forum.newrelic.com/s/hubtopic/aAXPh0000008Rz7OAE/upcoming-endoflife-microsoft-teams-connectors-integration' +getStartedLink: '' +--- + +Microsoft has announced the [retirement of the Office 365 connectors feature for Microsoft Teams](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/). This change could impact the New Relic accounts that use these connectors for outbound notifications. The transition to a new URL structure is required as part of [Microsoft's service hardening updates](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/). + +As a result, the webhook URLs of all existing Office 365 connectors with New Relic must either (1) be updated following the instructions below or (2) deleted and replaced with new connectors by January 31, 2025 to continue posting messages into Microsoft Teams. [Microsoft recommends](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/) deleting existing connectors and creating new connectors to avoid having to do another round of updates at a later date. + +## What you need to do + +1. **To update your existing connectors:** + 1. Follow the steps [recommended by Microsoft](https://learn.microsoft.com/en-us/microsoftteams/m365-custom-connectors#update-connectors-url) to update the webhook URLs of your Office 365 connectors. + 2. Edit the corresponding webhook destinations in New Relic UI by updating the new URLs in the **Endpoint URL** field. + + **NOTE:** [Microsoft recommends](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/) deleting existing connectors and creating new connectors to prevent further updates. See additional instructions below to create new connectors. + + OR + +2. **To create new connectors:** Microsoft recommends designing a workflow within Microsoft Teams using the Workflows app. We have provided the step-by-step instructions along with a [sample payload template](/docs/alerts/get-notified/new-relic-webhook-for-microsoft-teams-workflow/) to help you get started. + + +Our support team is here to assist you during this transition. Additional solutions may be available from New Relic in the future. If you have questions about these changes, please [contact Support](https://docs.newrelic.com/docs/new-relic-solutions/solve-common-issues/find-help-get-support/).