Kaffeeundcode
n8n Flow-Bibliothek
n8n Workflow 01.06.2026

Flow Arbeitsbereich

Conditional Access Audit

Flow prüfen, Nodes verstehen, JSON importieren und Credentials sauber anpassen.

Workflow Diagramm

auto-generiert
graph LR
    N0["🔧 Poll CA Changes"]
    N1["🔧 Notify Security"]
    N0 --> N1

    classDef trigger fill:#f59e0b,stroke:#b45309,color:#000
    classDef action fill:#292524,stroke:#44403c,color:#e7e5e4
    classDef logic fill:#1e1b4b,stroke:#4338ca,color:#c7d2fe
    class N0 action
    class N1 action

16_Conditional_Access_Audit.json

{
    "name": "16_Conditional_Access_Audit",
    "nodes": [
        {
            "parameters": {
                "pollInterval": "10m",
                "authentication": "predefinedCredentialType",
                "nodeCredentialType": "microsoftGraphOAuth2Api",
                "url": "https://graph.microsoft.com/v1.0/auditLogs/directoryAudits?$filter=activityDisplayName eq 'Update conditional access policy'",
                "options": {}
            },
            "name": "Poll CA Changes",
            "type": "n8n-nodes-base.httpRequest",
            "typeVersion": 3,
            "position": [
                250,
                300
            ],
            "credentials": {
                "microsoftGraphOAuth2Api": {
                    "id": "YOUR_CREDENTIAL_ID",
                    "name": "Microsoft Graph Account"
                }
            }
        },
        {
            "parameters": {
                "resource": "chat",
                "message": "=🛡️ **Conditional Access Policy Modified**nn**Actor:** {{ $json.initiatedBy.user.displayName }}n**Policy:** {{ $json.targetResources[0].displayName }}n**Time:** {{ $json.activityDateTime }}"
            },
            "name": "Notify Security",
            "type": "n8n-nodes-base.microsoftTeams",
            "typeVersion": 1,
            "position": [
                450,
                300
            ]
        }
    ],
    "connections": {
        "Poll CA Changes": {
            "main": [
                [
                    {
                        "node": "Notify Security",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}