Commands › Exchange Online
Get-VivaModuleFeatureEnablement
2.0 or later. For more information, see About the Exchange Online PowerShell module. Use the Get-VivaModuleFeatureEnablement cmdlet to view whether or not a feature in a Viva module is enabled for a specific user or group. Whether or not the feature is enabled is referred to as the feature's "enablement state". The enablement state returned by this cmdlet is based on the access policies set by the admin.
Quick start script
# Get-VivaModuleFeatureEnablement — 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
Get-VivaModuleFeatureEnablement -FeatureId <String> -Identity <String> -ModuleId <String> | Format-List
# 3. Export for evidence / drift tracking
Get-VivaModuleFeatureEnablement | Export-Clixml .\VivaModuleFeatureEnablement-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-VivaModuleFeatureEnablement -FeatureId <String> -Identity <String> -ModuleId <String>
[-Detailed]
[-ResultSize <Unlimited>]
[<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.