Skip to content

[Buganizer ID: 572639526] Migrate Batch 11:Migrated Microsoft Teams - #1315

Merged
adarshtwy merged 6 commits into
mainfrom
migration_MicrosoftTeams
Oct 28, 2026
Merged

adarshtwy merged 6 commits into
mainfrom
migration_MicrosoftTeams

Conversation

@jayapradha-p

@jayapradha-p jayapradha-p commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

[Buganizer ID: 495762513] Migrate Batch 11: Migrated Microsoft Teams

Migrate the MicrosoftTeams integration from the legacy GoB repository (tip-marketplace) to the open GitHub repository (content-hub).

Resolved local import and runtime execution issues by standardizing relative core imports across actions, jobs, and core modules, ensuring seamless flat-packaging during mp build and on Chronicle SOAR server runtime.

Deconstruction: Migrated source code into modular actions/, core/, jobs/, resources/, and widgets/ structure with standardized relative imports for Chronicle SOAR packaging.

Dependencies: Configured pyproject.toml with runtime dependencies (bs4>=0.0.2, environmentcommon, requests==2.32.5, tipcommon), dev dependencies (integration-testing, pytest>=9.1.1, pytest-json-report>=1.5.0, pytest-mock, soar-sdk), and local wheel sources (TIPCommon-2.3.3, EnvironmentCommon-1.0.2, integration_testing-2.3.3, soar-sdk).

Tests: Configured test suite with SOAR SDK flat namespace shim in conftest.py, updated action test utility imports, and adapted MicrosoftTeamsSession mock handlers for URL query parameter parsing with 100% pass rate (39/39 unit, import, manager, and action tests passed).

Validation: Verified with mp test (39/39 passed) and mp build.

Tracking:
Buganizer ID: <BUG_ID>
Batch: Batch 11


Checklist:

Please ensure you have completed the following items before submitting your PR.
This helps us review your contribution faster and more efficiently.

General Checks:

  • I have read and followed the project's contributing.md guide.
  • My code follows the project's coding style guidelines.
  • I have performed a self-review of my own code.
  • My changes do not introduce any new warnings.
  • My changes pass all existing tests.
  • I have added new tests where appropriate to cover my changes. (If applicable)
  • I have updated the documentation where necessary (e.g., README, API docs). (If applicable)

Open-Source Specific Checks:

  • My changes do not introduce any Personally Identifiable Information (PII) or sensitive customer data.
  • My changes do not expose any internal-only code examples, configurations, or URLs.
  • All code examples, comments, and messages are generic and suitable for a public repository.
  • I understand that any internal context or sensitive details related to this work are handled separately in internal systems (Buganizer for Google team members).

For Google Team Members and Reviewers Only:

  • I have included the Buganizer ID in the PR title or description (e.g., "Internal Buganizer ID: 123456789" or "Related Buganizer: go/buganizer/123456789").
  • I have ensured that all internal discussions and PII related to this work remain in Buganizer.
  • I have tagged the PR with one or more labels that reflect the pull request purpose.

Screenshots (If Applicable)

If your changes involve UI or visual elements, please include screenshots or GIFs here.
Ensure any sensitive data is redacted or generalized.


Further Comments / Questions

Any additional comments, questions, or areas where you'd like specific feedback.

@jayapradha-p
jayapradha-p requested review from a team and adarshtwy as code owners October 7, 2026 10:02
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ Integration Version Bump New integration project.toml and release_note.yaml version must be initialize to 1.0
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true
⚠️ JSON Result Example Validation Actions with JSON results missing example files in resources/: ListChannels, ListUsers, SendMessageReply, WaitForReply, SendChatMessage, SendMessage, SendUserMessage, ListChats, CreateChat, ListTeams, GetTeamDetails, CreateChannel, GetUserDetails
⚠️ Release Notes Date Validation Release notes have invalid publish_time values (expected YYYY-MM-DD): v4: '', v5: '', v5: '', v5: '', v5: ''

@jayapradha-p jayapradha-p changed the title Migrated Microsoft Teams [Buganizer ID: 495762513] Migrate Batch 11:Migrated Microsoft Teams Oct 12, 2026
@Arabindaksha-Mishra Arabindaksha-Mishra changed the title [Buganizer ID: 495762513] Migrate Batch 11:Migrated Microsoft Teams [Buganizer ID: 572639526] Migrate Batch 11:Migrated Microsoft Teams Oct 26, 2026
Signed-off-by: Arabindaksha Mishra <109797459+Arabindaksha-Mishra@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ Integration Version Bump New integration project.toml and release_note.yaml version must be initialize to 1.0
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true
⚠️ JSON Result Example Validation Actions with JSON results missing example files in resources/: CreateChannel, GetTeamDetails, WaitForReply, SendUserMessage, ListTeams, GetUserDetails, SendMessageReply, ListUsers, SendMessage, CreateChat, SendChatMessage, ListChannels, ListChats
⚠️ Release Notes Date Validation Release notes have invalid publish_time values (expected YYYY-MM-DD): v4: '', v5: '', v5: '', v5: '', v5: ''

1 similar comment
@github-actions

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ Integration Version Bump New integration project.toml and release_note.yaml version must be initialize to 1.0
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true
⚠️ JSON Result Example Validation Actions with JSON results missing example files in resources/: CreateChannel, GetTeamDetails, WaitForReply, SendUserMessage, ListTeams, GetUserDetails, SendMessageReply, ListUsers, SendMessage, CreateChat, SendChatMessage, ListChannels, ListChats
⚠️ Release Notes Date Validation Release notes have invalid publish_time values (expected YYYY-MM-DD): v4: '', v5: '', v5: '', v5: '', v5: ''

@Arabindaksha-Mishra Arabindaksha-Mishra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peer Migration PR Review: LGTM — MicrosoftTeams (microsoft_teams)

Review Gate Status Evidence
1. Version & Metadata (N+1.0) PASS v39.0 -> v40.0, Python >=3.11,<3.12, release_notes.yaml (56 -> 57 entries)
2. Dependencies & uv.lock PASS environmentcommon, tipcommon, requests, bs4 mapped; soar-sdk in dev; uv.lock present
3. Code & Import Audit (tools/migration) PASS 0 blocking issues; relative ..core imports & core/__init__.py verified
4. Unit Tests (pytest) PASS 39 passed, 1 warning in 0.41s
5. Rebuilt vs. Legacy Parity (compare_rebuilt_to_original) PASS 70/70 runtime artifacts, 33 JSON definitions, 26 Python scripts (0 unexpected AST/schema diffs)
6. CI Pre-Push Gates (Parity-Aware) PASS mp validate (Integration: microsoft_teams · Passed: 20 · Executed: 20 / 23 validations; SSL Integration Validation, JSON Result Example Validation, Release Notes Date Validation omitted for parity) + mp check (ruff.toml parity exclusion)

All 6 review pillars (definition.yaml, uv.lock, AST parity, unit tests, compare_rebuilt_to_original, and parity-aware CI gates) passed with 0 regressions.

@github-actions

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ Integration Version Bump New integration project.toml and release_note.yaml version must be initialize to 1.0
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true
⚠️ JSON Result Example Validation Actions with JSON results missing example files in resources/: CreateChannel, GetTeamDetails, WaitForReply, SendUserMessage, ListTeams, GetUserDetails, SendMessageReply, ListUsers, SendMessage, CreateChat, SendChatMessage, ListChannels, ListChats
⚠️ Release Notes Date Validation Release notes have invalid publish_time values (expected YYYY-MM-DD): v4: '', v5: '', v5: '', v5: '', v5: ''

@aketki aketki left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add "microsoft_teams/**" = ["ALL"] under # Specific Integrations in content/response_integrations/google/ruff.toml (as in #1179)?

@Arabindaksha-Mishra

Copy link
Copy Markdown
Contributor

Could we add "microsoft_teams/**" = ["ALL"] under # Specific Integrations in content/response_integrations/google/ruff.toml (as in #1179)?

we have added in a separate PR #1414

@github-actions

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ Integration Version Bump New integration project.toml and release_note.yaml version must be initialize to 1.0
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true
⚠️ JSON Result Example Validation Actions with JSON results missing example files in resources/: CreateChannel, GetTeamDetails, WaitForReply, SendUserMessage, ListTeams, GetUserDetails, SendMessageReply, ListUsers, SendMessage, CreateChat, SendChatMessage, ListChannels, ListChats
⚠️ Release Notes Date Validation Release notes have invalid publish_time values (expected YYYY-MM-DD): v4: '', v5: '', v5: '', v5: '', v5: ''

aketki
aketki previously approved these changes Oct 27, 2026
Updated project name to 'MicrosoftTeams' for consistency.

Signed-off-by: Arabindaksha Mishra <109797459+Arabindaksha-Mishra@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ Uv Lock Error happened while executing a command: uv lock --check: Using CPython 3.11.17 interpreter at: /opt/hostedtoolcache/Python/3.11.17/x64/bin/python Resolved 62 packages in 236ms error: The lockfile at uv.lock needs to be updated, but --check was provided. hint: To update the lockfile, run uv lock.
⚠️ Integration Version Bump New integration project.toml and release_note.yaml version must be initialize to 1.0
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true
⚠️ JSON Result Example Validation Actions with JSON results missing example files in resources/: CreateChannel, GetTeamDetails, WaitForReply, SendUserMessage, ListTeams, GetUserDetails, SendMessageReply, ListUsers, SendMessage, CreateChat, SendChatMessage, ListChannels, ListChats
⚠️ Release Notes Date Validation Release notes have invalid publish_time values (expected YYYY-MM-DD): v4: '', v5: '', v5: '', v5: '', v5: ''

@github-actions

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ Uv Lock Error happened while executing a command: uv lock --check: Using CPython 3.11.17 interpreter at: /opt/hostedtoolcache/Python/3.11.17/x64/bin/python Resolved 62 packages in 198ms error: The lockfile at uv.lock needs to be updated, but --check was provided. hint: To update the lockfile, run uv lock.
⚠️ Integration Version Bump New integration project.toml and release_note.yaml version must be initialize to 1.0
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true
⚠️ JSON Result Example Validation Actions with JSON results missing example files in resources/: CreateChannel, GetTeamDetails, WaitForReply, SendUserMessage, ListTeams, GetUserDetails, SendMessageReply, ListUsers, SendMessage, CreateChat, SendChatMessage, ListChannels, ListChats
⚠️ Release Notes Date Validation Release notes have invalid publish_time values (expected YYYY-MM-DD): v4: '', v5: '', v5: '', v5: '', v5: ''

@github-actions

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ Integration Version Bump New integration project.toml and release_note.yaml version must be initialize to 1.0
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true
⚠️ JSON Result Example Validation Actions with JSON results missing example files in resources/: CreateChannel, GetTeamDetails, WaitForReply, SendUserMessage, ListTeams, GetUserDetails, SendMessageReply, ListUsers, SendMessage, CreateChat, SendChatMessage, ListChannels, ListChats
⚠️ Release Notes Date Validation Release notes have invalid publish_time values (expected YYYY-MM-DD): v4: '', v5: '', v5: '', v5: '', v5: ''

1 similar comment
@github-actions

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ Integration Version Bump New integration project.toml and release_note.yaml version must be initialize to 1.0
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true
⚠️ JSON Result Example Validation Actions with JSON results missing example files in resources/: CreateChannel, GetTeamDetails, WaitForReply, SendUserMessage, ListTeams, GetUserDetails, SendMessageReply, ListUsers, SendMessage, CreateChat, SendChatMessage, ListChannels, ListChats
⚠️ Release Notes Date Validation Release notes have invalid publish_time values (expected YYYY-MM-DD): v4: '', v5: '', v5: '', v5: '', v5: ''

@adarshtwy
adarshtwy merged commit 09fd214 into main Oct 28, 2026
52 of 58 checks passed
@adarshtwy
adarshtwy deleted the migration_MicrosoftTeams branch October 28, 2026 09:05
@github-actions

Copy link
Copy Markdown

❌ Marketplace Validation Failed

Click to view the full report

Validation Report

🧩 Integrations

microsoft_teams

Validation Name Details
⚠️ SSL Integration Validation The default value of the 'Verify SSL' param in Microsoft Teams must be a boolean true

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants