Group Management: Geräte per CSV in Gruppen aufnehmen

CSV-Import bekommt einen Modus-Umschalter "Benutzer | Geräte". Im Geräte-Modus
werden Gerätenamen ODER Seriennummern aufgelöst (neuer Endpoint
POST /api/groups/resolve-devices: managedDevice per deviceName/serialNumber ->
azureADDeviceId -> Entra-Geräte-Objekt-Id). Rückgabeformat identisch zu
resolve-upns, daher funktionieren Vorschau und Import (Add-GroupMembersEndpoint)
unverändert; UserId ist hier die Entra-Objekt-Id.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
marcoandClaude Opus 4.8 committed 2026-11-11 11:07:51 +01:00
1 parent 15441eab35
commit 7ffb43f938
4 files changed
+193 -10

No files matched your search

+6 -2
View File
@@ -342,7 +342,11 @@
<!-- Rechte Spalte: CSV-Import -->
<div class="gex-right hidden" id="gexPaneImport">
<div class="gex-section-title">UPNs einfügen oder CSV hochladen</div>
<div class="csv-mode-toggle">
<label><input type="radio" name="csvImportMode" value="users" checked> Benutzer</label>
<label><input type="radio" name="csvImportMode" value="devices"> Geräte</label>
</div>
<div class="gex-section-title" id="csvImportTitle">UPNs einfügen oder CSV hochladen</div>
<div class="csv-import-input-row">
<textarea id="csvImportText" class="csv-import-textarea" placeholder="Eine UPN/E-Mail pro Zeile, z.B.&#10;max.mustermann@firma.de&#10;erika.muster@firma.de&#10;&#10;Oder erste Spalte einer CSV (Header wird erkannt)."></textarea>
<label class="csv-upload-label" title="CSV-Datei auswählen">
@@ -364,7 +368,7 @@
</div>
<div class="csv-preview-table-wrap">
<table class="csv-preview-table">
<thead><tr><th></th><th>UPN / E-Mail</th><th>Name</th><th>Status</th></tr></thead>
<thead><tr><th></th><th id="csvPreviewColHead">UPN / E-Mail</th><th>Name</th><th>Status</th></tr></thead>
<tbody id="csvPreviewBody"></tbody>
</table>
</div>