Open the Apple Music app on your MacBook
Sign in with your Apple ID if prompted
Click Account in the menu bar
Select Authorizations
Click Authorize This Computer
Enter your Apple ID and password
Click Authorize
Wait for the confirmation message
If needed, restart the Apple Music app and try playing your music again
