@RakshitSidd Thanks for the question. Can you please add more details about the prediction model that you are trying and error details to check. Can you please confirm are you using the Designer?
Currently App Service and Azure functions(preview) as deployment target via Azure ML is currently documented as a recipe to facilitate the model packaging story for customers with affinity to Web Apps. Please follow the doc to deploy to Azure App services and doc on choosing Inference compute target here (AKS for real-time and AMLCompute for batch).