Troubleshooting¶
Common Issues¶
Missing Environment Variables¶
Error:
Error: Missing required environment variables: AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET
Solution: Set the required environment variables before running the analyzer:
export AZURE_TENANT_ID="your-tenant-id"
export AZURE_CLIENT_ID="your-client-id"
export AZURE_CLIENT_SECRET="your-client-secret"
Authentication Failed¶
Error:
Solution:
- Verify the client secret has not expired in Microsoft Entra ID
- Regenerate the secret if needed
- Update
AZURE_CLIENT_SECRET
API Returns Non-200 Status¶
Warning:
Solution:
- Verify the app registration has Dataverse API permissions
- Check that an application user exists in the target environment
- Confirm the application user has the Basic User security role (or a custom role granting read access to the
fsi_hallucinationreportstable)
No Feedback Data Retrieved¶
Symptom: Report shows "Total Reports: 0"
Possible causes:
- No feedback has been recorded in the specified time period (default: 30 days)
- Feedback sources are not configured — see Source Configuration
- The
fsi_hallucinationreportstable does not exist — deploy the Dataverse schema first
Required Packages Not Installed¶
Error:
Solution:
Dry Run Testing¶
Use --dry-run to validate the analyzer with sample data without requiring Azure credentials: