Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-02-2023, 03:10 PM
paxil paxil is online now
Registered User
 
Join Date: 03-18-2014
Location: Richmond, VA
Posts: 12
Azure module not recognized in PowerShell action

When this is executed from windows server powershell command line manually, it works fine, but when executed through VBP, it fails saying 'Get-AzCloudService' command not recognized. User is logged in using the same creds too.

Get-AzCloudService -ResourceGroupName "%RESOURCE_GROUP%" -CloudServiceName "%CLOUD_SERVICE_NAME%"


Failure message:
>C:\Users\<****>\AppData\Local\Temp\Vis8CFA.tmp.ps 1 : Failed to build because The term 'Get-AzCloudService' is not </message>
<message>recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if </message>
<message>a path was included, verify that the path is correct and try again.</message>
<message>At line:1 char:1</message>
<message>+ & C:\Users\<****>\AppData\Local\Temp\Vis8CFA.tmp.ps1 </message>
<message>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~</message>
<message> + CategoryInfo : NotSpecified: ( [Write-Error], WriteErrorException</message>
<message> + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException, Vis8CFA.tmp.ps1</message>
<message> </message>
<message>Process completed with exit code 1</message>

Last edited by paxil; 10-02-2023 at 03:17 PM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:41 PM.


Copyright © 1999-2023 Kinook Software, Inc.