Skip to content

Get-AzExemptions.ps1 output isn't in the same order #748

@teemukom

Description

@teemukom

Describe the bug
When running Get-AzExemptions.ps1 both outputs (CSV/JSON) are returning the metadata segment in random order. This makes it difficult to use the script in CI/CD pipeline with pull requests because the output of this script is random although the contents of the file hasn't changed.

To Reproduce
Run Get-AzExemptions.ps1 couple of times and compare the metadata section between the files.

Expected behavior
In every run the content of the files (JSON/CSV) are in the same order.

Screenshots
image

EPAC Version
10.5.9

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions