@@ -122,12 +122,12 @@ function Invoke-HuduExtensionSync {
122
122
$Links = @ (
123
123
@ {
124
124
Title = ' M365 Admin Portal'
125
- URL = ' https://admin.microsoft.com/Partner/BeginClientSession.aspx?CTID ={0}&CSDEST=o365admincenter ' -f $Tenant.customerId
125
+ URL = ' https://admin.cloud.microsoft/?delegatedOrg ={0}' -f $Tenant.initialDomainName
126
126
Icon = ' fas fa-cogs'
127
127
}
128
128
@ {
129
129
Title = ' Exchange Admin Portal'
130
- URL = ' https://admin.exchange .microsoft.com/?landingpage=homepage&form=mac_sidebar& delegatedOrg={0}' -f $Tenant.initialDomainName
130
+ URL = ' https://admin.cloud .microsoft/exchange/? delegatedOrg={0}' -f $Tenant.initialDomainName
131
131
Icon = ' fas fa-mail-bulk'
132
132
}
133
133
@ {
@@ -432,9 +432,9 @@ function Invoke-HuduExtensionSync {
432
432
TotalItemSize = $TotalItemSize
433
433
}
434
434
435
- $userDevices = ($devices | Where-Object { $_.userPrincipalName -eq $user.userPrincipalName } | Select-Object @ {N = ' Name' ; E = { " <a target='_blank' href=https://endpoint .microsoft.com/$ ( $Tenant.defaultDomainName ) /#blade/Microsoft_Intune_Devices/DeviceSettingsBlade/overview/mdmDeviceId/$ ( $_.id ) >$ ( $_.deviceName ) ($ ( $_.operatingSystem ) )" } }).name -join ' <br/>'
435
+ $userDevices = ($devices | Where-Object { $_.userPrincipalName -eq $user.userPrincipalName } | Select-Object @ {N = ' Name' ; E = { " <a target='_blank' href=https://intune .microsoft.com/$ ( $Tenant.defaultDomainName ) /#blade/Microsoft_Intune_Devices/DeviceSettingsBlade/overview/mdmDeviceId/$ ( $_.id ) >$ ( $_.deviceName ) ($ ( $_.operatingSystem ) )" } }).name -join ' <br/>'
436
436
437
- $UserDevicesDetailsRaw = $devices | Where-Object { $_.userPrincipalName -eq $user.userPrincipalName } | Select-Object @ {N = ' Name' ; E = { " <a target='_blank' href=https://endpoint .microsoft.com/$ ( $Tenant.defaultDomainName ) /#blade/Microsoft_Intune_Devices/DeviceSettingsBlade/overview/mdmDeviceId/$ ( $_.id ) >$ ( $_.deviceName ) </a>" } }, @ {n = ' Owner' ; e = { $_.managedDeviceOwnerType } }, `
437
+ $UserDevicesDetailsRaw = $devices | Where-Object { $_.userPrincipalName -eq $user.userPrincipalName } | Select-Object @ {N = ' Name' ; E = { " <a target='_blank' href=https://intune .microsoft.com/$ ( $Tenant.defaultDomainName ) /#blade/Microsoft_Intune_Devices/DeviceSettingsBlade/overview/mdmDeviceId/$ ( $_.id ) >$ ( $_.deviceName ) </a>" } }, @ {n = ' Owner' ; e = { $_.managedDeviceOwnerType } }, `
438
438
@ {n = ' Enrolled' ; e = { $_.enrolledDateTime } }, `
439
439
@ {n = ' Last Sync' ; e = { $_.lastSyncDateTime } }, `
440
440
@ {n = ' OS' ; e = { $_.operatingSystem } }, `
@@ -443,7 +443,7 @@ function Invoke-HuduExtensionSync {
443
443
@ {n = ' Model' ; e = { $_.model } }, `
444
444
@ {n = ' Manufacturer' ; e = { $_.manufacturer } },
445
445
deviceName,
446
- @ {n = ' url' ; e = { " https://endpoint .microsoft.com/$ ( $Tenant.defaultDomainName ) /#blade/Microsoft_Intune_Devices/DeviceSettingsBlade/overview/mdmDeviceId/$ ( $_.id ) " } }
446
+ @ {n = ' url' ; e = { " https://intune .microsoft.com/$ ( $Tenant.defaultDomainName ) /#blade/Microsoft_Intune_Devices/DeviceSettingsBlade/overview/mdmDeviceId/$ ( $_.id ) " } }
447
447
448
448
$aliases = (($user.proxyAddresses | Where-Object { $_ -cnotmatch ' SMTP' -and $_ -notmatch ' .onmicrosoft.com' }) -replace ' SMTP:' , ' ' ) -join ' , '
449
449
@@ -781,7 +781,7 @@ function Invoke-HuduExtensionSync {
781
781
}
782
782
783
783
[System.Collections.Generic.List [PSCustomObject ]]$DeviceLinksFormatted = @ ()
784
- $DeviceLinksFormatted.add ((Get-HuduLinkBlock - URL " https://endpoint .microsoft.com/$ ( $Tenant.defaultDomainName ) /#blade/Microsoft_Intune_Devices/DeviceSettingsBlade/overview/mdmDeviceId/$ ( $Device.id ) " - Icon ' fas fa-laptop' - Title ' Endpoint Manager' ))
784
+ $DeviceLinksFormatted.add ((Get-HuduLinkBlock - URL " https://intune .microsoft.com/$ ( $Tenant.defaultDomainName ) /#blade/Microsoft_Intune_Devices/DeviceSettingsBlade/overview/mdmDeviceId/$ ( $Device.id ) " - Icon ' fas fa-laptop' - Title ' Endpoint Manager' ))
785
785
786
786
if ($HuduDevice ) {
787
787
$DRMMCard = $HuduDevice.cards | Where-Object { $_.integrator_name -eq ' dattormm' }
0 commit comments