Hi there bo_diesel
Same-sex relationships are illegal in Dubai and are, officially, not tolerated. In fact, a couple of years ago, a gay party was raided by the police and everyone was arrested . . . there were even reports in the local press that those arrested would undergo 'treatment' for their 'illness'. I shudder to think what they had in mind . . . .
However, many gay people do live in Dubai and, as long as you're quiet and don't draw attention to yourselves, you should be fine. Finding other gay people is, however, a big challenge. There are, obviously, no gay bars and those in the past that have germinated have been swiftly closed down with deportations following with equal swiftness.
Hope this helps!