-
Notifications
You must be signed in to change notification settings - Fork 13
Troubleshooting
Andy Thompson edited this page Apr 15, 2024
·
1 revision
The required Service Principal for the First Party Application 'Microsoft Graph Change Tracking' does not exist in the tenant where Call Record Insights is deployed
Register the Service Principal for the First Party Application in the tenant where Call Record Insights is deployed
Example:
Connect-MgGraph -Scopes 'Application.ReadWrite.All'
$GraphChangeTrackingAppId = '0bf30f3b-4a52-48df-9a82-234910c4a086'
$Existing = Get-MgServicePrincipal -Filter "appId eq '$GraphChangeTrackingAppId'" -ErrorAction SilentlyContinue
if (!$Existing) {
Write-Warning "SPN not found, creating new..."
New-MgServicePrincipal -AppId \$GraphChangeTrackingAppId
}
else {
Write-Information "SPN already created..."
$Existing
}