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:
1 parent
15441eab35
commit
7ffb43f938
4 files changed
+193
-10
No files matched your search
+6
-2
@@ -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. max.mustermann@firma.de erika.muster@firma.de 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>
|
||||
|
||||
Reference in new issue
Block a user