Skip to content

Fix broken tests and docs after example file reorganization#195

Closed
Copilot wants to merge 4 commits intochore/docsfrom
copilot/sub-pr-194
Closed

Fix broken tests and docs after example file reorganization#195
Copilot wants to merge 4 commits intochore/docsfrom
copilot/sub-pr-194

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 14, 2026

Tests failed due to renamed example files and newly introduced workflow syntax issues during the provider docs update.

Workflow file fixes

  • mock-identity-and-entitlements.psd1: Removed stray markdown content; changed Desired array to Entitlement + State (correct EnsureEntitlement syntax)
  • exo-joiner.psd1: Removed stray markdown content

Test updates for renamed files

  • CapabilityDeprecation.Tests.ps1: exo-leaver-mailbox-offboarding.psd1exo-leaver.psd1; added required template data (UserPrincipalName, ServiceDesk)
  • WorkflowSamples.Tests.ps1: Provide sample DesiredState for template-based workflows; skip template library files (with Metadata/Workflow structure)
  • import-idle.ps1: Skip template library files during validation

Documentation links

Added "Scenarios (link-only)" sections to provider docs referencing cross-provider workflows:

  • ad-joiner-entraconnect-entraid.psd1 (AD → DirectorySync → EntraID)
  • entraid-exo-leaver.psd1 (EntraID + ExchangeOnline)

Result

All 563 tests passing. Template library files (with Metadata/Workflow structure) are now correctly excluded from executable workflow validation.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits February 14, 2026 15:42
- Fixed mock-identity-and-entitlements.psd1: removed extra documentation content and changed Desired to Entitlement/State
- Fixed exo-joiner.psd1: removed extra documentation content
- Updated WorkflowSamples.Tests.ps1 to provide sample data for template-based workflows
- Updated test to skip template library files (with Metadata/Workflow structure)

Co-authored-by: blindzero <13959569+blindzero@users.noreply.github.com>
- Added Scenarios section to provider-ad.md
- Added Scenarios section to provider-directorysync-entraconnect.md
- Added Scenarios section to provider-entraID.md with references to cross-provider workflow examples

Co-authored-by: blindzero <13959569+blindzero@users.noreply.github.com>
- Updated CapabilityDeprecation.Tests.ps1 to use exo-leaver.psd1 (renamed from exo-leaver-mailbox-offboarding.psd1)
- Added required test data (UserPrincipalName, ServiceDesk) for template-based workflows
- Updated import-idle.ps1 to skip template library files (with Metadata/Workflow structure)

Co-authored-by: blindzero <13959569+blindzero@users.noreply.github.com>
Copilot AI changed the title [WIP] Update provider documentation and examples for consistency Fix broken tests and docs after example file reorganization Feb 14, 2026
Copilot AI requested a review from blindzero February 14, 2026 15:49
@blindzero blindzero closed this Feb 14, 2026
@blindzero blindzero deleted the copilot/sub-pr-194 branch February 15, 2026 19:01
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