Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the get publisg profile #140

Open
KiranKumarGowda opened this issue Jan 2, 2024 · 0 comments
Open

Error in the get publisg profile #140

KiranKumarGowda opened this issue Jan 2, 2024 · 0 comments
Labels
need-to-triage Requires investigation

Comments

@KiranKumarGowda
Copy link

Run azure/arm-deploy@v1
with:
subscriptionId: a4bd6d8e-cfd8-43c2-a63c-83a8c0ff91f1
template: ./ARMTemplates/LA_Standard_Basic.json
parameters: ./ARMTemplates/LA_Standard_Basic_Param.json
failOnStdErr: true
env:
AZURE_HTTP_USER_AGENT:
AZUREPS_HOST_ENVIRONMENT:
Changing subscription context...
Error: ResourceGroup name must be set.Validating inputs
Module Az latest installed from hostedAgentFolder
Initializing Az Module
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command Test-Path (Join-Path /opt/hostedtoolcache az_)
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command $env:PSModulePath
/home/runner/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7-lts/Modules
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command try ***
$ErrorActionPreference = "Stop"
$WarningPreference = "SilentlyContinue"
$output = @**
$data = Get-Module -Name Az -ListAvailable | Sort-Object Version -Descending | Select-Object -First 1
$output['AzVersion'] = $data.Version.ToString()
$output['Success'] = "true"


catch ***
$output['Error'] = $_.exception.Message


return ConvertTo-Json $output
False

"AzVersion": "11.0.0",
"Success": "true"

/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command $env:PSModulePath
/opt/hostedtoolcache:/home/runner/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7-lts/Modules
Initializing Az Module Complete
Running Az PowerShell Script
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command /runner/_work/_temp/55f78cfc-2e34-4a20-a190-5f80419ff698.ps1
Get-AzWebAppPublishingProfile: /runner/_work/_temp/55f78cfc-2e34-4a20-a190-5f80419ff698.ps1:2
Line |
2 | $profile = Get-AzWebAppPublishingProfile `
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Operation returned an invalid status code 'NotFound'

Error: Error: The process '/usr/bin/pwsh' failed with exit code 1

Can anyone help me form this.

@KiranKumarGowda KiranKumarGowda added the need-to-triage Requires investigation label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-to-triage Requires investigation
Projects
None yet
Development

No branches or pull requests

1 participant