NSG Flow Log resource deployment failure

Abhi 0 Reputation points
2024-01-18T11:20:50.6866667+00:00

When deploying NSG flow logs, I see the following error: {"code":"DeploymentFailed","target":"/subscriptions/fe303420-7103-4999-b6fb-5f14b52a52a1/resourceGroups/NetworkWatcherRG/providers/Microsoft.Resources/deployments/Microsoft.NSGFlowLog-20240118114317","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/fe303420-7103-4999-b6fb-5f14b52a52a1/resourceGroups/NetworkWatcherRG/providers/microsoft.network/networkwatchers/NetworkWatcher_northeurope/flowlogs/ubunutu-nsg-ubunutu_group-flowlog","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'."}]} The status shows as Conflict and in the Status Message:

{
    "status": "Failed",
    "error": {
        "code": "InvalidAuthenticationToken",
        "message": "Please register the subscription 'fe303420-7103-4999-b6fb-5f14b52a52a1' with Microsoft.Insights.",
        "details": []
    }
}

However, my subscription is already enabled for Microsoft Insights Screenshot 2024-01-18 at 11.33.18 AM

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,469 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,637 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Abhi 0 Reputation points
    2024-01-18T13:36:44.64+00:00

    It worked after waiting for the changes to take effect 10-15mins,. Please close the question.

    0 comments No comments

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.