In a small bowl, sprinkle diced bacon with brown sugar, mix to coat, and set aside.
4 strips bacon, diced, 2 tablespoon dark brown sugar
In a larger mixing bowl, combine sweet potatoes, onion, olive oil, rosemary, salt, and pepper. Stir until potatoes are well coated.
3 cups cubed sweet potatoes, ½ -inch cubes , ½ cup diced yellow onion, 2 tablespoons olive oil, 1 tablespoon minced fresh rosemary, ¼ teaspoon kosher salt, or to taste, ¼ teaspoon coarse ground black pepper, or to taste
Arrange mixture in an even layer in preheated air fryer; cook for 8 minutes.
Open basket, stir mixture, and add brown sugar-coated bacon to the hash (just sprinkle it on top). Return to the air fryer and cook for 6 minutes.
Stir again and cook for an additional 6 to 7 minutes, or until the potatoes are lightly crispy on the outside and soft on the inside, and the bacon is crispy and cooked all the way through.
Video
Notes
Smoky: Substitute 1 teaspoon smoked paprika for rosemary, if desired.