What does the meaning of Insight protection Settings?
Item insights protection settings give the capacity to arrange the permeability of bits of insights obtained from Microsoft Graph. Typically, Insights are between users and other artifacts like documents, sites, and connections in organizations in Microsoft 365. Users can impede the application through traditional/pre-existing controls yet permit different bits of knowledge-based encounters to keep on giving help.
How to change Item insights settings?
The pieces of information (Insights) settings offer flexibility to administrators to use Azure AD Tools. Chiefs can debilitate insights for an entire affiliation/organization, or for only people from a member of a specific Azure Ad Group.
Plan encounters by using the PowerShell SDK or Microsoft Graph Rest API with respective permissions.
Global Administrator permission role is mandatory to execute this process.
In this article, I am including steps utilizing Microsoft Graph SDK in Power shell. I will compose a separate article to perform the same thing using Microsoft Graph Rest EndPoint.
The following area portrays utilizing PowerShell Cmdlets to arrange experience settings.
Kindly check expected requirements to install Microsoft Graph SDK
How to execute PowerShell commands to change Insights Settings?
Kindly check expected requirements to install Microsoft Graph SDK
- PowerShell Module: Install module version 0.9.1 or higher
- .Net Framework: Install .NET Framework 4.7.2 or a higher version
Commands
Connect to Microsoft 365 Tenant in Power Shell.
- PS C:\WINDOWS\system32> Connect-MgGraph -Scopes "User.Read.All","Group.ReadWrite.All","User.ReadWrite.All" // Pass this scope to update settings.
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code SM4RJEC8J to authenticate.
Copy "https://microsoft.com/devicelogin" and paste it in browser. Enter code and login with Global Admin account.
Select Select-MgProfilebeta in Power shell because Item insights commands are just accessible in beta, Change to the beta profile prior to calling it.
To know existing item insights configuration for an organization, Utilize below command. User need to replace $TenantId with his Azure Active Directory ID.

To know existing item insights configuration for an organization, Utilize below command. User need to replace $TenantId with his Azure Active Directory ID.

#HappyCoding
Join the conversation! Your thoughts help the community grow.