Hello Naveen,
Thanks for reaching out to us, besides the steps mentioned above, you may also try below steps, if none of them helps, please share the error logs so that we may have more ideas.
Ensure that you are deploying to the correct Azure service and target environment:
Azure Web App: If you are deploying a web application, ensure that your Azure Language Studio configuration or deployment settings are correctly pointing to the Azure Web App instance.
Azure Functions: If deploying a function app, verify that the deployment settings match the function app's endpoint and configuration.
Review the deployment settings and configurations in Azure Language Studio:
Publish Profile: Ensure that you have the correct publish profile set up in Azure Language Studio. The publish profile contains details about the deployment target, credentials, and other settings required for deployment.
Deployment Method: Verify the deployment method selected (e.g., FTP, Git, Azure DevOps) aligns with your intended deployment strategy and is configured correctly.
Make sure the credentials used for deployment have sufficient permissions:
- Service Principal or Managed Identity: If using a service principal or managed identity for deployment, verify that it has the necessary permissions to deploy to the target Azure resource (Web App or Function App).
- Deployment User: If deploying using credentials, ensure that the user account has the appropriate roles and permissions in Azure, such as Contributor or Owner on the Azure subscription or resource group.
Check the deployment logs for more detailed error messages: (It will be better if you can share the log here so the community can check on it.)
Azure Portal: Navigate to your Azure resource (Web App or Function App) in the Azure portal. Look for deployment logs or diagnostic logs that might provide more insight into why the deployment failed with the "/MSDeploy" route error.
- Azure CLI: Use the Azure CLI to retrieve deployment logs or monitor deployment activities. You can run commands like
az webapp log tail
for web apps or az functionapp log tail
for function apps to see real-time logs.
I hope this helps and your issue can be resolved. Thanks.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.