Microsoft Corp. may be one of the biggest companies on the planet.

But when in-house lawyers at the software giant go shopping for outside firms to represent them, they’re well aware that big doesn’t necessarily mean better. To the contrary, they’ve found that, for many types of assignments, small boutique firms can handle the job just as well — if not more effectively in some instances — and often at lower rates than a megafirm would charge.