Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.
Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.

PowerShell – Disable Office Graph per user (opt out)

The code below will disable Graph for each individual user by clearing flags in the User Profile Application (UPA).   This allows organization to enable the Graph feature overall and Delve App, while avoiding document discovery.  Mitigates concern of accidental over sharing  (i.e. confidential data with wide open permissions).  Cheers!  

shades_smile

User Profile Service Application (UPA) shows two properties which manage the delve features:

  • OfficeGraphEnabled   (ex = True/False)
  • DelveFlags  (ex = 2048/Null)

Code

Screenshots

image
image
image

image
image
image

Reference

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲