Skip to content

Commit

Permalink
Merge pull request #1505 from rvdwegen/dev
Browse files Browse the repository at this point in the history
Update portal links to Entra and Intune links
  • Loading branch information
KelvinTegelaar authored Apr 22, 2023
2 parents d0c54d4 + ac73017 commit cb2d47f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/views/identity/administration/User365Management.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ import PropTypes from 'prop-types'
import { ActionContentCard } from 'src/components/contentcards'

export default function User365Management({ tenantDomain, userId, className }) {
const azureADLink = `https://portal.azure.com/${tenantDomain}/#blade/Microsoft_AAD_IAM/UserDetailsMenuBlade/Profile/userId/${userId}`
const endpointManagerLink = `https://endpoint.microsoft.com/${tenantDomain}/#blade/Microsoft_AAD_IAM/UserDetailsMenuBlade/Profile/userId/${userId}`
const entraLink = `https://entra.microsoft.com/${tenantDomain}/#view/Microsoft_AAD_UsersAndTenants/UserProfileMenuBlade/~/overview/userId/${userId}`
const intuneLink = `https://intune.microsoft.com/${tenantDomain}/#view/Microsoft_AAD_UsersAndTenants/UserProfileMenuBlade/~/overview/userId/${userId}`
const actions = [
{
label: 'View in Azure AD',
link: azureADLink,
label: 'View in Entra',
link: entraLink,
icon: faUsers,
target: '_blank',
},
{
label: 'View in Endpoint Manager',
link: endpointManagerLink,
label: 'View in Intune',
link: intuneLink,
icon: faLaptop,
target: '_blank',
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/identity/administration/UserDevices.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const columns = [
return (
<CLink
target="_blank"
href={`https://endpoint.microsoft.com/${tenantDomainFileScope}#blade/Microsoft_Intune_Devices/DeviceSettingsMenuBlade/overview/mdmDeviceId/${row.EPMID}`}
href={`https://intune.microsoft.com/${tenantDomainFileScope}/#view/Microsoft_Intune_Devices/DeviceSettingsMenuBlade/~/overview/mdmDeviceId/${row.EPMID}`}
>
{row.displayName}
</CLink>
Expand Down
2 changes: 1 addition & 1 deletion src/views/identity/administration/UserGroups.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const columns = [
formatter: (cell, row) => {
return (
<CLink
href={`https://aad.portal.azure.com/${row.tenantDomain}/#blade/Microsoft_AAD_IAM/GroupDetailsMenuBlade/Overview/groupId/${row.id}`}
href={`https://entra.microsoft.com/${row.tenantDomain}/#view/Microsoft_AAD_IAM/GroupDetailsMenuBlade/~/Overview/groupId/${row.id}`}
>
{row.DisplayName}
</CLink>
Expand Down
2 changes: 1 addition & 1 deletion src/views/tenant/administration/Tenants.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
label: 'MEM (Intune) Portal',
color: 'info',
external: true,
link: `https://endpoint.microsoft.com/${row.defaultDomainName}`,
link: `https://intune.microsoft.com/${row.defaultDomainName}`,
},
{
icon: <FontAwesomeIcon icon={faCog} className="me-2" />,
Expand Down

0 comments on commit cb2d47f

Please sign in to comment.