Microsoft said it would start selling gift cards good for purchases on its digital content market, taking a page out of Apple’s iTunes playbook.