Australia will face England, Sri Lanka and Uganda in the group stages of the Commonwealth Games rugby sevens.
Australia, silver medallists in Delhi in 2010, were on Tuesday drawn in Pool D for the competition, avoiding heavyweights New Zealand and South Africa.
Hosts Scotland were not as fortunate, drawn alongside perennial winners New Zealand in Pool A, along with Nigeria and Canada.
South Africa are in Pool B along with Kenya, Cook Islands and Trinidad and Tobago, while Wales will face Samoa, Papua New Guinea and Malaysia in Pool C.
The All Blacks have won all four Commonwealth gold medals so far.
"For 16 years now, Rugby Sevens has enjoyed being a key part of the Commonwealth Games," said International Rugby Board (IRB) chairman Bernard Lapasset.
"To compete alongside their compatriots in a multi-sport environment is a matter of huge pride and honour for our rugby players, who are making giant strides in this new Olympic era," the Frenchman added.
"We wish our rugby athletes all the best in this magnificent international event."
In all 16 teams, will take part in the two-day tournament at Ibrox - the home of fallen Scottish soccer team Rangers - on July 26 and 27.