azure
8282 TopicsOrganize Minimal APIs for scale for large production Systems
This article explains how to build production-grade ASP.NET Minimal APIs in .NET 10 by applying clean architecture principles, standardized middleware, observability, resiliency, and security practices. It emphasizes separating API and background processer hosts, centralizing cross-cutting concerns, and ensuring scalable, maintainable systems for enterprise-grade distributed applications.Can Azure Arc Simplify Infrastructure Management Across On-Premises and Multi-Cloud Environments?
Hi everyone, Cloud adoption has changed how organizations design, deploy, and manage their IT infrastructure. While many organizations have migrated significant portions of their workloads to Microsoft Azure, a completely cloud-native infrastructure model is not always practical. Several organizations continue to operate a combination of: On-premises physical servers. Virtual machines hosted in private data centers. Azure Virtual Machines. Infrastructure running in other cloud platforms. Edge and distributed computing environments. Managing these different environments independently can introduce operational complexity. For example, administrators might need to use different management platforms, monitoring solutions, security tools, and automation processes depending on where a server is hosted. This brings me to an interesting question: Can we achieve a more consistent infrastructure management experience without necessarily migrating every workload to Azure? One Microsoft technology that addresses this requirement is Azure Arc. Understanding the role of Azure Arc Azure Arc extends Azure management capabilities to resources operating outside Azure. It allows supported infrastructure and services to be represented in Azure Resource Manager, enabling organizations to manage supported resources through familiar Azure management experiences. For example, Azure Arc-enabled servers can connect supported Windows and Linux machines running outside Azure to Azure. Once connected and configured with the appropriate extensions and permissions, administrators can use Azure management capabilities for supported operations. These include: Centralized resource visibility Organizations can view supported Arc-enabled resources through Azure Resource Manager and organize them using subscriptions, resource groups, tags, and other management structures. This provides a more consistent inventory and management experience. Azure Policy and governance Azure Policy can be used to assess and enforce supported configuration requirements for Arc-enabled resources. This can help organizations establish consistent governance standards across different infrastructure locations. Monitoring and operational visibility With the appropriate configuration, Arc-enabled servers can integrate with Azure Monitor and other supported Azure management services. This allows organizations to extend selected monitoring and operational capabilities beyond Azure-hosted virtual machines. Automation and configuration management Organizations can use supported Azure automation and configuration capabilities to manage aspects of their hybrid infrastructure. This can reduce the need to operate completely separate management processes for every infrastructure location. Security management Azure Arc can help extend supported Microsoft security and governance capabilities to eligible resources outside Azure. The exact capabilities depend on the connected resource type, enabled extensions, licensing, and service configuration. A practical example Consider an organization with the following infrastructure: 50 Windows servers hosted in an on-premises data center. 30 Linux servers hosted in another private infrastructure environment. 40 Azure Virtual Machines. 20 virtual machines hosted on another cloud platform. The organization has 140 servers in total. Without a consistent management strategy, administrators might need to maintain separate processes for: Server inventory. Configuration compliance. Monitoring. Security assessment. Operational automation. Resource tagging and governance. Now imagine connecting eligible Windows and Linux servers to Azure Arc. Instead of treating every server location as an entirely separate management environment, the organization can extend selected Azure management capabilities across these environments. This does not mean Azure Arc replaces every existing infrastructure management platform. Rather, it provides a way to bring supported resources into a common Azure management framework. Does Azure Arc eliminate the complexity of hybrid cloud? Not entirely. I think it is important to distinguish between centralized management and centralized infrastructure. Azure Arc does not automatically migrate workloads to Azure, replace existing hypervisors, or make every infrastructure capability identical across different environments. There are also important operational considerations: Connectivity Arc-enabled servers require appropriate connectivity to the relevant Azure endpoints for their connected management capabilities. Agent management The Azure Connected Machine agent must be installed, maintained, and supported on eligible machines. Permissions Organizations need to establish appropriate identities, access controls, and role assignments. Cost considerations Although some Azure Arc capabilities have no additional service charge, other integrated services and management capabilities can incur costs. Operational dependencies Organizations must understand which capabilities are available for each resource type and what happens when connectivity to Azure is interrupted. These considerations are important when designing a hybrid cloud management strategy. Where could this approach be useful? I believe Azure Arc can be particularly useful for organizations that: Maintain a significant on-premises server footprint. Are gradually migrating workloads to Azure. Operate infrastructure across multiple cloud providers. Need consistent governance across distributed environments. Want to extend selected Azure management services without immediately migrating workloads. Rather than forcing organizations to move everything to the cloud, Azure Arc provides another approach: bringing supported infrastructure into Azure's management ecosystem. Questions for the community I would love to hear from Azure architects, infrastructure administrators, and cloud engineers who have worked with Azure Arc. Have you implemented Azure Arc for managing on-premises Windows and Linux servers? Do you use Azure Arc primarily for inventory and governance, or have you extended it to monitoring, security, and automation as well? What operational challenges have you encountered while deploying and maintaining the Connected Machine agent? For organizations operating across Azure, AWS, and on-premises environments, how effective has Azure Arc been in providing centralized management? Do you see Azure Arc becoming an essential component of hybrid cloud infrastructure management? Looking forward to hearing your thoughts and real-world experiences! Thanks!12Views0likes0CommentsInfrastructure as Code Is Not Enough: How Do We Handle Configuration Drift in Cloud Environments?
Hi everyone, Infrastructure as Code (IaC) has significantly changed how organizations provision and manage cloud infrastructure. Instead of manually creating resources through a cloud portal, administrators and DevOps engineers can define infrastructure configurations in code and deploy them consistently across different environments. With technologies such as Terraform, Azure Bicep, ARM templates, and Azure DevOps Pipelines, infrastructure provisioning has become more repeatable, scalable, and manageable. However, I believe there is another challenge that deserves more attention: What happens when the actual cloud infrastructure starts differing from the configuration defined in our code? This is commonly known as configuration drift. Understanding configuration drift Configuration drift occurs when the actual state of an infrastructure resource differs from its intended or declared configuration. Consider a simple example. An organization provisions an Azure Virtual Machine using Terraform. The original configuration specifies: A particular VM size. A specific network configuration. Defined inbound and outbound security rules. A managed disk configuration. A set of monitoring and diagnostic settings. Everything is deployed successfully. A few weeks later, an administrator manually modifies the VM configuration through the Azure Portal to troubleshoot a production issue. Another administrator changes an NSG rule to temporarily allow additional connectivity. A third change is made to the VM size to accommodate increased workload requirements. Although these changes might solve immediate operational problems, the Terraform configuration remains unchanged. Now, there are two different versions of the infrastructure: The infrastructure currently running in Azure. The infrastructure defined in the Terraform configuration. Over time, these differences can become difficult to track and manage. Why configuration drift is a problem I see several challenges associated with unmanaged configuration drift. Infrastructure inconsistency Different environments might gradually develop different configurations, even when they were initially deployed using the same template. For example, development, testing, and production environments may no longer follow the same baseline. Unexpected deployment changes When an IaC deployment is executed again, the deployment tool might identify differences between the declared configuration and the actual infrastructure. Depending on the configuration and the changes involved, this could result in unexpected modifications or resource replacement. Security and compliance risks Manual changes to NSGs, firewall rules, identity permissions, and resource configurations can introduce security gaps. These changes may also cause resources to fall outside the organization's approved configuration baseline. Troubleshooting complexity When an infrastructure issue occurs, administrators might investigate the original deployment configuration without realizing that someone manually modified the resource afterward. This increases troubleshooting time and makes operational documentation less reliable. How can we manage configuration drift? There are several approaches that organizations can consider. Establish IaC as the primary source of truth Infrastructure changes should ideally be introduced through version-controlled configuration files rather than directly through the portal. Where emergency changes are necessary, they should subsequently be documented and incorporated into the IaC repository. Use Terraform plan and state management Terraform provides planning capabilities that help identify differences between the desired configuration and the infrastructure state. Running regular Terraform plans can help teams identify unexpected changes before applying new infrastructure modifications. It is important to remember that Terraform state is not an independent security or compliance audit log. Changes made outside Terraform must still be detected and reviewed appropriately. Implement Azure Policy Azure Policy can help enforce organizational standards across Azure resources. For example, organizations can define policies requiring: Approved virtual machine SKUs. Specific resource tags. Diagnostic settings. Approved regions. Required security configurations. Depending on the policy effect, non-compliant configurations can be audited, denied, or remediated. Integrate validation into CI/CD pipelines Infrastructure deployment pipelines can include additional validation stages. For example: Terraform formatting and validation. Infrastructure plan generation. Policy compliance checks. Approval workflows. Controlled deployment. This creates a more structured approach to infrastructure changes. Maintain proper change management Not every infrastructure change can be fully automated. Production environments sometimes require emergency changes, troubleshooting activities, or approved manual interventions. The important thing is to ensure that these changes are recorded, reviewed, and eventually reflected in the intended infrastructure configuration. An interesting scenario to consider Imagine an organization managing 200 Azure Virtual Machines across multiple subscriptions. All 200 VMs were initially deployed through a standardized Terraform configuration. Over six months: 20 VMs received manual configuration changes. 10 VMs had their network security rules modified. 15 VMs received additional disks. Several resources had their monitoring configurations changed. The infrastructure may continue operating normally, but the original IaC configuration no longer represents the complete environment. How would we identify all these differences? Would periodic Terraform plan execution be sufficient? Or should organizations implement a broader configuration compliance and drift detection strategy using Azure Policy, Azure Resource Graph, automation, and deployment pipeline validation? I think this is an important consideration, especially as cloud environments become larger and more distributed. Questions for the community I would be interested in understanding how other organizations manage this challenge. Do you enforce a strict IaC-only approach for production infrastructure changes? How frequently do you run Terraform plans or equivalent configuration validation? Do you use Azure Policy to identify and prevent configuration drift? How do you handle emergency changes made directly through the Azure Portal? Do you believe configuration drift should be treated primarily as a DevOps responsibility or as part of overall cloud governance? Looking forward to hearing your experiences, recommendations, and approaches. Thanks!15Views0likes0CommentsIs Traditional Infrastructure Monitoring Enough for Modern Azure Environments?
Is Traditional Infrastructure Monitoring Enough for Modern Azure Environments? Hi everyone, As organizations continue migrating their workloads to Microsoft Azure, infrastructure monitoring has become an increasingly important part of cloud operations. Traditionally, infrastructure monitoring has focused on tracking individual resources such as virtual machines, CPU utilization, memory consumption, disk usage, network connectivity, and service availability. While these metrics remain essential, I believe there is an interesting question worth discussing: Are we monitoring the actual health of our cloud environments, or are we simply monitoring individual infrastructure components? The challenge with traditional monitoring Consider a typical Azure environment consisting of: Multiple Azure Virtual Machines hosting application workloads. Azure SQL databases. Storage accounts. Virtual Networks and Network Security Groups. Application gateways and load balancers. Various application services and background processes. An infrastructure monitoring solution might report that: CPU utilization is below the configured threshold. Memory consumption is within acceptable limits. Disk utilization is normal. All virtual machines are reachable. Network connectivity is available. From an infrastructure perspective, everything appears healthy. However, users might still experience application delays, intermittent connectivity issues, failed transactions, or unexpected service interruptions. This raises an important question: Does infrastructure availability necessarily indicate application availability? I would argue that these are two different things. Moving towards a more intelligent monitoring approach Microsoft Azure provides several capabilities that can help organizations move beyond basic infrastructure monitoring. Azure Monitor Azure Monitor provides a centralized platform for collecting and analyzing telemetry from Azure resources and applications. Using metrics, logs, alerts, and workbooks, administrators can gain better visibility into infrastructure performance and operational health. Log Analytics Workspace Log Analytics allows administrators to query collected telemetry using Kusto Query Language (KQL). Instead of checking individual metrics manually, we can correlate information from multiple resources and identify patterns that might otherwise go unnoticed. For example, we could correlate virtual machine CPU utilization, available memory, heartbeat information, and disk consumption to investigate infrastructure-related performance issues. Application Insights Application Insights helps monitor application-level behavior, including request performance, failures, dependencies, and exceptions. This provides visibility into problems that might not be identifiable through virtual machine monitoring alone. Azure Monitor Alerts Rather than relying exclusively on fixed thresholds, organizations can create different alerting strategies based on metrics, log queries, and resource conditions. This can help reduce unnecessary notifications while ensuring that important operational issues receive attention. An example from a real-world operational perspective Imagine an application hosted on an Azure Virtual Machine. The monitoring system reports that: VM status: Running. CPU utilization: 35%. Memory utilization: 65%. Disk utilization: 55%. Heartbeat: Available. Everything looks normal. However, users report that the application takes significantly longer to respond. A traditional infrastructure-only monitoring approach might not immediately identify the issue. A more comprehensive investigation could include: Checking application response times. Reviewing application exceptions. Investigating database dependency performance. Analyzing network latency. Correlating infrastructure and application telemetry. This approach gives administrators a broader understanding of the issue rather than simply confirming that the virtual machine is running. Where do we go from here? I believe the next step in cloud monitoring should be a shift from resource-centric monitoring towards service-centric monitoring. Instead of asking: "Is the virtual machine running?" We should also be asking: "Is the application delivering the expected experience to its users?" This does not mean traditional infrastructure monitoring is becoming irrelevant. CPU, memory, disk, and network monitoring will continue to be fundamental. However, these metrics should be considered part of a larger operational picture. Questions for the community I would love to hear how other Azure administrators and cloud engineers approach monitoring in their environments. Do you primarily rely on infrastructure-level monitoring, or have you implemented application-level monitoring as well? How do you correlate Azure VM metrics with application performance issues? Have you experienced situations where all infrastructure metrics appeared healthy, but the application was still unavailable or performing poorly? What is your preferred approach for reducing alert fatigue without missing critical incidents? Looking forward to hearing your experiences and recommendations! Thanks!11Views0likes0CommentsFrom Bronze to Gold: Data Quality Strategies for ETL in Microsoft Fabric
Introduction Data fuels analytics, machine learning, and AI but only if it’s trustworthy. Most organizations struggle with inconsistent schemas, nulls, data drift, or unexpected upstream changes that silently break dashboards, models, and business logic. Microsoft Fabric provides a unified analytics platform with OneLake, pipelines, notebooks, and governance capabilities. When combined with Great Expectations, an open-source data quality framework, Fabric becomes a powerful environment for enforcing data quality at scale. In this article, we explore how to implement enterprise-ready, parameterized data validation inside Fabric notebooks using Great Expectations including row-count drift detection, schema checks, primary-key uniqueness, and time-series batch validation. A quick reminder: ETL (Extract, Transform, Load) is the process of pulling raw data from source systems, applying business logic and quality validations, and delivering clean, curated datasets for analytics and AI. While ETL spans the full Medallion architecture, this guide focuses specifically on data quality checks in the Bronze layer using the NYC Taxi sample dataset. 🔗 Full implementation is available in my GitHub repository: sallydabbahmsft/Data-Quality-Checks-in-Microsoft-Fabric: Data Quality Checks in Microsoft Fabric Why Data Quality Matters More Than Ever? AI and analytics initiatives fail not because of model quality but because the underlying data is inaccurate, incomplete, or inconsistent. Organizations adopting Microsoft Fabric often ask: How can we validate data as it lands in Bronze? How do we detect schema changes before they break downstream pipelines? How do we prevent silent failures, anomalies, and drift? How do we standardize data quality checks across multiple tables and pipelines? Great Expectations provides a unified, testable, automation-friendly way to answer these questions. Great Expectations in Fabric Great Expectations (GX) is an open-source library for: ✔ Declarative data quality rules ("expectations") ✔ Automated validation during ETL ✔ Rich documentation and reporting ✔ Batch-based validation for time-series or large datasets ✔ Integration with Python, Spark, SQL, and cloud data platforms Fabric notebooks now support Great Expectations natively (via PySpark), enabling engineering teams to: Build reusable DQ suites Parameterize expectations by pipeline Validate full datasets or daily partitions Integrate validation into Fabric pipelines and alerting Data Quality Across the Medallion Architecture This solution follows the Medallion Architecture, with validation at every layer. This pipeline follows a Medallion Architecture, moving data through the Bronze, Silver, and Gold layers while enforcing data quality checks at every stage. 📘 P.S. Fabric also supports this via built-in Medallion task flows: Task flows overview - Microsoft Fabric | Microsoft Learn 🥉Bronze Layer: Ingestion & Validation Ingest raw source data into Bronze without transformations. Run foundational DQ checks to ensure structural integrity. Bronze DQ answers: ➡ Did the data arrive correctly? 🥈Silver Layer: Transformation & Validation Clean, standardize, and enrich Bronze data. Validate business rules, schema consistency, reference values, and more. Silver DQ answers: ➡ Is the data accurate and logically correct? 🥇 Gold Layer: Enrichment & Consumption Produce curated, analytics-ready datasets. Validate metrics, aggregates, and business KPIs. Gold DQ answers: ➡ Can executives trust the numbers? Recommended Data Quality Validations: Bronze Layer (Raw Ingestion) Ingestion Volume & Row Drift – Validate total row count and detect unexpected volume drops or spikes. Schema & Data Type Compliance – Ensure the table structure and column data types match the expected schema. Null / Empty Column Checks – Identify missing or empty values in required fields. Primary Key Uniqueness – Detect duplicate records based on the defined composite or natural key. Silver Layer (Cleaned & Standardized Data) Reference & Domain Value Validation – Confirm that values match valid categories, lookups, or reference datasets. Business Rule Enforcement – Validate logic constraints (e.g., StartDate <= EndDate, percentages within range). Anomaly / Outlier Detection – Identify unusual patterns or values that deviate from historical behavior. Post-Standardization Deduplication – Ensure standardized and enriched records no longer contain duplicates. Gold Layer (Curated, Business-Ready Data) Metric & Aggregation Consistency – Validate totals, ratios, rollups, and other aggregated metrics. KPI Threshold Monitoring – Trigger alerts when KPIs exceed defined thresholds. Data / Feature Drift Detection (for ML) – Monitor changes in distributions across time. Cross-System Consistency Checks – Compare business metrics across internal systems to ensure alignment. Implementing Data Quality with Great Expectations in Fabric Step 1 - Read data from Lakehouse (parametrized): lakehouse_name = "Bronze" table_name = "NYC Taxi - Green" query = f"SELECT * FROM {lakehouse_name}.`{table_name}`" df = spark.sql(query) Step 2 - Create and Register a Suite: context = gx.get_context() suite = context.suites.add( gx.ExpectationSuite(name="nyc_bronze_suite") ) Step 3 - Add Bronze Layer Expectations (Reusable Function): import great_expectations as gx def add_bronze_expectations( suite: gx.ExpectationSuite, primary_key_columns: list[str], required_columns: list[str], expected_schema: list[str], expected_row_count: int | None = None, max_row_drift_pct: float = 0.2, ) -> gx.ExpectationSuite: # 1. Ingestion Count & Row Drift if expected_row_count is not None: min_rows = int(expected_row_count * (1 - max_row_drift_pct)) max_rows = int(expected_row_count * (1 + max_row_drift_pct)) row_count_expectation = gx.expectations.ExpectTableRowCountToBeBetween( min_value=min_rows, max_value=max_rows, ) suite.add_expectation(expectation=row_count_expectation) # 2. Schema Compliance schema_expectation = gx.expectations.ExpectTableColumnsToMatchSet( column_set=expected_schema, exact_match=True, ) suite.add_expectation(expectation=schema_expectation) # 3. Required columns: NOT NULL for col in required_columns: not_null_expectation = gx.expectations.ExpectColumnValuesToNotBeNull( column=col ) suite.add_expectation(expectation=not_null_expectation) # 4. Primary key uniqueness (if provided) if primary_key_columns: unique_pk_expectation = gx.expectations.ExpectCompoundColumnsToBeUnique( column_list=primary_key_columns ) suite.add_expectation(expectation=unique_pk_expectation) return suite Step 4 - Attach Data Asset & Batch Definition: data_source = context.data_sources.add_spark(name="bronze_datasource") data_asset = data_source.add_dataframe_asset(name="nyc_bronze_data") batch_definition = data_asset.add_batch_definition_whole_dataframe("full_bronze_batch") Step 5 - Run Validation: validation_definition = gx.ValidationDefinition( data=batch_definition, suite=suite, name="Bronze_DQ_Validation" ) results = validation_definition.run( batch_parameters={"dataframe": df} ) print(results) 7. Optional: Time-Series Batch Validation (Daily Slices) Fabric does not yet support add_batch_definition_timeseries, so your notebook implements custom logic to validate each day independently: dates_df = df.select(F.to_date("lpepPickupDatetime").alias("dt")).distinct() for d in dates: df_day = df.filter(F.to_date("lpepPickupDatetime") == d) results = validation_definition.run(batch_parameters={"dataframe": df_day}) This enables: Daily anomaly detection Partition-level completeness checks Early schema drift detection Automating DQ with Fabric Pipelines Fabric pipelines can orchestrate your data quality workflow: Trigger notebook after ingestion Pass parameters (table, layer, suite name) Persist DQ results to Lakehouse or Log Analytics Configure alerts in Fabric Monitor Production workflow Run the notebook Check validation results If failures exist: Raise an incident Fail the pipeline Notify the on-call engineer This creates a closed loop of ingestion → validation → monitoring → alerting. An example of DQ pipeline: Results: How Enterprises Benefit By standardizing data quality rules across all domains, organizations ensure consistent expectations and uniform validation practices , improved observability makes data quality issues visible and actionable, enabling teams to detect and resolve failures early. This, in turn, enhances overall reliability, ensuring downstream transformations and Power BI reports operate on clean, trustworthy data. Ultimately, stronger data quality directly contributes to AI readiness high-quality, well-validated data produces significantly better analytics and machine learning outcomes. Conclusion Great Expectations + Microsoft Fabric creates a scalable, modular, enterprise-ready approach for ensuring data quality across the entire medallion architecture. Whether you're validating raw ingested data, transformed datasets, or business-ready tables, the approach demonstrated here enables consistency, observability, and automation across all pipelines. With Fabric’s unified compute, orchestration, and monitoring, teams can now integrate DQ as a first-class citizen not an afterthought. Links: Implement medallion lakehouse architecture in Fabric - Microsoft Fabric | Microsoft Learn GX Expectations Gallery • Great Expectations4.2KViews1like2CommentsAzure Multicloud Interconnect
Introduction Many organizations today use Microsoft Azure and AWS together. One application may run in Azure, while another workload, database, analytics platform, or AI service may be running in AWS. Azure Multicloud Interconnect is a managed network service that provides private connectivity between Azure and supported cloud service providers. Instead of requiring customers to build and coordinate every part of the underlying cloud-to-cloud connectivity, Microsoft and the participating cloud provider manage much of the connectivity infrastructure. Microsoft describes it as using Azure ExpressRoute as the underlying connectivity technology, while the customer creates and manages an Azure Multicloud Interconnect resource for the cloud-to-cloud connection. How do we securely and reliably connect Azure and AWS? There are several ways to do this, including VPN, ExpressRoute combined with other connectivity services, and cloud exchange solutions. Microsoft's Azure Multicloud Interconnect provides another approach: a managed private connectivity service designed to connect Azure with supported cloud providers. The easiest way to understand it is through the architecture below. Azure + AWS: The Basic Idea At a high level, the architecture looks like this: Azure VNet → ExpressRoute Gateway → Azure Multicloud Interconnect → AWS VPC The key point is that traffic between the two cloud environments does not need to travel over the public internet. Azure Multicloud Interconnect provides a private cloud-to-cloud connectivity path between Azure and a supported cloud provider. Microsoft currently lists AWS as supported, with Google Cloud in public preview. Why Would an Organization Need This? Let's take a simple example. Imagine a company has the following architecture: Azure Web application Application services Microsoft-based workloads Some databases AWS Data processing Analytics AI workloads Another application or database The organization wants these workloads to communicate with each other. VPN vs ExpressRoute vs Multicloud Interconnect This is where it becomes important not to treat every connectivity solution as the same. VPN VPN is still a very useful technology. It can be appropriate when: Traffic requirements are relatively small Internet-based connectivity is acceptable Cost needs to be minimized The architecture is relatively simple A quick connectivity solution is required However, the connection depends on internet connectivity and requires VPN configuration on both sides. ExpressRoute / Direct Connect Architecture This can provide private connectivity, but it requires coordinating more components. Depending on the architecture, you may need to deal with: ExpressRoute AWS Direct Connect Cloud exchange provider Cross-connects VLAN configuration BGP Provider coordination Physical connectivity Monitoring This is a perfectly valid enterprise architecture, but it can introduce additional operational complexity. What Makes Multicloud Interconnect Different? The interesting part of Azure Multicloud Interconnect is the managed connectivity experience. Microsoft states that customers don't need to coordinate provider circuits, physical or virtual routers, cross-connects, VLANs, point-to-point addressing, or BGP peering sessions for the underlying interconnect. That can significantly simplify the networking process. Security Private connectivity is not the same thing as complete security. The connection provides a private path, but organizations still need to implement appropriate security controls. Microsoft states that MACsec is enabled by default on the physical links between Azure and the supported cloud provider. However, workload-level encryption and application security remain the customer's responsibility where required. Resiliency Another important part of the architecture is resiliency. A cloud-to-cloud connection can become a critical dependency. Imagine an Azure application that communicates with an AWS database. If that network connection becomes unavailable, the application could potentially be affected. Azure Multicloud Interconnect is designed with redundant infrastructure and physically separate locations. Microsoft and the participating cloud provider coordinate path diversity, physical-link monitoring, and failure recovery. Responsibilities This is probably one of the most useful ways to understand the service. Microsoft / Cloud Provider The underlying service manages areas such as: Connectivity provisioning Underlying BGP VLAN configuration Physical connectivity Path diversity Physical-link monitoring Failure recovery Customer You still manage: Azure VNet AWS VPC IP address planning Route intent Firewalls Security policies Traffic inspection Workload connectivity Application security Application resiliency Microsoft explicitly separates these responsibilities in its current documentation. Limitation in Multicloud Interconnect Option There is no single connectivity solution that is best for every organization. For a small workload, a VPN might be completely sufficient. For an enterprise with existing ExpressRoute and AWS Direct Connect infrastructure, the existing architecture might make more sense. For an organization looking for a managed private Azure-to-AWS connectivity experience, Multicloud Interconnect may be an attractive option. The decision should consider: Bandwidth Latency Cost Regions Existing connectivity Security requirements Application architecture Availability requirements Operational complexity69Views1like2CommentsHow to Make My Job Obsolete, Part 2: Hiring the Agent
Part 2 of my four-part series on building an AI infrastructure agent on Azure treats Azure SRE Agent like a new hire: its own managed identity with Reader, Monitoring Reader and Log Analytics Reader on a single resource group (nothing at subscription scope), Review mode so a human approves every proposal, and an hourly scheduled task that compares the hour-of-week baseline with the Container Apps scale range and proposes a change inside the operating contract. Everything is deployed with Bicep. I also cover two docs surprises: new scheduled tasks and response plans default to Autonomous, and why I pin Azure MCP Server 3.0.0. Read the full article on Substack: https://gisli78.substack.com/p/how-to-make-my-job-obsolete-part-b20 Code on GitHub: https://github.com/gislig/how-to-make-my-job-obsolete #mvpbuzz #azure #azug #microsoft66Views1like1CommentHow 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 azure165Views0likes2CommentsEasy Auth Configuration for Logic App Standard through CI/CD
Problem Statement When Easy Auth (Azure App Service’s built-in authentication and authorization) is enabled on a Logic App Standard, users frequently report that they cannot open the run history. Specifically, the inputs and outputs of the trigger and actions fail to load on the run details page, even though the workflow itself runs and the user has access to the resource. Background — How Easy Auth Interacts with Logic Apps Easy Auth is a feature of Azure App Service. Every request that reaches a Logic App Standard is first routed through the App Service layer, and only then handed off to the Logic App runtime for further processing. When Easy Auth is enabled, App Service authenticates each incoming request and decides whether it should be allowed or blocked — before the Logic App runtime ever sees it. This dual-layer model is what causes the run-history symptom: The Logic App runtime authenticates run-history requests using a SAS token specific to that run, generated from the Logic App access keys. The portal calls that load the inputs and outputs of historical runs do not carry a bearer token — they carry the SAS. Because App Service only knows how to validate Easy Auth tokens (not SAS), it blocks these requests whenever unauthenticatedClientAction is set to disallow unauthenticated traffic. The request never reaches the runtime, so the runtime cannot apply its SAS validation, and the inputs/outputs panel stays empty. Solution There are two ways to fix this, depending on what your security policy allows. Option 1 — Allow unauthenticated requests The simplest fix is to configure Easy Auth to allow unauthenticated requests. This does not mean anyone can invoke the workflow. Instead, all calls (failed and successful) are routed through to the Logic App runtime, and the runtime decides how to handle them: A workflow trigger call with no token → the runtime applies its own auth (SAS, AAD, etc.) and rejects unauthorized invocations. A run-history call carrying a valid SAS → App Service marks it as “failed Easy Auth” but still forwards it; the runtime sees the valid SAS and returns the data. The underlying App Service platform has no knowledge of SAS or any other Logic-App-specific auth scheme, so letting the runtime arbitrate is what makes the run-history experience work. Option 2 — Keep Easy Auth strict, but exclude the runtime paths In many enterprises the security team will not permit “Allow unauthenticated requests.” For those cases, you can leave authentication required but add the runtime endpoints to the excludedPaths list, so App Service skips Easy Auth specifically for those calls. The Logic App runtime continues to authenticate them via SAS. Important: The Azure portal lets you toggle Easy Auth, but it does not expose the excludedPaths setting. You must configure it through ARM, Bicep, the REST API, or CLI — which is exactly why this needs to live in your CI/CD pipeline. There are two ways to apply this through CI/CD. Approach 1 — ARM Template ( Microsoft.Web/sites/config ) Add a Microsoft.Web/sites/config resource of type authsettingsV2 to the same ARM template that deploys the Logic App. Below is the sample template: { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "logicAppName": { "type": "string" }, "location": { "type": "string", "defaultValue": "[resourceGroup().location]" }, "tenantID": { "type": "string" }, "ClientID": { "type": "string" } }, "variables": {}, "resources": [ { "type": "Microsoft.Web/sites", "apiVersion": "2022-03-01", "name": "[parameters('logicAppName')]", "location": "[parameters('location')]", "kind": "functionapp,workflowapp", "identity": { "type": "SystemAssigned" }, "properties": { "serverFarmId": "<App Service Plan ID>", "siteConfig": { "appSettings": [ { "name": "FUNCTIONS_EXTENSION_VERSION", "value": "~4" }, { "name": "FUNCTIONS_WORKER_RUNTIME", "value": "dotnet" }, { "name": "AzureWebJobsStorage", "value": "<Storage Account Connection String>" }, { "name": "APP_KIND", "value": "workflowApp" } ] }, "httpsOnly": true } }, { "type": "Microsoft.Web/sites/config", "apiVersion": "2021-02-01", "name": "[concat(parameters('logicAppName'), '/authsettingsV2')]", "location": "[parameters('location')]", "properties": { "platform": { "enabled": true, "runtimeVersion": "~1" }, "globalValidation": { "requireAuthentication": true, "unauthenticatedClientAction": "Return401", "excludedPaths": ["/runtime/*"] }, "identityProviders": { "azureActiveDirectory": { "enabled": true, "registration": { "openIdIssuer": "[concat('https://sts.windows.net/', parameters('tenantID'), '/v2.0')]", "clientId": "parameters('ClientID')", "clientSecretSettingName": "OVERRIDE_USE_MI_FIC_ASSERTION_CLIENTID" }, "login": { "disableWWWAuthenticate": false }, "validation": { "jwtClaimChecks": {}, "allowedAudiences": [], "defaultAuthorizationPolicy": { "allowedPrincipals": {}, "allowedApplications": ["<LIST OF ALLOWED APPLICATIONS ID>"] } } } } }, "dependsOn": [ "[resourceId('Microsoft.Web/sites', parameters('logicAppName'))]" ] } ], "outputs": {} } Key things to notice in the template: requireAuthentication: true and unauthenticatedClientAction: Return401 keep Easy Auth strict for the public surface. excludedPaths: ["/runtime/*"] carves out the runtime endpoints so the SAS-authenticated run-history calls aren’t blocked. allowedApplications lets you whitelist specific AAD app IDs that are allowed to call the workflow. Reference: Microsoft.Web/sites/config — authsettingsV2 (ARM template) · Bicep variant This is the easiest way to add or update Easy Auth on a new or existing Logic App. Approach 2 — REST API call as a post-deployment pipeline step If you’d rather keep your infra template lean (or you’re updating Easy Auth on a Logic App that already exists), add a step to your CI/CD pipeline that calls the App Service authsettingsV2 REST API after the Logic App infra deployment completes. The payload mirrors the properties block from the ARM example above — including excludedPaths: ["/runtime/*"] . This approach is useful when: The Logic App is provisioned by a different pipeline or team than the one owning auth configuration. You need to update Easy Auth settings without redeploying the site. You want to apply environment-specific values (tenant ID, client ID, allowed application list) at release time rather than template-compile time. Reference: Web Apps - Update Auth Settings V2 - REST API (Azure App Service) | Microsoft Learn · GlobalValidation Summary The “inputs/outputs don’t load on run history” symptom after enabling Easy Auth is caused by App Service blocking SAS-authenticated runtime calls before the Logic App runtime can see them. Either allow unauthenticated requests (and let the runtime do all the auth), or keep Easy Auth strict and exclude /runtime/* . Because the portal doesn’t expose excludedPaths , the production-grade fix is to deploy it through CI/CD — either by adding an authsettingsV2 config resource to your ARM template or by calling the App Service auth REST API as a pipeline step after deployment.808Views0likes2Comments