Skip to content

Commit

Permalink
Remove erroneous /deviceId from Ninja field
Browse files Browse the repository at this point in the history
NinjaOneTenantSync was placing a duplicate /deviceId on the end of the Entra URL for devices. This URL does not properly lead to the device. Removing the trailing /deviceId does.
Resolves KelvinTegelaar/CIPP#3026
  • Loading branch information
MWGMorningwood authored Dec 30, 2024
1 parent b17e37e commit fef2e13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ function Invoke-NinjaOneTenantSync {
$DeviceLinksData = @(
@{
Name = 'Entra ID'
Link = "https://entra.microsoft.com/$($Customer.defaultDomainName)/#view/Microsoft_AAD_Devices/DeviceDetailsMenuBlade/~/Properties/deviceId/$($Device.azureADDeviceId)/deviceId/"
Link = "https://entra.microsoft.com/$($Customer.defaultDomainName)/#view/Microsoft_AAD_Devices/DeviceDetailsMenuBlade/~/Properties/deviceId/$($Device.azureADDeviceId)"
Icon = 'fab fa-microsoft'
},
@{
Expand Down

0 comments on commit fef2e13

Please sign in to comment.