Azure powershell has stopped working
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.
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

1 Posted by Jon on 26 Jul, 2015 09:33 AM
Note this has happened before http://help.appveyor.com/discussions/problems/1125-azure-powershell...
Support Staff 2 Posted by Feodor Fitsner on 26 Jul, 2015 03:11 PM
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
Support Staff 3 Posted by Feodor Fitsner on 26 Jul, 2015 04:14 PM
Ah, OK, I've just realized your account was moved to the environment with VS 2015!
Adding
Import-Module Azurefixes the issue with missing Azure cmdlets.4 Posted by Jon on 27 Jul, 2015 05:50 AM
Excellent, this appears to have fixed it.
Thank you!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.