Functions/Get-MSPCompleteUserToGSuiteUserPropertyMap.ps1

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

function Get-MSPCompleteUserToGSuiteUserPropertyMap {
    # Return the map of properties
    return @{
        FirstName           = "name.givenName"
        LastName            = "name.familyName"
        DisplayName         = "name.fullName"
        FullName            = "name.fullName"
        PrimaryEmailAddress = "PrimaryEmail"
        UserPrincipalName   = "PrimaryEmail"
    }
}