Commands › Microsoft Teams
Update-M365UnifiedCustomPendingApp
This cmdlet updates the review status for a custom Microsoft Teams app that is pending review from an IT Admin. The requester to publish the custom app will not be notified when this cmdlet is completed.
Quick start script
# Update-M365UnifiedCustomPendingApp — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-M365UnifiedCustomPendingApp
$before | Format-List
# 3. Make the change
Update-M365UnifiedCustomPendingApp -Id <String> -ReviewStatus <String>
# 4. Verify and diff
$after = Get-M365UnifiedCustomPendingApp
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Update-M365UnifiedCustomPendingApp -Id <String> -ReviewStatus <String>
Parameters (2)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.