{
	"name": "Microsoft Outlook Service Principal Message Send Per Item ContinueOnFail",
	"nodes": [
		{
			"parameters": {},
			"id": "e524f588-b6a3-4849-8777-b32a8a755af5",
			"name": "When clicking \"Execute Workflow\"",
			"type": "n8n-nodes-base.manualTrigger",
			"typeVersion": 1,
			"position": [820, 360]
		},
		{
			"parameters": {
				"data": [
					{ "mailbox": "contoso.com" },
					{ "mailbox": "alice@example.com" },
					{ "mailbox": "bob@example.com" }
				]
			},
			"id": "e524f588-b6a3-4849-8777-b32a8a755af6",
			"name": "Test Data",
			"type": "n8n-nodes-testing.testData",
			"typeVersion": 1,
			"position": [930, 360]
		},
		{
			"parameters": {
				"authentication": "microsoftEntraServicePrincipalApi",
				"mailbox": {
					"__rl": true,
					"mode": "id",
					"value": "={{ $json.mailbox }}"
				},
				"resource": "message",
				"operation": "send",
				"toRecipients": "to@mail.com",
				"subject": "Hello",
				"bodyContent": "message description",
				"additionalFields": {
					"bodyContentType": "Text"
				}
			},
			"id": "baff6798-0304-4255-bdb0-dd3f2659373e",
			"name": "Microsoft Outlook",
			"type": "n8n-nodes-base.microsoftOutlook",
			"typeVersion": 2,
			"position": [1040, 360],
			"onError": "continueRegularOutput",
			"credentials": {
				"microsoftEntraServicePrincipalApi": {
					"id": "spCredId1",
					"name": "Microsoft Entra Service Principal Test"
				}
			}
		}
	],
	"pinData": {
		"Microsoft Outlook": [
			{
				"json": {
					"error": "The mailbox is not valid"
				}
			},
			{
				"json": {
					"success": true
				}
			},
			{
				"json": {
					"success": true
				}
			}
		]
	},
	"connections": {
		"When clicking \"Execute Workflow\"": {
			"main": [
				[
					{
						"node": "Test Data",
						"type": "main",
						"index": 0
					}
				]
			]
		},
		"Test Data": {
			"main": [
				[
					{
						"node": "Microsoft Outlook",
						"type": "main",
						"index": 0
					}
				]
			]
		}
	},
	"active": false,
	"settings": {
		"executionOrder": "v1"
	},
	"tags": []
}
