An Azure service that is used to provision Windows and Linux virtual machines.
The CompromisedActivity error indicates that Azure has placed a restriction on the subscription after detecting activity that its risk systems consider unusual. This restriction is generally related to account verification, identity risk signals, billing validation, or usage patterns rather than the specific VM image, VM size, or region being deployed.
A few things you can check before proceeding:
Determine whether the restriction is subscription-specific or broader
- Try creating a simple resource such as a Storage Account or Resource Group.
- If multiple resource deployments fail with the same message, the restriction is likely affecting the subscription rather than the Ubuntu image or VM configuration.
Review security and identity signals
- Check Microsoft Entra ID Risky Users and Risk Detections for any flagged accounts.
- Review Microsoft Defender for Cloud recommendations and alerts.
- Verify that there are no unexpected users, service principals, or deployments within the subscription.
Inspect recent activity and costs
- Review the Azure Activity Log around the time the restriction appeared.
- Check Cost Management for any unexpected compute usage, networking charges, or activity in regions you do not normally use.
- Unexpected deployments or sudden consumption spikes can indicate that Azure detected behaviour requiring additional validation.
Validate billing and subscription information
- Confirm that the subscription is active and associated billing information is current and verified.
- Recent subscription changes, offer conversions, or payment method updates can sometimes coincide with additional verification checks.
Collect diagnostic information
- Capture the deployment Correlation ID, the exact UTC timestamp of the failed deployment, the target region, and the VM SKU from the Activity Log.
- These details help identify the specific operation that triggered the restriction.
Avoid repeated deployment retries
- Continuously retrying deployments across different VM sizes, images, or regions is unlikely to bypass the restriction and can make troubleshooting more difficult.
- Focus on identifying the underlying subscription issue first.
Based on your description, deploying an internal open-source IT asset management solution on a new subscription could have triggered a false positive if Azure's automated risk systems detected activity requiring further validation. The restriction is usually associated with the subscription status rather than the Ubuntu 24.04 image, the Standard B2ls_v2 SKU, or the Germany West Central region.
Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.