none
Visual Studio 2015 Update Needed!

    Question

  • The Azure Resource Manager (ASR) templates provided with VS2015 are now obsolete given the recent changes in PowerShell v1.0.1.  The deploy...ps1 included uses cmdlets that are deprecated.  When can we expect an updated template for VS2015 with the corrected PowerShell cmdlets?
    Wednesday, November 25, 2015 10:13 PM

Answers

  • @Jiayi Li,

    Not even close.  In VS2015 you get ASR templates.  New Project --> Cloud --> Azure Resource Group.

    For example:  https://azure.microsoft.com/en-us/blog/azure-resource-manager-tools-preview/

    The issue is that Deploy-AzureResourceGroup.ps1, the PowerShell script that deploys the resource group contains outdated and unusable code (If you installed Azure PowerShell v1.0.1.) thus the templates are now broken and will not function (deploy).

    However, this morning when I created a brand new project the issue appears to be resolved...as this will only effect projects created prior to Azure SDK v2.8.  

    That means retrofitting the older projects with a new copy of Deploy-AzureResourceGroup.ps1.

    Friday, November 27, 2015 12:53 PM

All replies

  • Hi Ron Bokleman,

    Thank you for posting in MSDN forum.

    It seems that this is the issue, refer to: https://github.com/Azure/azure-powershell/issues/1312

    In PowerShell v1.0.1, the get cmdlets is missing.

    And I found that this issue will be fixed in the v1.0.2, please refer to: https://github.com/Azure/azure-powershell/releases

    If this issue still occur, I suggest you could submit this issue on Microsoft Connect feedback portal: https://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx , Microsoft engineers will evaluate them seriously.  After you submit the feedback, you can post the link here which will be beneficial for other members with the similar issue.

    Best Regards,

    Jiayi Li


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Thursday, November 26, 2015 7:10 AM
    Moderator
  • @Jiayi Li,

    Not even close.  In VS2015 you get ASR templates.  New Project --> Cloud --> Azure Resource Group.

    For example:  https://azure.microsoft.com/en-us/blog/azure-resource-manager-tools-preview/

    The issue is that Deploy-AzureResourceGroup.ps1, the PowerShell script that deploys the resource group contains outdated and unusable code (If you installed Azure PowerShell v1.0.1.) thus the templates are now broken and will not function (deploy).

    However, this morning when I created a brand new project the issue appears to be resolved...as this will only effect projects created prior to Azure SDK v2.8.  

    That means retrofitting the older projects with a new copy of Deploy-AzureResourceGroup.ps1.

    Friday, November 27, 2015 12:53 PM
  • Hi Team,

    Yes, we are also facing the similar issue after upgrading to Azure PowerShell 1.0.1.

    It's like this. At certain areas, Azure must suggest to use Azure PowerShell with RM Pattern (Get-AzureRm...) and If we use that other areas start failing (like VS2015 Resource Template).

    Can Microsoft speedup this process or can provide the solution for taking in mind of Azure PowerShell with ARM pattern but with VS2015 support as well?

    That way, new updates will not break the existing and we have not to wait or scare while updating.


    Regards, Brijesh Shah

    Thursday, December 10, 2015 7:25 PM
  • Hi Brijesh Shah,

    Since this thread was closed for a few days, would you ming opening a new case in our forum? We will follow up your issue as soon as possible.

    Sincerely,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, December 11, 2015 5:50 AM
    Moderator