Azure powershell has stopped working

Jon's Avatar

Jon

26 Jul, 2015 09:33 AM

Not sure if this is related to the recent SDK update but we are not able to build any more. We are presented with the following error.

Import-AzurePublishSettingsFile : The term 'Import-AzurePublishSettingsFile' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, 
verify that the path is correct and try again.
  1. 1 Posted by Jon on 26 Jul, 2015 09:33 AM

    Jon's Avatar
  2. Support Staff 2 Posted by Feodor Fitsner on 26 Jul, 2015 03:11 PM

    Feodor Fitsner's Avatar

    Hi Jon,

    I've tested it here on Pro environment and cmdlet was found (even without calling Import-Module Azure): https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/1.0.646

    How/when do you start working with Azure cmdlets? Does your build run with custom image?

    - Feodor

  3. Support Staff 3 Posted by Feodor Fitsner on 26 Jul, 2015 04:14 PM

    Feodor Fitsner's Avatar

    Ah, OK, I've just realized your account was moved to the environment with VS 2015!

    Adding Import-Module Azure fixes the issue with missing Azure cmdlets.

  4. 4 Posted by Jon on 27 Jul, 2015 05:50 AM

    Jon's Avatar

    Excellent, this appears to have fixed it.

    Thank you!

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac