Functions/Get-MSPCompleteUserToActiveDirectoryUserPropertyMap.ps1

<#
.SYNOPSIS
    This function returns a hash table that maps MSPComplete user properties to
    Active Directory user properties
#>

function Get-MSPCompleteUserToActiveDirectoryUserPropertyMap {
    # Return the map of properties
    return @{
        FirstName           = "givenName"
        LastName            = "sn"
        DisplayName         = "displayName"
        FullName            = "name"
        PrimaryEmailAddress = "mail"
        UserPrincipalName   = "UserPrincipalName"
    }
}