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. The gene discussed is TCF7; the disease is pancreatic neoplasm.