Edit

Share via


Enable or disable advanced insights with PowerShell

Applies to: Microsoft 365 global admin

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

Once roles are assigned, this feature access control allows global admins to enable or disable advanced insights for Viva Insights using PowerShell cmdlets. This control supports tenant-level policies only, not user or group-level policies. If you disable advanced insights, Insights analysts can't access advanced insights, but Insights admins can still access certain features such as privacy settings, manager settings, and partitions.

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 insights 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


Additional resources