Why am I not able to deploy Cloud Services through Service Management APIs or PowerShell when using Azure Resource Manager Storage account?

DenisMcD 231 Reputation points
2020-05-07T08:59:07.817+00:00

Why am I not able to deploy Cloud Services through Service Management APIs or PowerShell when using Azure Resource Manager Storage account?

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question.] Source: FAQ

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
453 questions
No comments
1 vote

Accepted answer
  1. vipullag-MSFT 16,726 Reputation points Microsoft Employee
    2020-05-07T09:48:02.043+00:00

    Since the Cloud Service is a Classic resource that is not directly compatible with the Azure Resource Manager model, you can't associate it with the Azure Resource Manager Storage accounts. Here are few options:

    Deploying through REST API.

    When you deploy through Service Management REST API, you could get around the limitation by specifying a SAS URL to the blob storage, which will work with both Classic and Azure Resource Manager Storage account. Read more about the 'PackageUrl' property here.

    Deploying through Azure portal.

    This will work from the Azure portal as the call goes through a proxy/shim that allows communication between Azure Resource Manager and Classic resources.

    Source: Azure Documentation FAQ

    No comments

0 additional answers

Sort by: Most helpful