Authorize Computer from account menu iTunes music: How to fix iTunes won’t let you play your music
You might have used a different Apple ID to buy the items that you want to play. To check, right-click the item and look for Remove Download in the menu. If you see Remove Download, you’re signed in with the Apple ID that you used to purchase the item. Select Remove Download, then redownload the item.