An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
this is not a permissions issue and it is not specific to Lab Services. The problem is entirely about Azure Marketplace image terms. For Marketplace images such as Rocky Linux 9.6 by Solve DevOps, the terms of use are accepted at the subscription level. They are not accepted at tenant level and not at the lab account level. The status “Needs review not accepted” means exactly one thing. The image terms have not been accepted for the specific subscription that Lab Services is using to deploy the virtual machines.
The Programmatic deployment screen only shows that automated deployments are allowed. That does not mean the Marketplace terms have been accepted. These are two separate steps. This is why the status can show Enabled while the image is still blocked.
Do you need to do this for every subscription. Yes. This is by design. Each Marketplace image must have its terms accepted in every subscription where it will be used. There is no global tenant wide switch.
Open Azure Marketplace using the exact subscription that is used by Lab Services. Open the Rocky Linux 9.6 by Solve DevOps image page. Select Create or Configure programmatic deployment and explicitly accept the terms. After that, refresh the Marketplace images in Lab Services and enable the image. Even if you are a Global Administrator and Owner, the image will not be available until this step is completed. If you have multiple subscriptions for labs, you must accept the terms in each one. This is inconvenient but it is standard Marketplace behaviour.
If you want to simplify this you can use an Azure Compute Gallery with your own Rocky Linux based image. That avoids Marketplace terms entirely and makes the image available across all lab accounts and subscriptions.
To summ... error is caused by Marketplace terms not being accepted, terms are always accepted per subscription. Yes, you have to do this for every subscription.
rgds,
Alex