Skip to main content

IdLE.Step.Mailbox.GetInfo

Generated file. Do not edit by hand. Source: tools/Generate-IdleStepReference.ps1

Summary​

  • Step Type: IdLE.Step.Mailbox.GetInfo
  • Module: IdLE.Steps.Mailbox
  • Implementation: Invoke-IdleStepMailboxGetInfo
  • Idempotent: Unknown
  • Required Capabilities: IdLE.Mailbox.Info.Read

Synopsis​

Retrieves mailbox details and returns a structured report.

Description​

The engine passes the provider resolved from With.Provider (default 'ExchangeOnline') as -Provider. The provider implements a GetMailbox method with the signature (IdentityKey, AuthSession) and return a mailbox object.

The step is read-only and returns Changed = $false.

Authentication is handled by the engine: without With.AuthSessionName the session is named after the provider alias (e.g. 'ExchangeOnline'); With.AuthSessionOptions is passed to the broker.

Inputs (With.*)​

Validated at plan time against the step's WithSchema (see Step metadata contract).

KeyTypeRequiredDefaultNotes
IdentityKeyStringYes
AuthSessionNameStringNoprovider aliasAuth session routing key for the AuthSessionBroker.
AuthSessionOptionsHashtableNoData-only options passed to the AuthSessionBroker.
ProviderStringNoExchangeOnlineProvider alias in Providers.

Outputs (State.*)​

Published under State.<StepName>.<Key> for later steps (Precondition and With templates); validated against the step's StateSchema (see Step State).

KeyTypeAlways setNotes
MailboxAnyYes

Example​

# In workflow definition:
@{
Name = 'Get mailbox info'
Type = 'IdLE.Step.Mailbox.GetInfo'
With = @{
Provider = 'ExchangeOnline'
IdentityKey = 'user@contoso.com'
}
}

See Also​