Teams (Office 365 Connectors)
Teams 알림 서비스는 Office 365 Connectors를 사용해 메시지 알림을 보내요. Microsoft가 Office 365 Connectors를 폐지함에 따라 Power Automate Workflows로의 마이그레이션이 권장되는 점을 함께 설명하는 문서예요.
출처: 문서
본문
⚠️ Deprecation Notice
Office 365 Connectors는 Microsoft에 의해 폐지되고 있어요.
Microsoft가 Teams의 Office 365 Connectors 서비스를 폐지하고 있어요. 이 서비스는 2026년 3월 31일에 완전히 폐지될 예정이에요 (기존 일정인 2025년 12월에서 연장됨).
What this means:
-
기존 Office 365 Connectors(
webhook.office.com의 webhook URL)는 폐지 날짜 이후에 동작이 중지돼요 -
새로운 Power Automate Workflows(
api.powerautomate.com,api.powerplatform.com, 또는flow.microsoft.com의 webhook URL)가 권장되는 대안이에요
Migration Required:
현재 Office 365 Connectors(Incoming Webhook)를 사용 중이라면, 폐지 날짜 이전에 Power Automate Workflows로 마이그레이션해야 해요. notifications-engine이 webhook 유형을 자동으로 감지해 두 형식을 모두 처리하긴 하지만, 마이그레이션을 계획해야 해요.
Migration Resources:
- Microsoft Deprecation Notice
- Create incoming webhooks with Workflows for Microsoft Teams
Parameters
Teams 알림 서비스는 Office 365 Connectors를 사용해 메시지 알림을 보내며, 다음 설정을 지정해야 해요:
recipientUrls- webhook url 맵이에요, 예:channelName: https://outlook.office.com/webhook/...
⚠️ Deprecation Notice: Office 365 Connectors는 2026년 3월 31일에 Microsoft에 의해 폐지될 예정이에요. 지속적인 지원과 향상된 기능을 위해 Teams Workflows 서비스로 마이그레이션하는 것을 권장해요.
Configuration
💡 Power Automate Workflows(권장)의 경우: 자세한 구성 안내는 Teams Workflows 문서를 참고해요.
Office 365 Connectors (Deprecated - Retiring March 31, 2026)
⚠️ Warning: 이 방법은 폐지 예정이며 2026년 3월 31일 이후에는 동작이 중지돼요. Power Automate Workflows로 마이그레이션해 주세요.
-
Teams를 열고Apps로 이동해요 -
Incoming Webhookmicrosoft 앱을 찾아 클릭해요 -
Add to a team을 누르고 -> 팀과 채널을 선택한 후 ->Set up a connector를 눌러요 -
webhook 이름을 입력하고 이미지를 업로드해요(선택 사항)
-
Create를 누른 다음 webhook url을 복사해요 (webhook.office.com에서 발급돼요) -
argo-rollouts-notification-secret에 저장하고argo-rollouts-notification-configmap에서 정의해요
apiVersion: v1
kind: ConfigMap
metadata:
name: argo-rollouts-notification-configmap
data:
service.teams: |
recipientUrls:
channelName: $channel-teams-url
apiVersion: v1
kind: Secret
metadata:
name: <secret-name>
stringData:
channel-teams-url: https://webhook.office.com/webhook/your-webhook-id # Office 365 Connector (deprecated)
참고: Power Automate Workflows webhook의 경우 대신 Teams Workflows 서비스를 사용해요.
Webhook Type Detection
teams 서비스는 Office 365 Connectors(폐지 예정)를 지원해요:
-
Office 365 Connectors:
webhook.office.com의 URL (폐지 예정) -
성공을 위해 응답 본문이 정확히
"1"이어야 해요
2026년 3월 31일 이후에는 동작이 중지돼요
Teams 통합을 위한 구독을 만들어요:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
annotations:
notifications.argoproj.io/subscribe.on-sync-succeeded.teams: channelName
Channel Support
- ✅ 표준 Teams 채널만 지원돼요
참고: Office 365 Connectors는 표준 Teams 채널만 지원해요. 공유 채널이나 비공개 채널의 경우 Teams Workflows 서비스를 사용해요.
Templates
알림 템플릿은 teams의 message sections, facts, themeColor, summary, potentialAction 기능을 활용하도록 커스터마이즈할 수 있어요.
Teams 서비스는 Office 365 Connectors와 호환되는 messageCard 형식(MessageCard schema)을 사용해요.
template.app-sync-succeeded: |
teams:
themeColor: "#000080"
sections: |
[{
"facts": [
{
"name": "Sync Status",
"value": "{{.app.status.sync.status}}"
},
{
"name": "Repository",
"value": "{{.app.spec.source.repoURL}}"
}
]
}]
potentialAction: |-
[{
"@type":"OpenUri",
"name":"Operation Details",
"targets":[{
"os":"default",
"uri":"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true"
}]
}]
title: Application {{.app.metadata.name}} has been successfully synced
text: Application {{.app.metadata.name}} has been successfully synced at {{.app.status.operationState.finishedAt}}.
summary: "{{.app.metadata.name}} sync succeeded"
facts field
sections 필드 대신 facts 필드를 사용할 수 있어요.
template.app-sync-succeeded: |
teams:
facts: |
[{
"name": "Sync Status",
"value": "{{.app.status.sync.status}}"
},
{
"name": "Repository",
"value": "{{.app.spec.source.repoURL}}"
}]
theme color field
메시지의 theme 색상을 hex 문자열로 설정할 수 있어요.
template.app-sync-succeeded: |
teams:
themeColor: "#000080"
summary field
Notification & Activity Feed에 표시될 메시지 요약을 설정할 수 있어요.
template.app-sync-succeeded: |
teams:
summary: "Sync Succeeded"
Migration to Teams Workflows
현재 Office 365 Connectors를 사용 중이라면, 마이그레이션 안내와 향상된 기능을 위해 Teams Workflows 문서를 참고해요.