Share via


Enable or disable advanced analysis with PowerShell

Applies to: AI admin

Advanced analysis is on by default, but users can't access advanced analysis until the Microsoft 365 global admin assigns the roles of Insights admin and Insights analyst.

Once roles are assigned, this feature access control allows AI admins to enable or disable advanced analysis for Viva Insights using PowerShell cmdlets. This control supports tenant-level policies only, not user or group-level policies.

If you disable advanced analysis, Insights analysts can't access the Advanced analysis tab in the Viva Insights web app, and business leaders can't access reports published by analysts.

Insights admins, however, can still access certain features such as privacy settings, manager settings, and partitions, and no other feature access is impacted.

Steps

  1. Connect to Exchange Online and, when prompted, sign in with your admin credentials.

  2. After you've signed in, you can manage access for your tenant using the Add-VivaModuleFeaturePolicy cmdlet: Add-VivaModuleFeaturePolicy.

Example: Turn off advanced analysis for your tenant

 ModuleId : VivaInsights
 FeatureId : AdvancedInsights
 Name : DisableFeatureForAll
 IsFeatureEnabled : false
 Everyone

Learn more about how to set these policies.

You can also manage these features in the Microsoft 365 admin center. Learn how.

Next steps