Skip to content

Simplified global-settings.jsonc, improved documentation scripts and multi-tenant handling

Compare
Choose a tag to compare
@techlake techlake released this 28 Jun 14:37
· 445 commits to main since this release
4b8c5c6
  • Simplified global-setting.jsonc: breaking changes
    • Simplified the layout by removing the documentation specifications (representativeAssignments and initiativeSetsToCompare) from global-settings.jsonc and moving to a folder (see below)
    • Changed managedIdentityLocation to managedIdentityLocations (plural)
  • Improved and consolidated automated generation of documentation
    • Folder Definitions/DocumentationSpecs conatains the instructions on what to generate (moved with substantial format chnages from global-settings.jsonc
    • Single script to generate documentation: Scripts\Operations\Build-PolicyAssignmentDocumentation.ps1
    • Removed scripts Get-AzEffectsForEnvironments.ps1 and Get-AzEffectsForInitiative.ps1, replaced by Build-PolicyAssignmentDocumentation.ps1
  • Improved multi-tenant and cloud selection support, prompts for re-authentication in interactive mode
    • Detects when wrong cloud selected (additional field in pacEnvironments (global-settings.jsonc)
    • Detects when logged into wrong tenant
    • Detects when default subscription wrong (switches to correct one)
  • Bug fixes
    • Solution had latent scope bug retrieving Policy and Initiative definitions from management Groups, if the default subscription was not in the right hierarchy.
    • Improved error handling