Set the instant pot to sauté and add the oil. Once hot, sauté onions for 5 minutes or until lightly brown. Add garlic and sauté for 1 minute.
Cancel the instant pot. Add a half cup of broth and scrape the instant pot bottom to remove onion and garlic.
Add remaining broth, chicken, spices, tomatoes, enchilada sauce, chilies, and beans. Close the lid and seal the pressure valve. Cook on high for 10 minutes or until chicken is 165° internal.
Quick release pressure and remove the chicken. Shred chicken and return to the pot.
Serve and enjoy with your favorite topping such as lime crumbled tortilla chips or tortilla strips, sour cream, shredded cheese, and/or avocado.
Notes
I like using frozen corn kernels because it adds just the right amount of sweetness and is super convenient. Plus, frozen corn tends to be a bit more tender than canned corn. But if you prefer, you can use canned corn with the same pressure cook time.