Public/Get-NSPConditionalAccessTravel.ps1

function Get-NSPConditionalAccessTravel {
    <#
    .SYNOPSIS
        Lists a tenant profile's travel entries with their status, group, and policy Id.
    .DESCRIPTION
        Status is Active, Expired (a trip past its end date), or RetireRequested. GroupBound says
        whether the travel group exists and is bound; until then the plan proposes creating it.
    .EXAMPLE
        Get-NSPConditionalAccessTravel -TenantProfile $profilePath | Format-Table
    #>

    [CmdletBinding()]
    param(
        [Parameter(Mandatory)]$TenantProfile
    )

    if ($TenantProfile -is [string]) { $TenantProfile = Get-Content -LiteralPath $TenantProfile -Raw | ConvertFrom-Json }
    Get-NSPConditionalAccessTravelEntry -TenantProfile $TenantProfile | ForEach-Object {
        [pscustomobject]@{
            Key = $_.Key
            Kind = $_.Kind
            Name = $_.Name
            Countries = $_.Countries -join ', '
            EndDate = $_.EndDate
            Status = $_.Status
            Group = $_.DefaultName
            GroupBound = [bool]$_.Ids.Count
            PolicyId = $_.PolicyId
        }
    }
}