Skip to content

Conversation

@givinalis
Copy link
Collaborator

@givinalis givinalis commented Nov 28, 2025

Changes

Automated test suite that validates all 18 Entra and EntraBeta PowerShell modules can be successfully imported in both PowerShell 5.1 and PowerShell 7+.

What It Tests

  • Module Discovery: Verifies all expected modules exist (9 Entra + 9 EntraBeta)
  • PS 7+ Compatibility: Tests all modules import successfully in current PowerShell session
  • PS 5.1 Compatibility: Tests all modules import successfully in Windows PowerShell 5.1
  • Manifest Validation: Confirms all .psd1 manifest files exist and can be parsed
  • Export Validation: Verifies each module exports cmdlets (486 total across all modules)

Why It Matters

PowerShell 5.1 has stricter parsing rules and different Unicode handling than PS 7+. This ensures modules work in both environments without breaking enterprise customers still using Windows PowerShell.

@givinalis givinalis requested a review from a team as a code owner November 28, 2025 12:09
@givinalis givinalis added the Ready For Review The PR Ready for Review label Nov 28, 2025
@learn-build-service-prod
Copy link

Learn Build status updates of commit 1db0a13:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_FileLoadFailed] Failed to load file: C:/LocalRun/W/znfl-s/module/mapping/monikerMapping.json. PackageRoot, ReferenceTocUrl, and ConceptualTocUrl are required for every moniker. PackageRoot should be a valid relative path to docset root.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod
Copy link

Learn Build status updates of commit 5dfe0e2:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_FileLoadFailed] Failed to load file: C:/LocalRun/W/1mxi-s/module/mapping/monikerMapping.json. PackageRoot, ReferenceTocUrl, and ConceptualTocUrl are required for every moniker. PackageRoot should be a valid relative path to docset root.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@givinalis givinalis removed the Ready For Review The PR Ready for Review label Nov 28, 2025
@givinalis givinalis marked this pull request as draft November 28, 2025 14:04
@learn-build-service-prod
Copy link

Learn Build status updates of commit 4587ef7:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_FileLoadFailed] Failed to load file: C:/LocalRun/W/nhf3-s/module/mapping/monikerMapping.json. PackageRoot, ReferenceTocUrl, and ConceptualTocUrl are required for every moniker. PackageRoot should be a valid relative path to docset root.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod
Copy link

Learn Build status updates of commit 17941e3:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_FileLoadFailed] Failed to load file: C:/LocalRun/W/thwc-s/module/mapping/monikerMapping.json. PackageRoot, ReferenceTocUrl, and ConceptualTocUrl are required for every moniker. PackageRoot should be a valid relative path to docset root.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants