Tilføj connection_info skabelon og opdater README

This commit is contained in:
Martin Tranberg
2026-03-26 10:50:20 +01:00
parent 407e58baec
commit f67cfc22ee
2 changed files with 9 additions and 1 deletions

View File

@@ -21,7 +21,8 @@ Dette script gør det muligt at downloade specifikke mapper fra et SharePoint do
## Konfiguration
Indstil dine forbindelsesoplysninger i `connection_info.txt`:
1. Kopier `connection_info.template.txt` til en ny fil kaldet `connection_info.txt`.
2. Indstil dine forbindelsesoplysninger i `connection_info.txt`:
* `TENANT_ID`, `CLIENT_ID`, `CLIENT_SECRET` (Fra Microsoft Entra admin center).
* `SITE_URL`: URL til din SharePoint site.
* `DOCUMENT_LIBRARY`: Navnet på dokumentbiblioteket (f.eks. "22 Studies").

View File

@@ -0,0 +1,7 @@
TENANT_ID = "*** INPUT TENANT ID HERE ***"
CLIENT_ID = "*** INPUT CLIENT ID HERE ***"
CLIENT_SECRET = "*** INPUT CLIENT SECRET HERE ***"
SITE_URL = "*** INPUT SHAREPOINT SITE URL HERE ***"
DOCUMENT_LIBRARY = "*** INPUT DOCUMENT LIBRARY NAME HERE (e.g. Documents) ***"
FOLDERS_TO_DOWNLOAD = "*** INPUT FOLDERS TO DOWNLOAD (Comma separated) ***"
LOCAL_PATH = "*** INPUT LOCAL DESTINATION PATH HERE ***"