Functions/Get-MSPCompleteUserToAzureADUserPropertyMap.ps1

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

function Get-MSPCompleteUserToAzureADUserPropertyMap {
    # Return the map of properties
    return @{
        FirstName           = "GivenName"
        LastName            = "Surname"
        DisplayName         = "DisplayName"
        PrimaryEmailAddress = "UserPrincipalName"
        UserPrincipalName   = "UserPrincipalName"
    }
}