<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ray Knicely on Medium]]></title>
        <description><![CDATA[Stories by Ray Knicely on Medium]]></description>
        <link>https://medium.com/@rayknicely?source=rss-f75de136df9f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hb1CC6Dv6ffgJV_cj4UkeA.jpeg</url>
            <title>Stories by Ray Knicely on Medium</title>
            <link>https://medium.com/@rayknicely?source=rss-f75de136df9f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:51:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rayknicely/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Anatomy of a Monday Morning Lockout: The Field Guide to Troubleshooting, Monitoring, and…]]></title>
            <link>https://medium.com/@rayknicely/the-anatomy-of-a-monday-morning-lockout-the-field-guide-to-troubleshooting-monitoring-and-0eb9139676f2?source=rss-f75de136df9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0eb9139676f2</guid>
            <category><![CDATA[conditional-acc]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[zero-trust]]></category>
            <category><![CDATA[microsoft-entra]]></category>
            <dc:creator><![CDATA[Ray Knicely]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 14:43:30 GMT</pubDate>
            <atom:updated>2026-11-25T14:43:30.248Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Anatomy of a Monday Morning Lockout: The Field Guide to Troubleshooting, Monitoring, and Backing Up Microsoft Entra Conditional Access</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZpX5gwes3gaM3Ago" /></figure><p>By Ray Knicely | Senior Enterprise Cloud Architect</p><p>In modern enterprise cloud security, we love to say that identity is the new perimeter.</p><p>It sounds great on an executive slide deck. Firewalls and VPNs are fading, workloads are spread across multi-cloud environments, and employees work from anywhere. Naturally, access decisions must happen at the identity layer.</p><p>What nobody puts on the slide deck is what happens when that perimeter misfires.</p><p>When a network firewall misbehaves, traffic drops on a specific subnet. You can bypass a switch, reroute a VLAN, or plug into an out-of-band management console.</p><p>When Microsoft Entra Conditional Access misbehaves, the entire enterprise halts.</p><p>Authentication tokens vanish. Outlook, Teams, SharePoint, and custom line-of-business applications slam shut simultaneously. And if your administrators didn’t configure their exclusions properly, the very portal you need to fix the mistake is locked from the inside.</p><p>This guide is the blueprint we built after surviving those war rooms. It covers the telemetry pipelines you need, the silent architectural traps that cause outages, production KQL detection queries, and how to manage Conditional Access as code so you can roll back bad policies in seconds.</p><p>You cannot troubleshoot what you do not log.</p><p>Most organizations turn on Conditional Access and assume Entra ID takes care of the rest. But when a user reports intermittent authentication prompts or an automated AI bot fails, the answers are scattered across multiple distinct logs.</p><p>If you follow my architecture breakdowns, you already know my golden rule: stop guessing in the admin portals and look at where the data actually lives.:</p><p>Here is how the telemetry is partitioned across your Microsoft estate:</p><ul><li>Target Log Analytics Table: SigninLogs</li><li>Key Attributes to Inspect: ConditionalAccessPolicies, AuthenticationDetails, RiskLevelDuringSignIn</li><li>Operational Gotcha: Shows user MFA prompts. Look inside the nested result field to see which rule blocked the session.</li><li>Target Log Analytics Table: AADNonInteractiveUserSignInLogs</li><li>Key Attributes to Inspect: OriginalRequestId, AppDisplayName, AppId</li><li>Operational Gotcha: Accounts for 80%+ of all corporate sign-ins. Background token refreshes for Outlook and Copilot live here.</li><li>Target Log Analytics Table: AADServicePrincipalSignInLogs</li><li>Key Attributes to Inspect: ServicePrincipalId, AppId, ResourceDisplayName</li><li>Operational Gotcha: Captures CI/CD pipelines and Copilot Studio bots. Requires Entra Workload ID Premium P1 licensing.</li><li>Target Log Analytics Table: AuditLogs</li><li>Key Attributes to Inspect: Category: Policy, ActivityDisplayName, TargetResources</li><li>Operational Gotcha: Tracks who changed, created, or deleted a CA rule. Changes are buried in modifiedProperties.</li><li>Target Log Analytics Table: NetworkAccessTraffic</li><li>Key Attributes to Inspect: DestinationIP, TrafficType, SourceCompliantNetwork</li><li>Operational Gotcha: Critical when using “Compliant Network” location checks with Microsoft Security Service Edge.</li></ul><p>When you require Intune Device Compliance on all cloud apps, you introduce an asynchronous dependency.</p><p>Laptops powered off over the weekend boot up at 8:00 AM on Monday. The user logs into Windows and immediately clicks Outlook. At that exact millisecond, the local Intune Management Extension agent has not finished its mutual TLS handshake with Microsoft Intune.</p><p>Entra ID checks the device token, sees compliance marked as False, and issues an immediate block.</p><p>The Fix: Never configure device compliance as a single hard gate without a grace period. Use Intune compliance grace periods (1 to 3 days) or combine controls: Require Microsoft Entra Hybrid Joined Device OR Require Compliant Device.</p><p>Most network teams carefully document their corporate public IPv4 ranges and paste them into Entra Named Locations.</p><p>Hardly anyone checks IPv6.</p><p>Modern ISPs and corporate fiber connections frequently run dual-stack. When a user connects, Windows automatically prefers IPv6. If their traffic egresses over a public IPv6 address that isn’t in your trusted location list, Entra treats them as an untrusted external user and triggers a block or an unexpected MFA prompt.</p><p>The Fix: Query your SigninLogs for IPAddress contains “:” to map all public IPv6 blocks in use before enforcing location-based restrictions.</p><p>Continuous Access Evaluation is designed to push real-time revocation events when an account is disabled or a password is reset.</p><p>However, CAE issues access tokens with extended lifetimes (up to 24 hours). If an application does not support CAE, or if the trigger is an IP address shift rather than an administrative revocation, the client can continue using its cached access token for 60 to 90 minutes.</p><p>The Fix: Make sure your security operations team understands which services support real-time CAE push (Exchange, SharePoint, Teams) and which require an active token invalidation via Microsoft Graph (Revoke-MgUserSign).</p><p>Microsoft 365 Copilot relies on delegated user tokens under AppId c9a559d2–74ab-42e8–915b-240900000000.</p><p>If you configure a Conditional Access policy with aggressive session controls-such as setting Sign-in Frequency to “Every time” on Office 365-Copilot’s background orchestrator will fail when trying to query SharePoint or the Semantic Index. The user will see a cryptic error: “Sorry, I encountered an issue accessing company files.”</p><p>The Fix: Keep Sign-in Frequency policies focused on high-risk admin portals rather than standard daily productivity suites.</p><p>Here are two essential queries to keep in your Microsoft Sentinel workspace:</p><p>If your recovery strategy after an identity misconfiguration is “open the portal and click through menus,” you do not have an enterprise disaster recovery plan.</p><p>In an enterprise estate, Conditional Access policies should be stored in Git as declarative JSON files:</p><p>When policies are defined as code: 1. Every change goes through a pull request and peer review. 2. An automated -WhatIf diff shows the exact modifications before they hit the tenant. 3. If an outage occurs, reverting to the last known good commit takes under sixty seconds.</p><p>The most secure door in the world is useless if the key snaps inside the lock while the building is burning down.</p><p>Build your Break-Glass accounts today. Store their passphrases and FIDO2 keys in a physical safe. Never push a policy without running it in Report-Only mode first. And automate your backups so human error never takes down your enterprise.</p><p>How does your team handle testing and backing up Conditional Access policies?</p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/anatomy-monday-morning-lockout-field-guide-monitoring-ray-knicely-ttehc/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0eb9139676f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ray K. | 20 likes · 7 comments | LinkedIn]]></title>
            <link>https://medium.com/@rayknicely/ray-k-20-likes-7-comments-linkedin-dc69f6531827?source=rss-f75de136df9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc69f6531827</guid>
            <category><![CDATA[cloud-architecture]]></category>
            <category><![CDATA[entra-id]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[azure-bicep]]></category>
            <category><![CDATA[iac]]></category>
            <dc:creator><![CDATA[Ray Knicely]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 14:39:49 GMT</pubDate>
            <atom:updated>2026-11-25T14:39:49.016Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KddO2wJVpjqOx6Q8" /></figure><p>I’ve posted frequently about this, having survived several large IaC implementations — here is a summary of my experiences. Jumping straight into Infrastructure as Code across Azure, Entra ID, and M365 without knowing the operational traps will burn you fast.</p><p>Discussions arise whether IaC is actually worth the headache, how to do it properly, etc. If you have one subscription, a static 150-user tenant, and zero regulatory pressure, the portal is fine. Once your footprint crosses 3 to 5 Azure subscriptions, multiple environments, or 1,000+ seats under NIST 800–53, SOC 2, CMMC, or GDPR, manual clicks become a liability. Auditors don’t want screenshots anymore-they want an immutable Git commit history and pull request approvals proving change control; or maybe you’re just looking for a repeatable, definable process.</p><p>If you are building out IaC across all three Microsoft clouds (Bicep, Terraform, or Microsoft365DSC), here is what the real-world plumbing actually looks like:</p><p><strong>Repository strategy:</strong> Stop putting everything in one giant monorepo. Split your repos by blast radius-one for Platform Landing Zones, one for Entra/Identity, and separate ones for workloads and M365 configs, all enforcing branch protection and PR gates.</p><p><strong>State and storage:</strong> If you use Terraform, never store state locally or in an open bucket. Lock it in a dedicated management subscription using an Azure Storage Account with blob versioning, soft-delete, lease locking, Private Endpoints, and Customer-Managed Keys (or use native Bicep Deployment Stacks to skip state files entirely).</p><p><strong>Identity and access required:</strong> Delete your 2-year client secrets. Use Workload Identity Federation (OIDC) with GitHub Actions or Azure DevOps, scoped to the exact Management Group or Graph API permission needed-nothing more.</p><p><strong>Concurrency and throttling:</strong> This is the trap nobody warns you about until your pipeline fails mid-run. ARM handles parallel resource creation well, but Microsoft Graph APIs (Entra ID, Intune, Exchange Online) will hammer you with HTTP 429 TooManyRequests errors if you don’t throttle concurrency (like dropping Terraform parallelism down to -parallelism=2 or adding exponential backoff).</p><p><strong>Logging and compliance:</strong> Every pipeline run, ARM deployment operation, and Entra directory audit log needs to stream straight into a central Log Analytics workspace and Microsoft Sentinel. If a deployment changes a firewall rule or sensitivity label, SecOps should see the correlation between the Git commit SHA and the Entra service principal sign-in log.</p><p>IaC across Azure has been around a long time. Doing it cleanly across Entra ID and M365 still takes patience, careful API throttling, and strict state hygiene.</p><p>Anyone else running into Graph API throttling when pushing Entra or Intune configs through pipelines; or have a strategy to add?</p><p><em>Originally published at </em><a href="https://www.linkedin.com/feed/update/urn:li:activity:7524858619562115076/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc69f6531827" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>