From 1a02fbe6cafcc5dd70b5b06daa9120662286d191 Mon Sep 17 00:00:00 2001 From: mhorak Date: Thu, 14 Aug 2025 07:09:57 +0000 Subject: [PATCH] Update Sharepoint.yaml --- Sharepoint.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Sharepoint.yaml b/Sharepoint.yaml index 751a77a..127e473 100644 --- a/Sharepoint.yaml +++ b/Sharepoint.yaml @@ -78,7 +78,7 @@ delegate_to: localhost run_once: true uri: - url: "https://graph.microsoft.com/v1.0/sites/{{ site_id }}/lists/{{ list_id }}/columns?$select=name,displayName,columnType" + url: "https://graph.microsoft.com/v1.0/sites/{{ site_id }}/lists/{{ list_id }}/columns?$select=name,displayName" method: GET headers: Authorization: "Bearer {{ graph_token.json.access_token }}" @@ -92,6 +92,11 @@ debug: var: cols_probe.json.value | map(attribute='name') | list + - name: Show internal column names (safe) + debug: + msg: + names: "{{ (cols_probe.json.value | default([])) | map(attribute='name') | list }}" + - name: Create SharePoint list item (Graph) delegate_to: localhost run_once: true