{
	"name": "Microsoft Outlook Service Principal Folder Get All Per Item",
	"nodes": [
		{
			"parameters": {},
			"id": "e524f588-b6a3-4849-8777-b32a8a755af0",
			"name": "When clicking \"Execute Workflow\"",
			"type": "n8n-nodes-base.manualTrigger",
			"typeVersion": 1,
			"position": [820, 360]
		},
		{
			"parameters": {
				"data": [{ "mailbox": "usera@example.com" }, { "mailbox": "userb@example.com" }]
			},
			"id": "e524f588-b6a3-4849-8777-b32a8a755af1",
			"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": "folder",
				"operation": "getAll",
				"returnAll": false,
				"limit": 50,
				"filters": {},
				"options": {
					"includeChildFolders": true
				}
			},
			"id": "baff6798-0304-4255-bdb0-dd3f2659373d",
			"name": "Microsoft Outlook",
			"type": "n8n-nodes-base.microsoftOutlook",
			"typeVersion": 2,
			"position": [1040, 360],
			"credentials": {
				"microsoftEntraServicePrincipalApi": {
					"id": "spCredId1",
					"name": "Microsoft Entra Service Principal Test"
				}
			}
		}
	],
	"pinData": {
		"Microsoft Outlook": [
			{
				"json": {
					"id": "folder-a",
					"displayName": "Inbox A",
					"childFolderCount": 1
				}
			},
			{
				"json": {
					"id": "sub-a",
					"displayName": "Sub A",
					"childFolderCount": 0
				}
			},
			{
				"json": {
					"id": "folder-b",
					"displayName": "Inbox B",
					"childFolderCount": 1
				}
			},
			{
				"json": {
					"id": "sub-b",
					"displayName": "Sub B",
					"childFolderCount": 0
				}
			}
		]
	},
	"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": []
}
