In a bowl, combine beef, yogurt, biryani masala, turmeric, chili powder, cumin, coriander, cayenne pepper (if using), and salt. Mix well to coat the beef. Cover and marinate for at least 30 minutes or up to overnight in the refrigerator.
In a large pot or Dutch oven, heat oil over medium heat. Add sliced onions and cook until golden brown, about 10 minutes.
Add minced garlic and grated ginger. Cook for 1 minute until fragrant.
Add marinated beef and cook until browned on all sides.
Add the rinsed rice and water or beef broth to the pot. Bring to a boil, then reduce heat to low, cover, and simmer for 15-20 minutes, or until the rice is cooked and the liquid is absorbed.
Remove from heat and let stand, covered, for 5 minutes.
Fluff the rice with a fork, garnish with chopped cilantro, and serve warm.
Notes
You can use any type of beef you prefer, such as sirloin or chuck roast.
For a more intense flavor, you can dry roast the whole spices before grinding them into biryani masala.
If you don't have biryani masala, you can use a combination of garam masala, cumin, coriander, turmeric, and chili powder.
You can also add other vegetables to the biryani, such as carrots, peas, or potatoes.