imaging: deep-link buttons for Set Category + LAPS per bay

Two buttons next to the Intune device id on each bay card:
 - "set category" -> portal.azure.us Intune device blade properties
   via aadDeviceId/{deviceId}
 - "LAPS" -> intune.microsoft.us encryptionKeys blade via
   mdmDeviceId/{deviceId}

Both use the dsregcmd DeviceId we already capture - no Graph API
lookup or objectId resolution needed. One click from the dashboard
takes the tech to the right page for category assignment or LAPS
retrieval.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
cproudlock
2026-05-14 19:20:10 -04:00
parent 4599c85509
commit 74ba3d1339

View File

@@ -48,6 +48,14 @@
<button type="button" class="btn btn-sm btn-outline-secondary py-0 px-1 ms-1 copy-btn" <button type="button" class="btn btn-sm btn-outline-secondary py-0 px-1 ms-1 copy-btn"
style="font-size:0.7rem; line-height:1; transition: all 0.2s;" style="font-size:0.7rem; line-height:1; transition: all 0.2s;"
data-copy-text="{{ s.intune_device_id }}">copy</button> data-copy-text="{{ s.intune_device_id }}">copy</button>
<a class="btn btn-sm btn-outline-primary py-0 px-1 ms-1"
style="font-size:0.7rem; line-height:1;"
target="_blank" rel="noopener"
href="https://portal.azure.us/?feature.msaljs=false#view/Microsoft_Intune_Devices/DeviceSettingsMenuBlade/~/properties/aadDeviceId/{{ s.intune_device_id }}">set category</a>
<a class="btn btn-sm btn-outline-primary py-0 px-1 ms-1"
style="font-size:0.7rem; line-height:1;"
target="_blank" rel="noopener"
href="https://intune.microsoft.us/#view/Microsoft_Intune_Devices/DeviceSettingsMenuBlade/~/localAdminPassword/mdmDeviceId/{{ s.intune_device_id }}">LAPS</a>
</div>{% endif %} </div>{% endif %}
</div> </div>
</div> </div>