Commands › Exchange Online

Dump-ProvisioningCache

Exchange Online ExchangeOnlineManagement Dump-*

Return a list of the cached keys and values for the specified server and Windows PowerShell application.

Quick start script

# Dump-ProvisioningCache — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Dump-ProvisioningCache -Server <Fqdn> -Application <String> -GlobalCache <SwitchParameter> | Format-List

# 3. Export for evidence / drift tracking
Dump-ProvisioningCache | Export-Clixml .\ProvisioningCache-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

GlobalCache

Dump-ProvisioningCache [-Server] <Fqdn> -Application <String>
 [-GlobalCache]
 [-CacheKeys <MultiValuedProperty>]
 [-Confirm]
 [-WhatIf]
 [<CommonParameters>]

OrganizationCache

Dump-ProvisioningCache [-Server] <Fqdn> -Application <String>
 [-CurrentOrganization]
 [-Organizations <MultiValuedProperty>]
 [-CacheKeys <MultiValuedProperty>]
 [-Confirm]
 [-WhatIf]
 [<CommonParameters>]

Parameters (8)

ParameterTypeRequiredWhat it controls
-Server Fqdn yes The Server parameter specifies the fully qualified domain name (FQDN) of the server that the application you want to reset is running on.
-Application String yes The Application parameter specifies the specific administrative application to reset the provisioning cache for. You can use the following values:
-GlobalCache SwitchParameter yes The GlobalCache switch specifies that all cache keys are cleared. You don't need to specify a value with this switch.
-CacheKeys MultiValuedProperty The CacheKeys parameter specifies the value for the cache key that you want to clear. The format for the values should contain 32 digits separated by four dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
-Confirm SwitchParameter The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on whether the cmdlet requires confirmation before proceeding.
-CurrentOrganization SwitchParameter The CurrentOrganization switch specifies that the provision cache is reset for this organization. You don't need to specify a value with this switch.
-Organizations MultiValuedProperty The Organizations parameter specifies the organizations where the provisioning cache is reset. This parameter is used in multi-tenant deployments.
-WhatIf SwitchParameter The WhatIf switch shows what the command does without making any changes. You don't need to specify a value with this switch.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.