MICROSOFT apologised today for a presentation to a software programmers convention in Norway that featured dancing girls and obscene song lyrics after video of the embarrassing routine went viral.

The presentation to the Norwegian Developers Conference in Oslo last week was intended to promote new advances in Microsoft's Azure cloud computing platform, AllThingsDigital reported.

But before launching into the technical details, Microsoft warmed up the crowd with some dancers and house music.

Scroll down to watch the embarrassing performance

Unfortunately, the song's lyrics flashed on video screens, including, "The words MICRO and SOFT don't apply to my penis."

The audience of computer programmers were not amused, and naturally turned to Twitter.

"For those not here, we had flashing disco lights, bad lyrics about penis, disco beats and dancing azure girls, so cringeworthy," one programmer tweeted.

"Wow #microsoft this music thing is probably the most embarrassing i've ever seen and heard," tweeted another.

Unsurprisingly in a room full of smart phones, video of the performance was quickly posted online, forcing Microsoft into damage control.

"This week's Norwegian Developer's Conference included a skit that involved inappropriate and offensive elements and vulgar language. We apologise to our customers and our partners and are actively looking into the matter," Microsoft posted in the comments section of YouTube videos of the embarrassing routine.

Microsoft's head of corporate communications, Frank Shaw, followed that up with an apology today on Twitter.

"This routine had vulgar language, was inappropriate and was just not ok. We apologize to our customers and partners," Shaw tweeted.