Skip to content

Add restart-safe batched guest invitations - #3

Open
PrzemyslawKlys wants to merge 5 commits into
masterfrom
feature/bulk-guest-invitations
Open

Add restart-safe batched guest invitations#3
PrzemyslawKlys wants to merge 5 commits into
masterfrom
feature/bulk-guest-invitations

Conversation

@PrzemyslawKlys

@PrzemyslawKlys PrzemyslawKlys commented Sep 12, 2026

Copy link
Copy Markdown
Member

Summary

  • add Import-GraphGuestBatch with validated Microsoft Graph batches of up to 20 invitation requests
  • inspect every subresponse and retry only 429 and 503 failures while honoring Retry-After
  • support dictionary-shaped Microsoft Graph SDK subresponses for successful and throttled operations
  • distinguish definite pre-dispatch authorization and missing-SDK failures from uncertain post-send transport failures
  • preserve real dispatch and retry accounting when a later credential refresh fails
  • expose pending and completed batch callbacks so consumers can create durable restart checkpoints
  • isolate callback output, suppress checkpoint callbacks for every WhatIf path, and avoid nested confirmation prompts
  • parse CSV-style boolean overrides safely and share invitation payload construction with the existing single-invitation command

Compatibility

Import-GraphGuest keeps its existing public behavior. The shared transport wrapper preserves warning-based error handling by default and adds an explicit fail-on-error option for reliable bulk processing. Tests cover Windows PowerShell 5.1 and PowerShell 7.

Release note

This advances the module source to 0.2.5. Private downstream consumers should repin after the package is published.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-12T23:27:29.823534Z f67607d New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 27fa53cabe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Public/Import-GraphGuestBatch.ps1 Outdated
Comment thread Public/Import-GraphGuestBatch.ps1 Outdated
Comment thread Public/Import-GraphGuestBatch.ps1 Outdated
Comment thread Public/Import-GraphGuestBatch.ps1
Comment thread Public/Import-GraphGuestBatch.ps1 Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a424e22f15

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Public/Invoke-Graphimo.ps1

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2f55420406

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Public/Import-GraphGuestBatch.ps1 Outdated
Comment thread Public/Invoke-Graphimo.ps1 Outdated
Comment thread Public/Import-GraphGuestBatch.ps1 Outdated
Comment thread Public/Import-GraphGuestBatch.ps1 Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 146167548d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Public/Import-GraphGuestBatch.ps1 Outdated
Comment thread Public/Import-GraphGuestBatch.ps1 Outdated
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.

1 participant