azure
2431 TopicsHow can AI agents use Azure Cloud management?
I woud like to know how use AI tools such as microsoft copilot to improve productivity in azure administration and cloud infrastructure management. What are some practical ways AI can help with tasks like troubleshooting, resource management, automation and learning azure112Views0likes2CommentsUnable to access my old Azure account — MFA issues
Unable to access my old Azure account — MFA issues Hi everyone, I created my Azure account around 2011 using my personal Hotmail address, back when Microsoft offered credits through one of its programs. Since then, I’ve switched my primary email to Outlook.com. My Microsoft account works fine for Outlook and other services, but I can’t seem to access Azure anymore. Every time I try to sign in, Microsoft Authenticator asks me to verify my identity, but the codes generated by the app are rejected (AADSTS500121). I’ve also encountered AADSTS500200. Interestingly, after refreshing and trying several times, I occasionally managed to open parts of the Azure portal, but most pages showed authentication errors or denied access. I’ve already tried contacting Microsoft Support through chat and phone, but I keep getting redirected to support pages that require me to sign in to Azure. I’m stuck in a loop. Has anyone experienced something similar with an older personal Microsoft account? Is there a way to reach the team responsible for recovering Azure tenant access or resetting MFA when you can’t access the original account? I’d really appreciate any guidance. Thanks!232Views0likes10CommentsDuplicate Users Reappearing After Correcting ms-DS-ConsistencyGuid)
I am sharing this resolved case because I could not find many complete examples online. Hopefully it helps other administrators facing duplicate Microsoft Entra ID users that continue to reappear after deletion. ## Environment - Active Directory (On-Premises) - Microsoft Entra ID - Microsoft Entra Connect ## Problem For several years, duplicate user accounts periodically reappeared in Microsoft Entra ID. Typical symptoms: - Duplicate accounts appeared with the tenant's default .onmicrosoft.com domain. - A valid production user already existed for the same individual. - The duplicate accounts had no licenses assigned. - The duplicate accounts could be deleted successfully. - After some time, the duplicate accounts reappeared automatically. - Audit logs showed "Add user" events. - The creation source was reported as directory synchronization. ## Investigation Using Microsoft Entra audit logs, the duplicated objects were traced back to synchronization activity. The duplicate objects contained: - DirSyncEnabled attributes - SourceAnchor references - OnPremisesObjectIdentifier values This indicated that Entra Connect was creating the objects rather than a manual or cloud-only process. ## Probable Root Cause The issue appeared to be related to identity matching between Active Directory and Microsoft Entra ID. Some user objects had historical inconsistencies related to identity anchoring. As a result, Entra Connect occasionally generated alternate cloud objects instead of properly matching the existing synchronized identity. ## Solution Applied The affected users were analyzed individually. The process used was: Retrieve the Base64 identifier from Entra ID. Convert the Base64 value to a GUID. Write the corresponding GUID to the user's ms-DS-ConsistencyGuid attribute in Active Directory. Allow Entra Connect synchronization to complete. Monitor future synchronization cycles. Example: Set-ADUser username -Replace @{ "ms-DS-ConsistencyGuid" = $guidByteArray } ## Results After correcting the affected users' ms-DS-ConsistencyGuid values: - Duplicate users stopped being recreated. - Multiple synchronization cycles completed successfully. - No additional duplicate accounts have reappeared. - The issue has remained resolved throughout the observation period. ## Conclusion In this case, duplicate Entra ID users were caused by inconsistent identity correlation between Active Directory and Entra ID. Correcting the ms-DS-ConsistencyGuid attribute restored proper identity matching and permanently stopped the creation of duplicate synchronized accounts. ## Status RESOLVED Observation period completed successfully. No duplicate users have reappeared after multiple synchronization cycles.74Views0likes0CommentsHardening Azure Container Registry: Soft Delete & Retention Policies
Hi everyone, We are planning to enable soft delete on our Azure Container Registries (ACR), set to the maximum retention of 90 days. In addition, we want to introduce a retention policy for images and artifacts within the repositories, so that old or orphaned images with potential security vulnerabilities can no longer find their way into circulation. Ideally, we would also like to validate the whole setup safely via a dry run before applying it to production registries. Before we roll this out, I would like to share our approach and get feedback from the community. Goals Protect against accidental deletion (restore window of up to 90 days) Automatically clean up stale, untagged or orphaned images and artifacts Reduce the attack surface caused by outdated images with known CVEs Keep storage costs and registry sprawl under control Test every cleanup rule risk-free before enforcing it Step 1: Enable soft delete (90 days) az acr config soft-delete update \ --registry <registryName> \ --status enabled \ --days 90 Deleted manifests and tags can be listed and restored within the retention window: az acr manifest list-deleted --registry <registryName> --name <repo> az acr manifest restore --registry <registryName> --name <repo>:<tag> Step 2: Retention policy for untagged manifests az acr config retention update \ --registry <registryName> \ --status enabled \ --days 30 \ --type UntaggedManifests Step 3: Scheduled purge for old tagged images (dry run first) The built-in retention policy only covers untagged manifests. For old tagged images, acr purge via an ACR Task is the right tool, and it supports --dry-run: az acr run --registry <registryName> \ --cmd "acr purge --filter '<repo>:.*' --ago 60d --keep 5 --untagged --dry-run" \ /dev/null Review the output, and only when you are happy, remove --dry-run and schedule the command as a recurring ACR Task (az acr task create --schedule "0 2 * * Sun"). Best practices we are considering Test with dry run first: run acr purge --dry-run against non-production registries and review the list of affected images before enforcing anything. Always use --keep: retain the last N tags per repository so rollbacks stay possible. Protect important tags: use --filter patterns to exclude release/production tags, or lock critical images with az acr repository update --write-enabled false. Combine with vulnerability scanning: use Microsoft Defender for Containers to identify vulnerable images and drive purge criteria, rather than relying on age alone. Align retention with your deployment cadence: make sure no running workload (AKS, Container Apps, App Service) still references an image that would be purged. Use consistent tagging: avoid reusing latest; use immutable, versioned tags (e.g. semantic version plus commit SHA). Roll out via IaC: manage the settings through Bicep or Terraform and Azure Policy so every new registry gets the same baseline. Monitor and audit: send ACR diagnostic logs to Log Analytics and alert on unexpected delete operations. Mind the cost: soft-deleted data still counts toward storage until the retention window expires. Open questions for the community Are you running soft delete with 90 days in production? Any pitfalls? How do you combine retention policies with acr purge in practice? Do you use vulnerability findings (e.g. from Defender) as a trigger for image cleanup? Are there known limitations (SKU, geo-replication, preview status) we should consider? Looking forward to your experiences and feedback!270Views0likes5CommentsHybrid Cloud Architecture: What Should Enterprises Keep On-Premises?
Over the years, I have seen enterprise environments evolve from traditional infrastructure toward hybrid cloud architectures. One important architectural decision is determining which workloads should move to Azure and which should remain on-premises. In my view, this decision should consider: Application dependencies and compatibility. Security and regulatory requirements. Network connectivity and latency. Availability and disaster recovery. Operational complexity and total cost. There is no universal answer. The right architecture depends on the business requirements and the technical realities of each environment. For the Azure community: How do you approach workload placement when designing hybrid cloud environments? Do you start with application dependency mapping, security requirements, cost analysis, or another factor? I'd be interested in hearing your experiences and architectural approaches.112Views0likes2CommentsAzure ML Data Labeling retirement: rationale and recommended third-party annotation alternatives?
With Azure Machine Learning Data Labeling retiring on September 30, 2026, I'm interested in understanding both the rationale behind the retirement and what others are moving to as a replacement. The official guidance recommends transitioning to third-party data labeling providers, but I'm particularly interested in computer vision workflows involving: Image and video annotation Bounding boxes and segmentation Human-in-the-loop review YOLO/COCO export Azure Blob Storage integration Private/self-hosted deployment For those already evaluating alternatives, what have you found works well? I'm currently looking at CVAT, Ultralytics Platform, Label Studio, and Roboflow, but I'd be interested in other recommendations and, especially, trade-offs you've encountered integrating them with Azure Machine Learning. I'd also appreciate any insight into the product rationale behind retiring the first-party Azure ML labeling experience and whether there is a successor experience planned.104Views0likes2CommentsMicrosoft account registration blocks affecting Azure training labs
Hi everyone, I’m an MCT teaching Azure classes locally in Vietnam. My students need to create their own Microsoft accounts before signing up for an Azure Free Trial to complete their hands-on labs. Recently, students have repeatedly been blocked during Microsoft account creation. This happens both when creating a new Outlook.com or Hotmail.com address and when using an existing Gmail or Yahoo email address to register a Microsoft account. The block occurs at the Microsoft account registration stage, before they even reach Azure Free Trial registration. This is preventing students from accessing Azure and completing their labs. Has anyone else experienced this issue with their students recently? Is there any official guidance on why these registrations are being blocked and how to resolve it? If someone from Microsoft could help investigate or direct this issue to the team responsible for Microsoft account registration, I would appreciate it. I can provide screenshots, exact error messages, and timestamps if needed. Thank you for your help. Henry Võ Microsoft Certified Trainer (MCT) Vietnam157Views0likes3CommentsURGENT: Microsoft Edge incorrectly flags paytracc.com as typosquatting after multiple reports
Microsoft Edge Website Typo Protection incorrectly flags https://paytracc.com as a possible misspelling of paytrace.com. Paytracc.com is the legitimate official domain of PayTracc, an independent financial technology product. “PayTracc” is the intentional registered brand spelling and is not impersonating or affiliated with PayTrace. The warning has continued despite repeated reports through the “Report that this site URL is not a misspelling” option. Technical verification: • https://paytracc.com returns HTTP 200 OK. • http://paytracc.com returns HTTP 301 and redirects to HTTPS. • A valid TLS certificate and HSTS are enabled. • Chrome and other browsers do not display this warning. • The issue is reproducible only in Microsoft Edge Website Typo Protection. This false positive is discouraging customers from accessing the website. Anyways to resolve this please? Affected domain: https://paytracc.com Incorrect suggested domain: paytrace.com337Views0likes2CommentsFrom Automation to Intelligence: Logic Apps + Functions + GenAI
Traditional automation excels at “When this happens, do that.” But what if a workflow also needs to interpret context, condense information, or suggest what to do next? That’s where combining Azure Logic Apps, Azure Functions, and generative AI gets interesting. Here’s how I think about their roles: - Logic Apps coordinate Connect services, oversee workflow steps, and determine what happens next. - Azure Functions process Run custom logic, validate data, transform it, and handle specialized tasks. - GenAI interprets and creates Make sense of unstructured information, summarize content, categorize inputs, and offer recommendations. A basic workflow might look like this: Business Event ↓ Logic App ↓ Azure Function ↓ GenAI ↓ Validation / Human Review ↓ Action Example: Smarter Incident Triage Picture an alert from a production system: The Logic App receives the alert and collects relevant context. The Azure Function handles the technical data. GenAI summarizes the problem and proposes potential next steps. The Logic App sends the recommendation for validation or human approval. Once approved, the action is carried out. The key point? AI doesn’t need to take the place of rule-based automation. It can add intelligence to the automation you already have. My straightforward architecture guideline: 🔄 Logic Apps: What comes next? ⚙️ Functions: What needs to be processed? 🧠 GenAI: What does this information tell us? 👤 Human: Is this action the right one to take? 💬 What’s your view? Are you using GenAI to assist with existing Azure workflows, or shifting towards automation that’s more AI-driven?81Views4likes0CommentsDatabricks connect with Azure SQL Database
While following a Data Engineering hands-on tutorial on a YouTube channel, I ran into a JDBC connection failure in a Medallion architecture (Bronze to Silver pipeline). Interestingly, my initial connection configuration code runs successfully, but the actual read operation using spark.read.jdbc throws an error. Both connections use the same personal account login. Error: [FAILED_JDBC.CONNECTION] Failed JDBC jdbc:sqlserver:*********(redacted) on the operation: SQLSTATE: HV000 Why is spark.read.jdbc throwing a [FAILED_JDBC.CONNECTION] error with SQLSTATE: HV000 when the basic connection details are correct and working elsewhere? Any help to resolve this is greatly appreciated.333Views0likes2Comments