Azure / Azure/azure-powershell

Question: Export-AzResourceGroup does not output the latest settings. Is it correct?

Open
#18,938 14 comments 0 reactions 0 assignees View on GitHub
act-observability-squad App Services customer-reported needs-team-attention question Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description

Hi all,

I would like to ask a question about the output of `Export-AzResourceGroup` command.

As an example, consider a Node.js web on Windows on App Service. I have observed no change in the output JSON of `Export-AzResourceGroup` between before and after updating the Node.js version using at the web app.
The command appears to output the settings at the time the resource was created, rather than following the latest settings. Is it a specification of the command?
I would imagine from the name of the command that it is normal that the output is the latest version for the resource.

### Script or Debug output

_No response_

### Environment data

_No response_

### Module versions

_No response_

### Error output

_No response_

Contributor guide

Open the contributing guide

Research direction

The report concerns the Export-AzResourceGroup command and a Node.js web app on Windows App Service. Start by reproducing the command before and after changing the Node.js version, then compare the JSON with the current App Service settings. Done means establishing whether creation-time output is intentional or correcting the command to reflect the latest settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, node.js, powershell
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.