Issue with Sentinel Entra ID Connector

Richard Long 341 Reputation points
2024-08-16T00:35:59.58+00:00

Hello,

We have a Log Analytics Workspace that was moved to a different Azure subscription. One of the connectors that is configured is for Entra ID. I'm able to confirm that we're receiving Entra ID logs, but we've found an issue when trying to access "Insights and reporting" under Conditional Access in Entra ID. It appears to be looking for the workspace in the old subscription.

We're getting an error that says Insufficient Permissions. In order for you to be able to leverage Log Analytics or Workbooks you first need to get permission for one of the following workspaces: /subscriptions/<previous subscription id>/resourceGroups/<rg-name>/providers/Microsoft.OperationalInsights/workspaces/<workspace-name>

insightsInsufficientPermissions

How can we go about fixing this?

Microsoft Security | Microsoft Sentinel
0 comments No comments
{count} votes

Accepted answer
  1. ANDAL, JOSHUA KEN 80 Reputation points
    2024-08-16T01:50:20.8666667+00:00

    The issue you're experiencing is likely due to the Conditional Access insights and reporting feature still being configured to point to the Log Analytics Workspace in the old subscription. Since the workspace has been moved to a new subscription, the "Insights and reporting" feature in Entra ID (formerly Azure AD) needs to be updated to reference the new workspace location.

    1. Update the Diagnostic Settings for Entra ID
    • Go to the Azure portal.
    • Navigate to Entra ID (Azure AD).
    • Under Monitoring, select Diagnostic settings.
    • Find the existing diagnostic setting that sends logs to the Log Analytics Workspace.
    • Update the setting to point to the new workspace in the current subscription.
    1. Reconfigure Conditional Access Insights and Reporting
    • Go to the Azure portal.
    • Navigate to Entra ID (Azure AD) > Security > Conditional Access > Insights and reporting.
    • If the "Insights and reporting" blade is still pointing to the old workspace, you'll need to reconfigure it:
      1. Remove the current configuration by disconnecting it from the old Log Analytics Workspace.
        1. Reconnect or configure the "Insights and reporting" feature to use the Log Analytics Workspace in the new subscription.
        • Ensure that you have the correct permissions in the new subscription to make these changes.
    1. Verify and Assign Required Permissions
    • Ensure that you have the necessary permissions in the new subscription to access and configure Log Analytics Workspaces. You might need roles such as Log Analytics Contributor or Monitoring Contributor.
    • If needed, go to Access control (IAM) for the Log Analytics Workspace and ensure that you or your team have the correct roles assigned.
    1. Test the Configuration
    • After making these updates, test the "Insights and reporting" feature under Conditional Access to ensure it is correctly retrieving logs from the new Log Analytics Workspace.
    1. Remove Old References (If Needed)
    • If there are any lingering references to the old subscription that you no longer need, you may want to clean them up to avoid confusion.

    By updating the Diagnostic Settings and ensuring that the Conditional Access insights feature is correctly configured to use the Log Analytics Workspace in the new subscription, you should be able to resolve the "Insufficient Permissions" error and regain full functionality.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.