In a large bowl, combine the cream cheese, pineapple, pineapple juice, ham, shredded cheese, garlic powder, salt, pepper, and onion powder. Mix until well combined.
Spread the mixture into a small baking dish and bake in the preheated oven for 30 minutes, until cheese is melted and bubbly.
Top with green onion before serving, if desired.
Serve with crackers, chips, vegetables, or your favorite dippers.