Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the use of our report dated March 24, 2022, with respect to the consolidated and combined financial statements and financial statement schedule III of Orion Office REIT Inc., incorporated herein by reference and to the reference to our firm under the heading “Experts” in the prospectus.

/s/ KPMG LLP

San Diego, California

November 2, 2022