Functions/Get-MSPCompleteUserToExchangeOnlineUserExtendedPropertyMap.ps1

<#
.SYNOPSIS
    This function returns a hash table that maps MSPComplete user extended properties to
    Exchange Online user properties
#>

function Get-MSPCompleteUserToExchangeOnlineUserExtendedPropertyMap {
    # Return the map of properties
    return @{
        AddressLine1                    = "StreetAddress"
        City                            = "City"
        StateOrProvince                 = "StateOrProvince"
        PostalOrZipCode                 = "PostalCode"
        CountryOrRegion                 = "CountryOrRegion"
        MobilePhoneNumber               = "MobilePhone"
        TelephoneNumber                 = "HomePhone"
        CompanyName                     = "Company"
        Department                      = "Department"
        JobTitle                        = "Title"
        ManagerEmailAddress             = "ManagerEmailAddress"
        Fax                             = "Fax"
        Office                          = "Office"
        OnPremisesSecurityIdentifier    = "Sid"
    }
}