We conditionally inactivated Tcf7 in CD4 expressing T cells in a mouse model of pancreatic cancer and observed changes in the tumor immune microenvironment, including more CD8+ T cells and fewer regulatory T cells, but also compensatory upregulation of PD-L1. Here, CD8A is linked to pancreatic neoplasm.