No route registered for '/MSDeploy'

Mallapareddy,Naveen Kumar 0 Reputation points

I'm getting error (No route registered for '/MSDeploy') while deploying bot from Azure Language studio. Has anyone faced similar issue? Appreciate if anyone can look into this issue.



Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
388 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. hossein jalilian 5,400 Reputation points

    Thanks for posting your question in the Microsoft Q&A forum.

    To resolve this issue, try the following steps:

    • Ensure that the key entered in the Azure portal when creating the bot matches the language resource key mapped in your Language Studio.
    • Ensure that the key entered in the Azure portal when creating the bot matches the language resource key mapped in your Language Studio.
    • If the app service fails to start, try restarting it.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

  2. YutongTie-MSFT 48,501 Reputation points

    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.



    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments