Blog Post

Azure PaaS Blog
2 MIN READ

AZURE CLOUD SERVICE_Download Package

Pranjal_Gupta's avatar
Pranjal_Gupta
Icon for Microsoft rankMicrosoft
Aug 23, 2019

Use Case:

Download Cloud Service Package

 

Prerequisite/More Information:

  • You need to download the azure tool from the below link:

https://dsazure.blob.core.windows.net/azuretools/AzureTools.exe

2)    More Details regarding the tools can be found in the below link:

http://blogs.msdn.com/b/kwill/archive/2013/08/26/azuretools-the-diagnostic-utility-used-by-the-windows-azure-developer-support-team.aspx

 

Steps to Follow:

Steps to execute the Get Package API and create self-sign certificate:

  1. Download the AzureTools.exe from the below link.

https://dsazure.blob.core.windows.net/azuretools/AzureTools.exe

  1. Double click on AzureTools.exe
  2. Click on Utils Tab
  3. Click on Misc Tools under Utils Tab
  4. A new window will be displayed. Click on Service Management REST API tab.
  5. Creating Self Sign Certificate (Ignore if you have already created)
  1. Follow the steps on the below link

https://technet.microsoft.com/en-us/library/ff710475(v=ws.10).aspx

  1. Install the exported certificate on your machine.
  2. Upload the exported certificate to azure portal (https://portal.azure.com)
  • Go to Subscriptions
  • Select the subscription for the cloud service whose package you want to download
  • Go to Management Certificates
  • Click on Upload and upload the certificate that you have created (Please make sure that the certificate’s extension is .cer)

 

  1. In the AzureTools Service Management REST API tab, enter the subscription ID and, the Certification Path. Select POST Operation from the Drop Down.
  2. Follow this article - https://msdn.microsoft.com/en-us/library/azure/jj154121.aspx  and create the URI. You will able to find the Subscription ID, cloud service name by logging into the azure portal under your cloud service.
  3. Please create a classic storage account in the same subscription. You need to create a public container and specify the URI of the container to which the packages will be saved.

https://management.core.windows.net/84237cfe-3de2-42a7-84fa-506a329fc0a4/services/hostedservices/pranj/deploymentslots/production/package?containerUri=https://clascstrgaccnt.blob.core.windows.net/case1

  1. Click on the Submit button.
  2. You able to see the Response as 202 Accepted.
  3. You will find the package files in the public container you have created under the classic storage account.
Updated Jan 16, 2024
Version 2.0
No CommentsBe the first to comment