@Roger Roger , Thanks for posting your query here!
You will get this error when your image is in one subscription and you deploy a VM in another subscription. Try to deploy the VM in the same subscription where your image is.
Also, if you would want to deploy a VM in another subscription, then you can promote your image as a shared gallery image.
Kindly let us know if the above helps or you need further assistance on this issue.
----------------------------------------------------------------------------------------------------------------------------------------------------
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.