Azure deployment for tutorial failed

Don Beer 0 Reputation points
2024-12-01T22:29:10.7066667+00:00

The deployment of the tutorial server for "Exercise - Consume a REST service with HttpClient" on azure failed. How do I fix it?

[

{

    "id": "fa64322c470c419da27840996cea099b",

    "status": 3,

    "status_text": "",

    "author_email": "N/A",

    "author": "N/A",

    "deployer": "ZipDeploy",

    "message": "Created via a push deployment",

    "progress": "",

    "received_time": "2024-12-01T22:01:10.5009693Z",

    "start_time": "2024-12-01T22:01:10.7197189Z",

    "end_time": "2024-12-01T22:01:25.9770995Z",

    "last_success_end_time": null,

    "complete": true,

    "active": false,

    "is_temp": false,

    "is_readonly": true,

    "url": "https://mslearnpartsserver282414204.scm.azurewebsites.net/api/deployments/fa64322c470c419da27840996cea099b",

    "log_url": "https://mslearnpartsserver282414204.scm.azurewebsites.net/api/deployments/fa64322c470c419da27840996cea099b/log",

    "site_name": "mslearnpartsserver282414204",

    "provisioningState": "Failed"

}

]

Zip deployment failed. {'id': 'fa64322c470c419da27840996cea099b', 'status': 3, 'status_text': '', 'author_email': 'N/A', 'author': 'N/A', 'deployer': 'ZipDeploy', 'message': 'Created via a push deployment', 'progress': '', 'received_time': '2024-12-01T22:01:10.5009693Z', 'start_time': '2024-12-01T22:01:10.7197189Z', 'end_time': '2024-12-01T22:01:25.9770995Z', 'last_success_end_time': None, 'complete': True, 'active': False, 'is_temp': False, 'is_readonly': True, 'url': 'https://mslearnpartsserver282414204.scm.azurewebsites.net/api/deployments/latest', 'log_url': 'https://mslearnpartsserver282414204.scm.azurewebsites.net/api/deployments/latest/log', 'site_name': 'mslearnpartsserver282414204', 'provisioningState': 'Failed'}. Please run the command az webapp log deployment show -n mslearnpartsserver282414204 -g learn-b7429700-600b-49e2-aa63-7a7a6b9e0334

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
15 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pradeep M 4,635 Reputation points Microsoft Vendor
    2024-12-02T06:32:05.4+00:00

    Hi Don Beer,

    The deployment failure you're encountering is likely caused by the limitations of the Azure sandbox environment. While the sandbox is designed for learning and testing purposes, it has restricted resources and permissions, which may prevent certain actions, such as deploying specific services or accessing certain Azure resources. 

    To bypass these limitations, you can deploy and test the service on your local machine using tools like Visual Studio or Visual Studio Code (as outlined in the exercise). This approach will enable you to work on the project without running into errors, providing a more seamless and flexible development experience. 

    Please feel free to contact us if you have any additional questions.    

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.         


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.