Graph Powershell 1.9.1 Person Insights settings changes fail

DS 1 Reputation point
2022-01-15T02:59:09.173+00:00

Hello:

I am attempting to modify people insights settings via Graph PowerShell. Specifically, I want to configure the 'DisabledForGroup' setting. My process is shown below. Everything appears to be successful (no errors), but the setting changes never take effect. Even the tenant disable fails.

# Connect to MS Graph with applicable scopes
Connect-MgGraph -Scopes "User.Read.All","User.ReadWrite.All","User.ReadWrite"

# Use the Beta Endpoint
Select-MgProfile beta

$Tenantid = "xxxxxxxxxx.onmicrosoft.com"
# This is the group we want Person Insights disabled for
$Groupid = "xxxxxxxxx-d2d8-48c9-8d88-edcb0aa7c195"

# Show current settings for PersonInsights
Get-MgOrganizationSettingPersonInsight -OrganizationId $TenantId

DisabledForGroup :
Id :
IsEnabledInOrganization : True
AdditionalProperties : {[@odata.context, https://graph.microsoft.com/beta/$metadata#organization('xxxxxxxxxx.onm
icrosoft.com')/settings/peopleInsights/$entity]}

# Set DisabledForGroup on PersonInsights
Update-MgOrganizationSettingPersonInsight -OrganizationId $Tenantid -DisabledForGroup $Groupid

# Confirm settings applied
Get-MgOrganizationSettingPersonInsight -OrganizationId $TenantId

DisabledForGroup :
Id :
IsEnabledInOrganization : True
AdditionalProperties : {[@odata.context, https://graph.microsoft.com/beta/$metadata#organization('xxxxxxxxxx.onm
icrosoft.com')/settings/peopleInsights/$entity]}

### Settings were NOT applied successfully. DisabledForGroup remains empty.
### Note: Tenant disable also fails (IsEnabledInOrganization remains True):  Update-MgOrganizationSettingPersonInsight -OrganizationId $Tenantid -IsEnabledInOrganization:$false

Please let me know if this is a known issue and when it may be scheduled for resolution.

Thank you.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 questions
0 comments No comments
{count} votes