<?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 Bright Amalahu on Medium]]></title>
        <description><![CDATA[Stories by Bright Amalahu on Medium]]></description>
        <link>https://medium.com/@brightkakatech?source=rss-7a78a9f37345------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GBs48yLB5Rh4qtvVxuWLLg.jpeg</url>
            <title>Stories by Bright Amalahu on Medium</title>
            <link>https://medium.com/@brightkakatech?source=rss-7a78a9f37345------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 20:00:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@brightkakatech/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[How I Rolled Out Conditional Access Without Locking Anyone Out: Report-Only, Rollout Rings, PIM, CI…]]></title>
            <link>https://medium.com/@brightkakatech/how-i-rolled-out-conditional-access-without-locking-anyone-out-report-only-rollout-rings-pim-ci-ac6c854b1fbd?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac6c854b1fbd</guid>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[microsoft-entra-id]]></category>
            <category><![CDATA[zero-trust]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Thu, 12 Nov 2026 15:42:39 GMT</pubDate>
            <atom:updated>2026-11-12T15:42:39.867Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Rolled Out Conditional Access Without Locking Anyone Out: Report-Only, Rollout Rings, PIM, CI Guardrails and a Break-Glass Alarm</h3><p><em>A complete walkthrough of moving a Microsoft 365 tenant from Security Defaults to enforced Conditional Access, the way it would be done in a company, including everything that broke along the way.</em></p><p>Turning on MFA in a test tenant takes five minutes. Doing it in a company of a thousand people is a different job. One wrong setting and nobody can sign in, including the admins who need to fix it. And when the auditor or the cyber insurer asks “who is protected, since when, and who approved it?”, you need an answer better than “I think I ticked that box”.</p><p>So I set myself a harder brief than “turn on MFA”: secure the sign-ins of a fictional company, BrightKaka Tech, and do it the way I would do it at work. Test before enforcing. Roll out in stages. Keep emergency access working. Make every change reviewable. Watch the accounts that bypass everything. Then write it all down, including the parts that went wrong, because those taught me the most.</p><p>Here is how it went, step by step: the settings I chose and why, what happened, and screenshots and recordings from the tenant.</p><h3>Why this matters in a real organisation</h3><p>Most Microsoft 365 breaches start with an identity: a phished password, an admin account that is always on, a leaver who still has access to a project group. Microsoft’s answer for small tenants is <strong>Security Defaults</strong>: one switch that turns on MFA for everyone. It is a good start, but it is all or nothing. You cannot exclude an emergency account, you cannot block sign-ins from countries you never operate in, and when it blocks someone it does not say why.</p><p><strong>Conditional Access</strong> replaces that one switch with policies you design: who they apply to, which apps, which locations, and what happens (allow, require MFA or block). The hard part in a big organisation is not creating the policies. It is changing how thousands of people sign in without an outage, and being able to prove afterwards what was enforced, on whom and when.</p><p>These are also the controls auditors and insurers ask about first: MFA for everyone, restricted admin access, and regular access reviews.</p><h3>The project in 60 seconds</h3><ul><li><strong>Security Defaults replaced by four enforced Conditional Access policies for all users</strong>, after 8 days in report-only and a two stage rollout. Nobody was locked out.</li><li><strong>Every enforcement backed by data:</strong> an impact report from the sign-in logs and a written change record (CHG-001, CHG-002) with rollback steps.</li><li><strong>Admin rights only when needed</strong>, through PIM: one hour, MFA, a reason and a ticket number.</li><li><strong>A quarterly access review</strong>, which also exposed a stalled auto-apply that left a denied user with access for six days.</li><li><strong>150 synthetic staff and 11 dynamic groups</strong>, so the rollout rings were real groups, not a slide.</li><li><strong>Policies kept as code:</strong> a pull request that quietly removed the emergency account exclusion was blocked automatically.</li><li><strong>Any break-glass sign-in raises a critical alert email</strong> within minutes.</li><li><strong>6 of 7 planned tests passed</strong> (the 7th needs device management, my next project), and <strong>62 automated tests</strong> run on every change.</li></ul><p>Same user, same password. From Ireland she gets an MFA prompt; through a United States VPN she is blocked:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sI45xPkoYJhKqZW3.gif" /></figure><p>How the pieces fit together:</p><p>Architecture of the lab</p><p><strong>Being honest about scope:</strong> this is a lab tenant on trial licences, with 4 real test accounts and 150 synthetic (disabled) staff. I played every role: requester, approver, admin and user. The process is real; the scale is simulated.</p><p><strong>Tools:</strong> Microsoft Entra ID, Microsoft 365 Business Premium trial (includes Entra ID P1), Entra ID P2 trial, PowerShell 7 with the Microsoft Graph SDK, Pester, Git and GitHub Actions, Azure Monitor and Log Analytics with KQL. Total cost: under €2 a month for the logs, everything else on trials set to cancel.</p><h3>The four policies</h3><ul><li><strong>CA01: Require MFA for all users.</strong> The baseline.</li><li><strong>CA02: Block legacy authentication.</strong> Old protocols such as basic auth for email cannot do MFA, so they are a way around it.</li><li><strong>CA03: Require MFA for admins.</strong> Applies to 13 admin roles, so admins are covered even if CA01 is ever changed.</li><li><strong>CA04: Block sign-in from outside Ireland and the UK.</strong> The company only operates in those two countries.</li></ul><p>Every policy excludes one group: <strong>CA-Exclude-BreakGlass</strong>. Why that matters is the first step.</p><h3>Step 1: Build the way back in first</h3><p>Conditional Access can lock everyone out, including you. So before writing a single policy, I created two <strong>break-glass accounts</strong>: emergency Global Administrators that every policy excludes, kept for the day everything else fails.</p><p>How I set them up:</p><ol><li>Two cloud only accounts, breakglass01 and breakglass02, on the tenant&#39;s own onmicrosoft.com domain, so they do not depend on a custom domain or federation that might be broken during an incident.</li><li><strong>Global Administrator</strong> as a <em>permanent active</em> assignment, not PIM eligible. During an outage, the last thing you want is a role activation that depends on the very thing that is broken.</li><li>A security group, <strong>CA-Exclude-BreakGlass</strong>, holding both accounts. Every policy excludes this one group, so the exclusion is managed in one place.</li><li>A <strong>passkey</strong> registered on each account, so they still sign in with a strong method.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1HkD22oC4dfX2fyO.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y92TSQlKpFdEqk2f.png" /></figure><p><strong>What production would do differently:</strong> the passkeys would live on two hardware FIDO2 keys kept in separate safes. In my lab both are in Microsoft Authenticator on one phone. That shortcut caused a surprise later, in step 9.</p><p>An account that skips every security policy is also exactly what an attacker wants. That is why step 9 puts an alarm on them.</p><h3>Step 2: Create the policies in report-only</h3><p>Every policy started in <strong>report-only</strong> mode. Report-only policies are evaluated on every sign-in and the result is logged, but nothing is enforced. You see exactly who would be challenged or blocked before anyone is.</p><p>Report-only also runs alongside Security Defaults, so the tenant was never unprotected while I tested.</p><p>First, a named location for the countries the company operates in:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mVtPxQyNFpNlxt2q.png" /></figure><p>Then the four policies, each excluding CA-Exclude-BreakGlass:</p><ul><li><strong>CA01:</strong> all users, all resources, grant: require MFA</li><li><strong>CA02:</strong> all users, all resources, client apps “Exchange ActiveSync” and “Other clients”, grant: block</li><li><strong>CA03:</strong> 13 admin directory roles, all resources, grant: require MFA</li><li><strong>CA04:</strong> all users, all resources, locations: include any location, exclude “Allowed countries: IE, UK”, grant: block</li></ul><p>When I created CA01, the portal offered to exclude my own admin account “to avoid lockout”. I declined. Lockout protection is the job of the break-glass accounts, and the account I use every day should be protected like everyone else’s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*reXY5rGpJQvwpNQ_.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cUvPyD3yaWwi73Zb.png" /></figure><h3>Step 3: Test before anything is enforced</h3><p>I tested in two ways.</p><p><strong>What If</strong> simulates a sign-in without anyone signing in. Alice, a test user, signing in from a United States IP address: CA01 (MFA) and CA04 (block) both apply, and the block wins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vwynjPX8FAzu0uOY.png" /></figure><p>The same test for breakglass01: no policy applies, reason &quot;Users and groups&quot;. The exclusion works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4IaDcdZw9LoFcuVi.png" /></figure><p><strong>Real sign-ins</strong> in a private browser window, then reading the sign-in logs. One thing that confused me at first: the “Conditional Access” column in the sign-in log only reflects policies that are <strong>On</strong>. Report-only results are on a separate <strong>Report-only</strong> tab inside each sign-in. Here, CA01 would have asked Bob for MFA:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VSBbf3QPE-25TC42.png" /></figure><p><strong>What I found:</strong> a new user’s very first sign-in failed with error <strong>530035</strong>: “Access has been blocked by security defaults”. That was the whole explanation. Security Defaults cannot tell you which rule fired and cannot be tuned. Conditional Access shows every policy’s decision on every sign-in. If anyone asks “why not just use Security Defaults?”, that difference in visibility is the answer.</p><h3>Step 4: Admin rights only when needed (PIM)</h3><p>An admin role that is always active is always available to whoever steals the password. <strong>Privileged Identity Management</strong> makes the role <em>eligible</em> instead: the admin activates it when needed, for a limited time, with checks.</p><p>I used the HelpDesk test account and the <strong>User Administrator</strong> role (enough to reset passwords and manage users, nothing more).</p><p>Settings for User Administrator in PIM:</p><ul><li><strong>Activation:</strong> maximum 1 hour, require MFA, require a justification, require ticket information</li><li><strong>Assignment:</strong> no permanent eligible or active assignments; eligibility expires after 6 months, so it has to be reviewed and renewed</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p--cfJJeC_NLv9if.png" /></figure><p>A trap worth knowing: the “Assigned roles” page on a user also has an “Add assignments” button. That creates a permanent active role and bypasses PIM completely. Eligible assignments must be made from inside PIM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ccsZTGam3OLQWbzv.png" /></figure><p>When HelpDesk needs the role, he activates it with a reason and a ticket number, completes MFA, and the role removes itself after an hour:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*d_gzztKQG7zRq5jQ.gif" /></figure><p><strong>What I found:</strong> the admin policy CA03 applied to HelpDesk <em>only while his role was active</em>. Before activation, he was an ordinary user as far as CA03 was concerned. Admin policies follow the role, not the person. That is why CA01, a baseline for everyone, still matters even when admins have their own policy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yXI72nHtw-C95Jzp.png" /></figure><p>Licensing note: PIM and access reviews need Entra ID P2. The trial converts to a paid subscription by default, so I set it to cancel on expiration the moment I started it, and assigned P2 only to the accounts that needed it.</p><h3>Step 5: Access reviews, and why the status lied</h3><p>People collect access over time: a project ends, but nobody removes them from the group. An <strong>access review</strong> asks someone, on a schedule, whether each member still needs access.</p><p>I created a Microsoft 365 group, Project-Team, with Alice, Bob and HelpDesk, and a review with these settings:</p><ul><li><strong>Reviewers:</strong> the group owners, with the admin as fallback. One central admin cannot meaningfully review hundreds of groups; the people who own the group know who should be in it.</li><li><strong>Recurrence:</strong> quarterly, 3 days to respond</li><li><strong>If reviewers don’t respond:</strong> no change. A forgotten review should not remove someone’s access by surprise.</li><li><strong>Auto-apply results:</strong> on</li><li><strong>Decision helper:</strong> flags members with no sign-in in 30 days</li><li><strong>Justification:</strong> required</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UeCr5G7zQX0rr6n8.png" /></figure><p>As the reviewer, I approved Alice and Bob and <strong>denied HelpDesk</strong>, even though the system recommended keeping him. He had signed in recently, so the recommendation said “approve”. But his task on the project was finished. Activity proves an account is used; it does not prove it still needs access. That judgement is why a person does the review.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JhqIwQzQaEXyZnz-.png" /></figure><p>Then it went wrong. The review moved to “Applying” and stayed there for <strong>six days</strong>. During that time the review said HelpDesk was denied, but he was still a member of the group. I only noticed because I checked the group’s members instead of trusting the review’s status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aMw5NIe6yDfrqMuQ.png" /></figure><p>I removed him manually with a narrowly scoped Graph permission and recorded why:</p><pre>Connect-MgGraph -Scopes GroupMember.ReadWrite.All, Directory.Read.All<br>$team = Get-MgGroup -Filter &quot;displayName eq &#39;Project-Team&#39;&quot;<br>$helpdesk = Get-MgUser -UserId &quot;helpdesk@&lt;tenant&gt;.onmicrosoft.com&quot;<br>Remove-MgGroupMemberDirectoryObjectByRef -GroupId $team.Id -DirectoryObjectId $helpdesk.Id</pre><p><strong>The lesson I took from this one:</strong> a recorded decision is not an enforced decision. Check the outcome, not the status.</p><h3>Step 6: Scale, so the rollout means something</h3><p>You cannot practise a staged rollout with three users. So I gave BrightKaka Tech a workforce: <strong>150 synthetic staff</strong> across eight departments (IT, Finance, HR, Sales, Marketing, Operations, Legal, Executive) and five offices.</p><p>A PowerShell script generates the staff list from a fixed seed, so it produces the same 150 people every time. A second script creates them through Microsoft Graph. Because these are fake people in a real tenant, I built in safety from the start:</p><ul><li>Every account is <strong>disabled</strong>, with a random 32 character password nobody ever sees</li><li>Every account is labelled synthetic in <strong>three places</strong>: company name, employee type, and an employee ID starting with SYN</li><li>The script checks the data before touching the tenant, supports a preview (-WhatIf), and skips users that already exist, so running it twice creates no duplicates</li><li>The cleanup script <strong>refuses to delete</strong> any account that does not carry all three labels, so it can never remove a real user</li></ul><p>Before anything reached the tenant, 12 automated tests checked the data: unique names, every label present, every department represented, ring sizes as planned.</p><h3>Rollout rings with dynamic groups</h3><p>Each user has a ring stored in an attribute (extensionAttribute1), and <strong>dynamic groups</strong> build the rings automatically from it:</p><ul><li><strong>Ring 0, IT:</strong> gets every change first</li><li><strong>Ring 1, Pilot:</strong> a few users from every department, so problems in any department show up early</li><li><strong>Ring 2, Broad:</strong> everyone else</li></ul><p>The rules are as simple as this:</p><pre>(user.extensionAttribute1 -eq &quot;Ring1&quot;)</pre><p>Eight more dynamic groups do the same for departments, using user.department. Nobody adds or removes members by hand: change a user&#39;s department or ring, and their groups follow.</p><p>Dynamic groups fill in the background, from minutes to longer. I learned to check the member count before using any of them in a policy. Three groups came back with one more member than expected; a quick look at the members showed why: my real test users already had matching departments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Xxl2McJXl8zQRxDZ.png" /></figure><h3>Step 7: Policies as code, with a guardrail that bites</h3><p>Conditional Access policies normally live only in the portal. If someone edits one badly, for example removes the break-glass exclusion while “tidying up”, nothing warns anyone. The mistake is found during an outage, when the emergency accounts are locked out with everyone else.</p><p>So I treated the policies like code.</p><p><strong>Export.</strong> A read only PowerShell script pulls every policy through Microsoft Graph and saves it as a JSON file in Git. Before saving, it replaces every ID with a readable name, such as group:CA-Exclude-BreakGlass instead of a long GUID, and removes Graph metadata. That keeps tenant IDs out of a public repository and makes every change readable: a diff shows &quot;CA-Exclude-BreakGlass removed&quot;, not an anonymous ID.</p><p><strong>Guardrail tests.</strong> Pester tests check every policy file against rules the organisation cares about:</p><ul><li>Must exclude the break-glass group</li><li>Must never include it</li><li>Must be report-only or on, never left disabled (a disabled policy protects nobody and hides in the list)</li><li>Can only be <strong>On</strong> if there is an approval on record with at least 7 days in report-only, an approver and a change reference</li><li>No tenant IDs or Graph metadata</li><li>A location block must exclude at least one location (a block on all locations with no exclusion locks out everyone)</li></ul><p>The break-glass rule looks like this:</p><pre>It &#39;excludes the break-glass group&#39; {<br>    $users.excludeGroups | Should -Contain $BreakGlassGroup -Because &#39;emergency access accounts must never be locked out&#39;<br>}</pre><p><strong>Automation.</strong> GitHub Actions runs a style check (PSScriptAnalyzer) and all the tests on every push and every pull request.</p><h3>Proving it works</h3><p>I opened a pull request with an innocent title, “Simplify CA01 exclusions”, that quietly removed the break-glass group from CA01. CI failed in 40 seconds: 57 passed, 1 failed, “excludes the break-glass group, because emergency access accounts must never be locked out”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qtU2PC1Iw0giPB6g.gif" /></figure><p>I restored the exclusion in the same pull request, CI passed, and I closed it without merging.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZdPoK9oO-H5hFfJU.gif" /></figure><p>Two things this stage taught me:</p><ul><li><strong>Read the output, don’t just trust the tests.</strong> My first export leaked a policy ID inside a metadata line that my tests did not check. I found it by reading the file. The export now strips all metadata, and a new test checks the whole file.</li><li><strong>A report is not a block.</strong> The failing check was red, but the Merge button stayed clickable. A test nobody is forced to pass is only advice. I added a branch ruleset on the main branch: every change needs a pull request, the test check must pass, and the bypass list is empty, so not even I, as the repository owner, can skip it.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/0*x40FVTmQhSOeimqw.jpg" /></figure><h3>Step 8: Enforce in stages, with evidence</h3><p>Switching a policy on for everyone at once is how outages happen. So enforcement followed the same pattern a change board would expect: measure the impact, write the change, start small, widen.</p><h3>The impact report</h3><p>A PowerShell script reads the last 7 days of sign-in logs and, for each report-only policy, counts how many sign-ins it would have allowed, interrupted with MFA, or blocked, and who. It then checks the target ring: does every enabled user have MFA registered? If anyone would be blocked with no way to complete MFA, the decision is REVIEW; otherwise GO.</p><p>For Ring 0 and Ring 1, over 67 sign-ins:</p><ul><li><strong>CA01:</strong> 8 MFA prompts (the admin, Bob and HelpDesk), 0 blocks</li><li><strong>CA02:</strong> no legacy sign-ins at all</li><li><strong>CA03:</strong> 2 MFA prompts for the admin, 0 blocks</li><li><strong>CA04:</strong> every sign-in came from Ireland, 0 blocks</li><li><strong>Ring 1:</strong> both enabled users already had MFA registered</li><li><strong>Decision: GO</strong></li></ul><h3>Change 1: Ring 0 and Ring 1</h3><p>Under change record <strong>CHG-001</strong>, I:</p><ol><li>Recorded the approvals (the guardrail test now checks them)</li><li>Scoped CA01 and CA04 to the Ring 0 and Ring 1 groups, keeping the break-glass exclusion</li><li>Turned off Security Defaults (required before any policy can be On) and <strong>immediately</strong> switched all four policies On</li><li>Exported the policies and ran the tests: 62 passed, with the approval checks now running for every policy</li></ol><p>The change record also covered what could go wrong and how to undo it:</p><ul><li><strong>Rollback:</strong> set the affected policy back to report-only, under 5 minutes. If several policies misbehave, all four go back to report-only and Security Defaults comes back on. If an admin is locked out, breakglass01 is the way in.</li><li><strong>A gap I had to own:</strong> turning off Security Defaults removes MFA for everyone at once, but my policies only covered Ring 0 and Ring 1. In the lab, everyone else was a disabled synthetic account, so the risk was low. In a company, I would either schedule Ring 2 within days or keep a baseline MFA policy for all users during the rollout.</li><li><strong>Travel:</strong> a pilot user abroad would be blocked by CA04, so pilot users are told about the change in advance.</li></ul><p>CA02 went to everyone at once: the logs showed zero legacy sign-ins, so staging it would only add risk without benefit. CA03 targets admin roles, and every admin was already in Ring 0.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2uW6WSKjdvFR4LdL.png" /></figure><p>Then I tested it the way a user experiences it. From Ireland, Alice is asked for MFA and gets in:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JQHJT5mZsGUqS3Re.gif" /></figure><p>Through a United States VPN, the same user with the same password is blocked with error 53003. That is the recording at the top of this article.</p><p>The sign-in log showed something worth knowing. CA04 shows Failure (the block), but CA01 <em>also</em> shows Failure, even though Alice was never asked for MFA. When any policy blocks, Entra ID stops there and does not prompt for MFA, because the result cannot change. Block always wins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZeJpG_wUe26HLRDy.png" /></figure><h3>Change 2: everyone</h3><p>After a quiet period, the impact report for Ring 2 came back GO, and change <strong>CHG-002</strong> moved CA01 and CA04 to <strong>All users</strong>.</p><p>Not to the Ring 2 group: to <em>All users</em>. Rings are how you stage a rollout, not where a policy should stay. If the policies stayed on ring groups, anyone without a ring, such as a new starter whose attribute was never set, would have no protection at all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wzJ_3C41HCz9WRGH.png" /></figure><h3>Step 9: Watch the accounts that bypass everything</h3><p>The break-glass accounts skip every policy, so every use must be noticed. A sign-in is either a planned drill or an emergency, and both need a human to know about it.</p><h3>Getting the logs somewhere searchable</h3><p>Entra ID can send its logs to a <strong>Log Analytics</strong> workspace, but only one in an Azure subscription in the <strong>same tenant</strong>. My Azure subscription lived elsewhere, so I had to move it in, which was a small project of its own:</p><ul><li>I invited my Azure account into the lab tenant as a guest</li><li>New tenants block subscriptions from coming in by default, so as Global Administrator I temporarily turned on “Access management for Azure resources” to accept the transfer</li><li>Moving a subscription to another directory removes every role assignment, so I gave the lab admin a time bound Owner role and turned the elevated access off again</li></ul><p>Then:</p><ul><li>A workspace in North Europe with a <strong>daily cap of 0.1 GB</strong> and a <strong>€5 budget alert</strong>, so a logging mistake cannot become a bill</li><li>A diagnostic setting sending <strong>SignInLogs</strong>, <strong>NonInteractiveUserSignInLogs</strong> and <strong>AuditLogs</strong> to the workspace</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*a0QmN94JtYM1NhiQ.png" /></figure><h3>The detection query</h3><p>The query reads <strong>both</strong> sign-in tables. Interactive sign-ins are someone typing a password or using a passkey. Non-interactive sign-ins are apps refreshing tokens in the background. A stolen token never types a password, so it only shows up in the second table. Watching only interactive sign-ins would miss exactly the attack this is meant to catch.</p><pre>let BreakGlass = dynamic([&quot;breakglass01@&lt;tenant&gt;.onmicrosoft.com&quot;, &quot;breakglass02@&lt;tenant&gt;.onmicrosoft.com&quot;]);<br>let Interactive = SigninLogs<br>    | where UserPrincipalName in~ (BreakGlass)<br>    | extend OS = tostring(DeviceDetail.operatingSystem), SignInType = &quot;Interactive&quot;;<br>let NonInteractive = AADNonInteractiveUserSignInLogs<br>    | where UserPrincipalName in~ (BreakGlass)<br>    | extend OS = tostring(parse_json(DeviceDetail).operatingSystem), SignInType = &quot;Non-interactive&quot;<br>    | where not(AppDisplayName == &quot;Microsoft Authentication Broker&quot; and OS startswith &quot;Ios&quot;);<br>union Interactive, NonInteractive<br>| project TimeGenerated, SignInType, UserPrincipalName, AppDisplayName, OS, Location, IPAddress, ResultType<br>| order by TimeGenerated desc</pre><p>The alert rule runs it <strong>every 5 minutes</strong>, fires on <strong>any result</strong> (greater than 0), at <strong>severity 0</strong> (critical), with auto-resolve off, so someone has to look at it and close it.</p><h3>The false alarm</h3><p>The first time I ran the query, it found a break-glass sign-in nobody had made. It was Microsoft Authenticator on my phone, quietly refreshing the session it keeps for the passkey.</p><p>I did not exclude the break-glass accounts or the phone in general. I excluded one exact pattern: the Microsoft Authentication Broker app on iOS, and documented the trade-off. Everything else, including any interactive sign-in from anywhere, still alerts. The real fix is the production design from step 1: hardware keys in a safe, which hold no session anywhere.</p><h3>The drill, and the email that never came</h3><p>Then the test: sign in as breakglass01, sign out, wait.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4LA5yvwoRIsTzJmb.gif" /></figure><p>The alert fired. Four times. And no email arrived.</p><p>The action group had triggered correctly, but the email address on it had never been verified, and Azure skipped it silently. No error, no warning in the alert. After verifying the address, the next drill produced the critical alert email within minutes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*udRcLINVVgshcono.gif" /></figure><p><strong>Detection that nobody hears about is not monitoring.</strong> Test the notification end to end, not just the query.</p><h3>Results</h3><ul><li><strong>T1, T2:</strong> report-only results correct for Alice and Bob: passed</li><li><strong>T3:</strong> legacy authentication blocked: passed</li><li><strong>T4:</strong> admin policy applies only while the PIM role is active: passed</li><li><strong>T5:</strong> sign-in from outside Ireland and the UK blocked, simulated and real: passed</li><li><strong>T6:</strong> break-glass sign-in skips every policy and raises the alert: passed</li><li><strong>T7:</strong> require a compliant device: waiting for my next project, device management with Intune</li><li><strong>62 automated tests</strong> pass on every change</li></ul><h3>What production would do differently</h3><p>I want to be clear about where the lab differs from a real company:</p><ul><li>One person played requester, approver, admin and user. In a company these are separate people, and approvals live in a change management system.</li><li>Both break-glass passkeys are on one phone. Production uses hardware keys in separate safes.</li><li>PIM and access reviews ran on a 30 day P2 trial.</li><li>Ring 2 was entirely disabled synthetic accounts, so the final rollout carried less risk than it would with real staff. In a company, the Ring 2 report would show real people without MFA registered, and they would need to be contacted before the change.</li></ul><h3>What I would tell myself at the start</h3><ul><li><strong>Build the way back in before anything else.</strong> Break-glass first, then policies.</li><li><strong>Read report-only results before trusting a policy.</strong> The logs taught me more than the policy screens.</li><li><strong>Check outcomes, not statuses.</strong> The access review said “denied” and the alert said “fired”. Both looked fine until I checked what actually happened.</li><li><strong>Make the safe path automatic.</strong> A required test that blocks a bad change beats a rule in a document that nobody reads.</li><li><strong>Rings are for the rollout, not the end state.</strong> Finish on All users.</li><li><strong>Keep the evidence as you go.</strong> Every claim here has a log, a test result or a recording behind it.</li></ul><p>Next, I am bringing devices into the picture with Intune, so the final policy, CA05, can require a compliant device before anyone reaches company data.</p><p>If you want to reuse anything, the scripts, tests, policy exports, KQL query and change records are on my GitHub: <a href="https://github.com/Brightkakatech/zero-trust-identity-lab">github.com/Brightkakatech/zero-trust-identity-lab</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac6c854b1fbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an Endpoint Management and Backup Lab: Device Compliance and Disaster Recovery with…]]></title>
            <link>https://medium.com/@brightkakatech/building-an-endpoint-management-and-backup-lab-device-compliance-and-disaster-recovery-with-31a5dfb35b1b?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/31a5dfb35b1b</guid>
            <category><![CDATA[microsoft-intune]]></category>
            <category><![CDATA[microsoft-entra-id]]></category>
            <category><![CDATA[microsoft-365]]></category>
            <category><![CDATA[system-administration]]></category>
            <category><![CDATA[veeam-backup]]></category>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Sun, 28 Jun 2026 00:37:00 GMT</pubDate>
            <atom:updated>2026-06-30T07:45:59.229Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building an Endpoint Management and Backup Lab: Device Compliance and Disaster Recovery with Intune, Entra ID, and Veeam</h3><p><em>How I enrolled, secured, and gated a Windows device with Microsoft Intune and Entra ID, then backed up the environment with Veeam; and what broke along the way.</em></p><h3>Introduction</h3><p>Every organisation running Microsoft 365 today faces the same two questions: how do you know a device connecting to company data is actually trustworthy, and what happens when something fails anyway? Remote and hybrid work has made the old model trust a device because it’s sitting inside the office network obsolete. Devices now connect from home networks, coffee shops, and personal hotspots, which means trust has to be established by the device itself, not by where it happens to be sitting.</p><p>This article documents how I built a self-contained lab covering device enrolment, compliance enforcement, Conditional Access, and backup and disaster recovery, using Microsoft Intune, Entra ID, and Veeam Agent for Windows.</p><p>By the end of this build, the lab was capable of:</p><p>• Automatically enrolling a Windows device into Intune via Entra ID</p><p>• Enforcing a compliance policy covering disk encryption, Secure Boot, Code Integrity, and password requirements</p><p>• Diagnosing a real compliance failure down to its root cause (a TPM issue blocking BitLocker)</p><p>• Deploying a configuration profile enforcing password policy, USB restriction, and application controls</p><p>• Gating application access behind device compliance using Conditional Access, tested safely in report-only mode</p><p>• Running a Veeam backup job as part of a disaster recovery exercise</p><h3>Architecture Overview</h3><p>The lab centred on a Microsoft 365 tenant with Entra ID as the identity backbone, layered with Intune for device management and Veeam for backup:</p><p><strong>Microsoft 365 tenant: </strong>The foundation for identity and device management every other component in this lab depends on it.</p><p><strong>Entra ID (Azure AD): </strong>Handles MDM auto enrolment, so any device joining the tenant automatically picks up Intune management without manual setup.</p><p><strong>Microsoft Intune: </strong>Enforces compliance policies (does the device meet the bar?) and configuration profiles (does the device have the right settings applied?).</p><p><strong>Conditional Access: </strong>Sits on top of Intune and gates application access behind device compliance; this is the layer that actually turns a compliance policy into a real security control.</p><p><strong>Veeam Agent for Windows: </strong>Provides the recovery side of the equation, independent of everything above it.</p><p>The data flow looks like this:</p><p><em>Device joins tenant → Entra ID triggers auto enrolment → Intune applies compliance and configuration policies → Conditional Access checks compliance before granting access → Veeam backs up the environment regardless of device state</em></p><p>Each layer depends on the one before it. Compliance policies are meaningless without enrolment. Conditional Access is meaningless without compliance policies to gate against. None of it protects the business from data loss without a tested backup process running underneath.</p><h3>Step 1: Provisioning the Tenant and Enrolling the Device</h3><p>The first step was provisioning a Microsoft 365 tenant and configuring <strong>MDM auto enrolment</strong> through Entra ID:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PZ463TvPIRQfa2USuYb1tQ.png" /><figcaption>Microsoft Entra admin center</figcaption></figure><p>• In the Microsoft Entra admin center, navigate to <strong>Mobility (MDM and MAM) → Microsoft Intune</strong></p><ul><li>Set the MDM user scope to <strong>All</strong> (or a specific group, in a production environment) so any device joined by an in-scope user automatically enrols</li><li>Join the test Windows device to Entra ID (<strong>Settings → Accounts → Access work or school → Connect</strong>)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eZIF5R_p6OrQ2XjZ2JMpcw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rawHLKPF9LUp7ZwOQr9DYg.jpeg" /><figcaption><em>Entra ID MDM auto enrolment configuration</em></figcaption></figure><p>Once the device finishes joining, it appears automatically in the Intune admin center under Devices, with no manual enrolment step required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pImycMrzRM_By1JeWfmg0w.jpeg" /><figcaption><em>Device showing as enrolled in Intune</em></figcaption></figure><h3>Step 2: Building and Troubleshooting the Compliance Policy</h3><p>With the device enrolled, I built a compliance policy in <strong>Intune admin center → Devices → Compliance policies → Create policy</strong>, covering:</p><p><strong>•</strong> <strong>BitLocker</strong> disk encryption</p><p>• Secure Boot</p><p>• Code Integrity</p><p>• Password policy requirements</p><ul><li>General encryption requirements</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GdQGdYN5txMvCgeR1qjscQ.jpeg" /><figcaption><em>Compliance policy settings in Intune</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4YMwfwP0FWVgj3OWcnHx-g.jpeg" /><figcaption>Additional <em>Compliance policy settings in Intune</em></figcaption></figure><p>After assigning the policy to the device, the compliance dashboard reported a failure on the encryption requirement; but the summary view gave no further detail than a red “Not compliant” status.</p><p>To diagnose it, I went to <strong>Devices → WIN11→ Device compliance → [policy name]</strong> to view the per-setting compliance results, which break each requirement down individually rather than rolling everything into a single pass/fail status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T-0wk1d1H53sfpoyXZglKQ.jpeg" /><figcaption><em>Per-setting compliance results showing the failure</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uDMQ9IhHjjcQynaRtyWchg.jpeg" /><figcaption>Overview of the compliance</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8er4RP8pZzKT-oD0Hxq9DA.jpeg" /><figcaption>Full report of compliance</figcaption></figure><p>That view isolated the failure to BitLocker specifically, and further investigation traced it to the device’s TPM (Trusted Platform Module) not being in a state that satisfied BitLocker’s requirements, every other setting in the policy was passing. This is a pattern worth understanding broadly: compliance failures are rarely a flaw in the policy itself. They’re almost always a single underlying hardware or configuration condition that the high-level dashboard won’t name for you.</p><h3>Step 3: Deploying the Configuration Profile</h3><p>Compliance policies report on state; configuration profiles actively enforce it. In <strong>Intune admin center → Devices → Configuration profiles → Create profile</strong>, I built a profile enforcing:</p><p>• Password policy</p><p>• USB restriction</p><p>• Application controls</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jCUWdjVc79rgZgTi9Bs5wA.jpeg" /><figcaption>Device c<em>onfiguration profile settings</em></figcaption></figure><p>After assigning the profile, I checked Devices → WIN11→ Configuration profiles to confirm the deployment status showed “Succeeded” and then verified directly on the device that the restrictions were actually in effect, rather than relying on the console status alone. A status that says success and a control that’s genuinely working are two different things, and conflating them is one of the more common gaps in real-world IT operations.</p><h3>Step 4: Gating Access with Conditional Access</h3><p>With compliance and configuration in place, I built a Conditional Access policy in <strong>Entra admin center → Protection → Conditional Access → New policy</strong>, requiring device compliance as a condition for application access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EQhVcNsfZB-I-Ugzk0v0zQ.jpeg" /><figcaption><em>Conditional Access policy configuration in report-only mode</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qQmClQ4paWPdm9QjlvdGsg.jpeg" /><figcaption>Already created conditional policies</figcaption></figure><p>Critically, the policy was set to <strong>Report-only</strong> mode rather than <strong>On</strong> for initial testing. Report-only mode evaluates the policy against real sign-ins and logs what it would have done, without actually blocking anything. This is the same approach that should be used in any live tenant, confirm a policy is targeting the right conditions before it’s allowed to lock anyone out, including the device being tested on.</p><p>After confirming the report-only logs showed the expected evaluation (compliant device → would grant access; non-compliant → would block), the policy could be safely switched to On.</p><h3>Step 5: Backup and Disaster Recovery with Veeam</h3><p>The final piece was backup, handled independently of the Intune/Entra ID stack above. I installed <strong>Veeam Agent for Windows</strong> and configured a backup job to protect a data folder on the device, then deliberately simulated a data loss scenario to test whether the backup could actually be relied on.</p><p><strong>Naming and scoping the job</strong></p><p>The job was named Lab Backup Job, and Veeam was given a choice of backup modes: a full computer image, a volume-level backup, or a file-level backup targeting specific folders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vZPjaxQv58VJZpS72ZAToQ.jpeg" /><figcaption><em>Backup Mode options; Entire computer, Volume level, File level backup</em></figcaption></figure><p>I deliberately tested more than one mode before settling on the right one. A full computer image is the most “complete” option, but it’s overkill when the goal is protecting a specific dataset rather than the whole OS. <strong>File level backup</strong> was the right fit here, since it targets exactly the folder that matters in this case, a Lab Data directory, rather than backing up the entire C: drive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BUShrtZlY6EJfo-uyqP9RQ.jpeg" /><figcaption><em>Selecting the Lab Data folder for file-level backup</em></figcaption></figure><p><strong>Destination and retention</strong></p><p>The backup was set to a local destination (C:\Veeam Backups), with a 7-day retention policy and a periodic schedule configured to run no more than every 2 hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2zSibUx-RGwYx1E3H2G2qA.jpeg" /><figcaption><em>Local Storage settings destination folder and 7-day retention</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g-NrhTIOwoHkFpglxZNYOw.jpeg" /><figcaption><em>Schedule settings periodic backup interval</em></figcaption></figure><p>In a real environment, local storage on the same device being protected isn’t best practice, Veeam itself flags this in the UI, recommending an external or network destination instead. For this lab, local storage was acceptable since the goal was testing the backup and restore mechanics, not building a production-grade retention strategy.<br>Once configured, the job ran successfully, with the Veeam Agent dashboard showing completed backups and their size over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z_YNdRKSDd5DRzJeMFVfnQ.jpeg" /><figcaption><em>Veeam Agent dashboard showing successful backup history</em></figcaption></figure><p><strong>Testing the actual recovery<br></strong>A backup job that runs is not the same as a backup that can be restored — so I simulated a real disaster recovery scenario. The Lab Data folder started out with three test folders: Test1, Test2, and Test3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8BINbroh6XVvwb_jMRZREg.jpeg" /><figcaption><em>Lab Data folder showing Test1, Test2, and Test3 before deletion</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IUcv5cwr1rY8k_3d83aVvw.jpeg" /><figcaption><em>Lab Data folder showing only Test1 and Test3 after deletion</em></figcaption></figure><p>I then deleted Test2 from the live folder, simulating accidental data loss.</p><p>To recover it, I opened the Veeam Agent menu and selected Restore file, which launched the File Level Restore wizard. From there, I selected a restore point, Veeam tracked both full and incremental restore points, so I could choose exactly which backup to recover from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xdzwOalolguLqur9zkuJWw.jpeg" /><figcaption><em>Veeam Agent menu showing Restore file / Restore volume options</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3R4Ch3MHkZRM5Y8c_OUEeg.jpeg" /><figcaption><em>File Level Restore, selecting a restore point</em></figcaption></figure><p>The restore wizard opened a Backup Browser showing the folder structure as it existed at that restore point, including the deleted Test2 folder. Right-clicking it gave the option to restore with Overwrite or Keep.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i_TbPK-K6O_OExKQHgj2Qg.jpeg" /><figcaption><em>Backup Browser right-clicking Test2 to restore with Overwrite</em></figcaption></figure><p>The restore completed successfully, with Veeam’s log confirming the folder and file count recovered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d8VTOKDr81ztNzHWaZqNSw.jpeg" /><figcaption><em>Restore completed successfully, folder “C:\Lab Data\Test2” restored</em></figcaption></figure><p>This is the part of backup strategy that’s easy to skip and the part that actually matters. The job succeeding tells you the backup process works. Only a real restore tells you the data is actually recoverable.</p><h3>What This Looks Like in a Real Enterprise Environment</h3><p>In a production environment, this lab would scale in a few specific directions. MDM auto enrolment would apply to hundreds or thousands of devices across multiple Entra ID groups, with compliance policies tailored by device role (finance laptops held to a stricter standard than shared meeting-room PCs, for example). Conditional Access would typically combine device compliance with other signals, location, sign-in risk, app sensitivity rather than compliance alone.</p><p>On the backup side, Veeam would back up entire server fleets and critical line-of-business applications, with backup jobs tiered by recovery priority and tested restores run on a defined schedule rather than once. Disaster recovery planning would also define RTO and RPO targets (how fast systems need to come back, and how much data loss is acceptable) something a single-device lab doesn’t need to formalise, but a real environment can’t operate without.</p><p>The principles are identical. The scale and the stakes are different.</p><h3>Final Thoughts</h3><p>A few things carried across every stage of this lab:</p><p><strong>•</strong> <strong>Compliance dashboards summarise; they don’t diagnose.</strong> The real answer to “why did this fail” is almost always in the per-setting detail, not the top-level status.</p><p><strong>•</strong> <strong>Report-only mode should be the default</strong>, not an extra step, for any Conditional Access policy that could lock out real users.</p><p><strong>•</strong> <strong>A “succeeded” status is not the same as a control that’s actually working.</strong> Verification on the device itself matters more than the console.</p><p><strong>•</strong> <strong>A backup strategy is only as good as its last tested restore.</strong></p><p>This lab builds on an earlier hybrid Active Directory and identity management project, together covering the full lifecycle an organisation depends on: identity, the devices connecting to that identity, and the ability to recover both when something fails.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31a5dfb35b1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enrolling a Device into Microsoft Intune: Compliance Policies, Configuration Profiles, and a Real…]]></title>
            <link>https://medium.com/@brightkakatech/enrolling-a-device-into-microsoft-intune-compliance-policies-configuration-profiles-and-a-real-a0ea9772c9e2?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0ea9772c9e2</guid>
            <category><![CDATA[microsoft-intune]]></category>
            <category><![CDATA[endpoint-management]]></category>
            <category><![CDATA[microsoft-365]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[systems-administration]]></category>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Mon, 22 Jun 2026 01:45:00 GMT</pubDate>
            <atom:updated>2026-06-22T01:45:00.860Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Enrolling a Device into Microsoft Intune: Compliance Policies, Configuration Profiles, and a Real Enrollment Failure</strong></h3><p><em>How I provisioned a Microsoft 365 tenant, enrolled a Windows device, diagnosed why it would not enroll into Intune, and built compliance and configuration policies end to end</em></p><h3>Introduction</h3><p>Endpoint management is one of the areas where reading documentation and actually doing the work are very different experiences. Microsoft Intune looks straightforward in a slide deck. It is considerably less straightforward the first time a device registers with Microsoft Entra ID but refuses to actually show up as managed, and you have to work out why.</p><p>This article documents a hands on lab where I provisioned a Microsoft 365 Business Premium tenant, enrolled a Windows 11 device, hit a real enrollment failure caused by an MDM scope setting, fixed it, and then built a compliance policy, a configuration profile, and a Conditional Access policy on top of it.</p><p>By the end of this build, the environment was capable of:</p><p>• Enrolling a Windows device into Microsoft Intune through Entra ID account registration</p><p>• Evaluating a 9 point compliance policy covering BitLocker, Secure Boot, Code Integrity, and password policy</p><p>• Diagnosing a genuine compliance error caused by a missing virtual TPM on the test device</p><p>• Pushing a configuration profile that enforced USB restriction and password policy on the enrolled device</p><p>• Gating access to cloud apps based on device compliance through Conditional Access in report only mode</p><p>This is the kind of work a Systems Administrator or IT Support Engineer with Microsoft 365 responsibilities deals with regularly. Rather than only reading about Intune, I built the environment myself and worked through the failures as they came up.</p><h3>Architecture Overview</h3><p>Before going through the steps, it helps to understand the four components involved and how they connect to each other.</p><p>Microsoft 365 tenant: This is the cloud directory that holds user accounts, licences, and the Entra ID identity layer. Every device and user in this lab lives inside a single tenant.</p><p>Microsoft Entra ID: This is the identity and device registration layer. When a device adds a work account, Entra ID is what records that device as belonging to the organisation. Entra ID also hosts Conditional Access.</p><p>Microsoft Intune: This is the device management layer. Intune does not register devices itself, it relies on Entra ID to hand it devices through a setting called MDM user scope. Once a device is handed over, Intune evaluates compliance policies against it and pushes configuration profiles to it.</p><p>Conditional Access: This sits inside Entra ID and ties identity and device compliance together. A Conditional Access policy can require a device to be marked compliant by Intune before it is allowed to sign in to company apps.</p><p>The data flow looks like this:</p><p><em>Device registers with Entra ID &gt; MDM user scope hands the device to Intune &gt; Intune evaluates compliance policy &gt; Conditional Access checks compliance state before granting access</em></p><p>Tools and technologies used:</p><p>• Microsoft 365 Business Premium (trial tenant)</p><p>• Microsoft Intune admin center</p><p>• Microsoft Entra admin center</p><p>• Windows 11 (VirtualBox VM)</p><h3>Environment Setup</h3><h3>Prerequisites</h3><p>To follow along you will need:</p><p>• A Microsoft 365 Business Premium trial (includes Intune licensing by default)</p><p>• A Windows 10 or 11 device or VM to enrol</p><p>• Internet access from both the tenant and the device</p><p>I used a Windows 11 VM running in VirtualBox as the device to enrol. I deliberately avoided the Microsoft 365 Developer Program for this build, since Microsoft has tightened eligibility checks on that program significantly and a large number of personal accounts are rejected with no appeal path. Business Premium trials are aimed at real small businesses and in practice are far easier to get approved for, while still including full Intune licensing.</p><h3>Step 1: Provision the tenant and create test users</h3><p>Sign up for the Microsoft 365 Business Premium trial at microsoft.com. Once provisioned, the Microsoft 365 admin center shows the new tenant and a default domain in the format yourname.onmicrosoft.com.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*kHUMgEhbV-nJDKlg6K_-pg.png" /><figcaption><em>Welcome screen after provisioning the Microsoft 365 Business Premium trial</em></figcaption></figure><p>Create a small number of test user accounts and assign each one a Business Premium licence, since Intune device management requires a licensed user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*bil06TiZKls_GZxPmZbksA.png" /><figcaption><em>Adding test users during the Microsoft 365 setup wizard, with Business Premium licences assigned automatically</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*hziulFlyYGJIji7zEwDXtw.png" /><figcaption><em>Setup wizard confirming the tenant is ready to use</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*lG9tLKCTkDT6PevdxmhOUA.png" /><figcaption><em>Microsoft 365 admin center confirming all test users created with Business Premium licences assigned</em></figcaption></figure><h3>Step 2: Choose an enrollment method</h3><p>There is more than one way to get a Windows device into Intune, and the right one depends on the device’s history:</p><p>• Microsoft Entra Join: full device join, available from Settings, or during the very first out of box setup screen on a clean device</p><p>• Add a work or school account: a lighter registration tying a device to a work account without a full Entra join, commonly used for BYOD style enrollment</p><p>• Company Portal app: explicitly triggers MDM enrollment through the app rather than relying on registration to trigger it indirectly</p><p>My VM already had an established local account, which is the exact situation where Windows hides the Entra Join option from Settings. Rather than resetting the VM, I used the second method, adding a work account directly through Settings &gt; Accounts &gt; Access work or school &gt; Connect.</p><h3>Step 2: Reset the test user’s password before first sign in</h3><p>Test users created through the setup wizard are issued a temporary password and flagged to change it on first sign in. Before a device can register a work account, that first sign in and password change has to happen, so I reset Curtis Jones’s password from the Microsoft 365 admin center and walked through that flow first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*knrAKUKgSA29BNaF9J3Ylg.png" /><figcaption><em>Resetting a test user’s password from the Microsoft 365 admin center, with the option to require a password change on first sign in</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*ETjGXHcOXn3IwXwipPb4Jw.png" /><figcaption><em>Confirmation that the password has been reset, with the temporary password available to copy</em></figcaption></figure><p>Signing in with that temporary password for the first time, the account correctly prompted for a permanent password before allowing access, and signing into Outlook afterwards confirmed the account was fully active.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*3r4j2u5npLVQLHl5OMJeiA.png" /><figcaption><em>Signing in with the temporary password generated by the reset</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*YxSSclm9IfWNvYRvhXdOZQ.png" /><figcaption><em>First sign in forcing a permanent password change before continuing</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*VEr6l2y4VGjeuqCQ_PiSAg.png" /><figcaption><em>Confirming the test user account is fully active by signing into Outlook</em></figcaption></figure><h3>Step 3: Enrol the device</h3><p>On the test VM, go to Settings &gt; Accounts &gt; Access work or school &gt; Connect, then sign in with one of the licensed test users. Windows confirms the account has been added and the device now has access to the organisation’s apps and services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*uu6YIUE10lDZknGlGHJ_oA.png" /><figcaption><em>Accounts settings showing Access work or school as the entry point for enrollment</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*_IBwLvVS1aWhkQkOgDlcpA.png" /><figcaption><em>Adding a work or school account from Settings &gt; Accounts &gt; Access work or school</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*QJkWgLXTRShQdhLCq9GJbg.png" /><figcaption><em>Signing in with a licensed test user to register the device</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*CjE-4cBnsdVCQfxen814AA.png" /><figcaption><em>Confirmation that the work account has been added to the device</em></figcaption></figure><h3>The Enrollment That Did Not Enrol</h3><p>After adding the work account, I checked Microsoft Entra ID under Devices and confirmed the device had registered. The Devices overview, however, showed it under an Unmanaged devices alert rather than as an Intune managed device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*6FpTodk5-_-7HcMKlg8dsg.png" /><figcaption><em>Settings confirming the work account was added, before Intune management had taken effect</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*kxygU8l6kOZ-kESJSsNkHw.png" /><figcaption><em>Microsoft Entra ID Devices overview showing 1 device registered but flagged under Unmanaged devices</em></figcaption></figure><p>This is a more common problem than most walkthroughs let on, and tracking it down taught me more than if the enrollment had simply worked first time.</p><h3>Diagnosing the cause</h3><p>The setting responsible is MDM user scope, found in the Entra admin center under Devices &gt; Mobility (MDM and WIP) &gt; Microsoft Intune. This setting controls which users trigger automatic Intune enrollment when they register a device. It was set to None, so Entra was registering the device but never instructing Intune to take ownership of it.</p><h3>Step 4: Fix the MDM user scope</h3><p>In the Entra admin center, navigate to Devices &gt; Mobility (MDM and WIP) &gt; Microsoft Intune, change MDM user scope from None to All, and save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*cvvAXBtUvA1L0-S98co32w.png" /><figcaption><em>MDM user scope set to All in the Microsoft Intune mobility settings within Entra ID</em></figcaption></figure><p>Changing the scope alone is not enough for an already registered device to pick it up automatically. On the test VM, go back to Settings &gt; Accounts &gt; Access work or school, disconnect the existing work account, then reconnect it to force a fresh registration handshake under the new scope.</p><p>Within a few minutes the device showed as managed by the tenant under Settings &gt; Accounts &gt; Access work or school, with an Info screen confirming the management server address and an active Security policy already applied. Checking the Microsoft Intune admin center under Devices confirmed the device count had moved from 0 to 1, listed under the Windows platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*2vh5kfzpKqX_r9ujWcuyug.png" /><figcaption><em>Settings now showing the device as Managed by Bright Sunshine, confirming successful Intune enrollment</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*t5W6IRgX1PPjzuPQtxqkAg.png" /><figcaption><em>Device successfully enrolled and listed under the Windows platform in Intune</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*OHsCWuCwPXKMKnpec34jgA.png" /><figcaption><em>Intune home dashboard confirming healthy service status and zero configuration or compliance errors at the tenant level</em></figcaption></figure><p><strong>Lesson learned: registering a device with Entra ID and enrolling it into Intune are two separate steps. The MDM user scope setting is the bridge between them, and it is easy to miss because the device still appears to register successfully without it.</strong></p><h3>Building the Compliance Policy</h3><h3>Step 5: Create a Windows compliance policy</h3><p>In the Intune admin center, go to Devices &gt; Compliance &gt; Create policy, select platform Windows 10 and later, and profile type Windows 10/11 compliance policy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*3YlezhYpBgjflwWAiS_elg.png" /><figcaption><em>Creating a new Windows 10/11 compliance policy in the Intune admin center</em></figcaption></figure><p>Under Device Health, I set:</p><p>• BitLocker: Require</p><p>• Secure Boot: Require</p><p>• Code integrity: Require</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*eKRf10wIOHYUpyUJJLPMcQ.png" /><figcaption><em>Device Health and Device Properties settings within the compliance policy</em></figcaption></figure><p>Under Device Properties:</p><p>• Minimum OS version: 10.0.22000</p><p>Under System Security:</p><p>• Minimum password length: 8</p><p>• Maximum minutes of inactivity before password is required: 15</p><p>• Password expiration: 41 days</p><p>• Number of previous passwords to prevent reuse: 5</p><p>• Require encryption of data storage on device: Require</p><p>• Firewall, Antivirus, Antispyware, and Microsoft Defender Antimalware: Require</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*vYQpMvJlLfUdVDo8V083wA.png" /><figcaption><em>System Security settings covering password policy, encryption, and device security requirements</em></figcaption></figure><p>On the Assignments step, I assigned the policy to All devices so it would apply immediately to the enrolled test VM.</p><h3>Step 6: Force a sync and review the result</h3><p>On the test VM, go to Settings &gt; Accounts &gt; Access work or school, open the account’s Info screen, and click Sync to force an immediate check in. After a short wait, the device showed up in Intune under Devices &gt; All devices with a Compliance status of Noncompliant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*U0JmuiwASdcUs3uQui8lCw.png" /><figcaption><em>Endpoint security All devices view confirming WIN11 is managed by Intune with a Noncompliant status</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*NDv_70NfCdSrx2u8F-H-VQ.png" /><figcaption><em>Device showing as Noncompliant after the first policy evaluation</em></figcaption></figure><h3>Diagnosing a Real Compliance Error</h3><p>Clicking into the device and then into Device compliance showed the policy state as Error rather than a straightforward fail. Drilling further into the per setting breakdown under the policy name showed 8 of 9 checks passing cleanly:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*MjFm9ke2db6fbhmqC3Qmfg.png" /><figcaption><em>WIN11 device compliance view showing the Lab Compliance Policy in an Error state</em></figcaption></figure><p>• BitLocker: Compliant</p><p>• Code Integrity: Compliant</p><p>• Minimum OS version: Compliant</p><p>• Minimum password length: Compliant</p><p>• Maximum minutes of inactivity before password is required: Compliant</p><p>• Require a password to unlock mobile devices: Compliant</p><p>• Secure Boot: Compliant</p><p>• Encryption of data storage on device: Error, 2016281112 (Remediation failed)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*J1oaCDTFgDA-c9QjhcvJOw.png" /><figcaption><em>Per setting compliance breakdown showing the single Error against eight Compliant results</em></figcaption></figure><p>The cause traces back to how BitLocker compliance is actually verified. Intune checks BitLocker through the Microsoft Attestation Service, which depends on a TPM chip on the device. My VM does not have a virtual TPM enabled, so the attestation check cannot complete at all. The device is not simply failing the check, it cannot return a result for it, which is why Intune surfaces it as an Error rather than a plain Noncompliant.</p><p><strong>In a production environment the fix is either enabling virtual TPM on the VM, or scoping the encryption requirement to physical devices only using a filter, rather than applying it uniformly across every device type in the estate. Understanding the distinction between Error and Noncompliant only becomes obvious once you have run a policy against a real device with a real hardware limitation.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*bKx9ZkFeTcshwZzROOJwbQ.png" /><figcaption><em>Settings confirming the device is managed by the tenant with an active Security policy and a live management server connection</em></figcaption></figure><h3>Configuration Profiles: Pushing Settings, Not Just Reporting On Them</h3><p>A compliance policy only reports state. A configuration profile actually changes it.</p><h3>Step 7: Create a device restrictions profile</h3><p>In the Intune admin center, go to Devices &gt; Configuration &gt; Create &gt; New policy, select platform Windows 10 and later, template Device restrictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*_XZKj55Zo7U3Rwe6ZC6enA.png" /><figcaption><em>Selecting the Device restrictions template when creating a new configuration profile</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*XEXD4zFTYT755loOgNU2AQ.png" /><figcaption><em>Naming the configuration profile and confirming platform and profile type</em></figcaption></figure><p>I configured:</p><p>• Password: require a password, minimum length 8, block simple passwords</p><p>• Locked screen experience: block Cortana and toast notifications on the lock screen</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*F7WtuR_A74xqgqGJTSPaDQ.png" /><figcaption><em>Locked screen experience and Password settings within the device restrictions profile</em></figcaption></figure><p>• App store: blocked</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*MVMRGnZv2SJ29jL1dWZifw.png" /><figcaption><em>App Store configuration settings within the device restrictions profile</em></figcaption></figure><p>• Microsoft account: blocked, forcing work account only</p><p>• USB connection: blocked</p><p>• Screen capture: blocked</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*RxaGxdaF34-luPhx7DOwSw.png" /><figcaption><em>Cloud and Storage and General settings, including the USB connection block and Microsoft account restriction</em></figcaption></figure><p>I named it Lab Configuration Profile and assigned it to All Devices.</p><h3>Step 8: Verify deployment</h3><p>After forcing another sync on the test VM, the Lab Configuration Profile’s device assignment status report under Devices &gt; Configuration confirmed a Succeeded state for the enrolled device. USB restriction was the easiest setting to verify directly, since plugging a USB device into the VM after the policy applied showed it blocked rather than mounted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*7ktmD_GFHH1DjN4n7mjjsg.png" /><figcaption><em>Lab Configuration Profile properties showing the assignment to All Devices and the device and user check in status report</em></figcaption></figure><h3>Tying It Together With Conditional Access</h3><p>Compliance policies and configuration profiles operate at the device level. Conditional Access is what connects device compliance back to actual access control over the organisation’s apps and data.</p><h3>Step 9: Disable Security Defaults</h3><p>Microsoft 365 Business Premium tenants ship with Security Defaults enabled by default, a baseline protection layer that conflicts with custom Conditional Access policies. In the Entra admin center, go to the Conditional Access overview and disable Security Defaults before creating a custom policy.</p><h3>Step 10: Create the Conditional Access policy</h3><p>In the Entra admin center, go to Protection &gt; Conditional Access &gt; New policy, and configure:</p><p>• Users: specific test users included</p><p>• Target resources: all cloud apps</p><p>• Conditions: device platform Windows</p><p>• Grant: grant access, with Require device to be marked as compliant checked</p><p>• Enable policy: Report only</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*7gqb7NFBYErLwM7mx20idA.png" /><figcaption><em>Conditional Access policy configured with user, resource, condition, and grant control assignments in report only mode</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*15aF4aQW-ECWHtpi6mrNXA.png" /><figcaption><em>Lab Conditional Access Policy listed alongside Microsoft managed policies in the Conditional Access overview</em></figcaption></figure><p>I left the policy in Report only mode rather than On, since this generates the same evaluation logs without risking locking myself out of the tenant while testing.</p><p><strong>This is the piece that makes compliance policies operationally meaningful. A device that fails compliance is not just flagged somewhere in a dashboard, it can be denied access to the organisation’s apps and data entirely once the policy moves out of report only mode.</strong></p><h3>Conclusion</h3><p>What started as a single test device added to a fresh Microsoft 365 tenant became a working demonstration of how Intune device management actually fits together end to end. The build covered the layers that make up modern endpoint management:</p><p>Identity and registration: Entra ID recording a device as belonging to the organisation, and the MDM user scope setting that decides whether Intune ever takes ownership of it.</p><p>Compliance: a 9 point Windows compliance policy evaluating real device state, including a genuine Error result traced back to a TPM hardware limitation rather than a simple policy failure.</p><p>Configuration: a device restrictions profile actively pushing settings to the device rather than just reporting on them, verified directly through USB restriction behaviour.</p><p>Access control: a Conditional Access policy tying device compliance to actual access decisions for the organisation’s cloud apps.</p><p>Together these four layers represent the difference between an organisation that simply owns a Microsoft 365 licence and one that actively manages and secures every device touching its data.</p><h3>What this looks like in a real enterprise environment</h3><p>In a production environment this build would extend across hundreds or thousands of devices rather than one test VM. Compliance policies would be split by device ownership, with stricter requirements for corporate owned hardware and lighter touch policies for BYOD devices. Configuration profiles would be layered by department, with finance and HR machines locked down further than general staff devices. Conditional Access would move out of report only mode entirely, and would typically be combined with sign in risk and location based conditions rather than device compliance alone.</p><p>The principles are identical. The scale and the consequences of getting it wrong are different.</p><h3>How to extend this lab</h3><p>There are two natural next steps from here for anyone who wants to go further.</p><p>The first is Windows Autopilot. Autopilot allows a brand new device to be shipped directly to an end user, enrol itself into Intune automatically on first boot, and apply the correct compliance and configuration profiles with zero manual setup. It builds directly on the MDM user scope and enrollment concepts covered in this article.</p><p>The second is extending device management to mobile and non Windows endpoints through a platform such as SOTI or Microsoft’s own mobile device management for iOS and Android. The underlying concepts, enrollment, compliance enforcement, and policy push, are the same as covered here, the platform specific detail is what changes.</p><h3>Final thoughts</h3><p>The most useful part of this lab was not the parts that worked first time, it was the enrollment failure and the compliance error. Both forced me to actually understand what Intune is doing underneath the admin console rather than clicking through a checklist. Understanding why a registered device is not automatically a managed device, and why an Error result is different from a Noncompliant one, is the kind of detail that only comes from running the policy against a real device and watching it fail.</p><p>A second article covers the other half of this lab, backup and disaster recovery testing using Veeam, including a deliberate failure simulation and a timed file level restore.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0ea9772c9e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a SOC-Lite Monitoring Stack: Real-Time Alerting with Prometheus, Grafana, and Alertmanager]]></title>
            <link>https://medium.com/@brightkakatech/building-a-soc-lite-monitoring-stack-real-time-alerting-with-prometheus-grafana-and-alertmanager-2bf3f79621c6?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bf3f79621c6</guid>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Mon, 15 Jun 2026 15:30:50 GMT</pubDate>
            <atom:updated>2026-06-15T17:00:18.092Z</atom:updated>
            <content:encoded><![CDATA[<p>How I built a production-style monitoring and alerting system that detects incidents and sends email alerts automatically</p><h3><strong>Introduction</strong></h3><p>In any production IT environment, the question is never whether something will go wrong, it is when. A server runs out of disk space, CPU spikes unexpectedly, or memory climbs until a critical service crashes. The difference between a team that catches these issues before users notice and a team that finds out from a support ticket is one thing: monitoring.</p><p>This article documents how I built a fully functional SOC-lite monitoring and alerting stack from scratch using open source tools; Prometheus, Grafana, Alertmanager, and Node Exporter, all deployed with Docker Compose on an Ubuntu Server virtual machine.</p><p>By the end of this build, the stack was capable of:</p><ul><li>Collecting real-time system metrics every 15 seconds</li><li>Visualising CPU, memory, disk, and network data on a live Grafana dashboard</li><li>Evaluating alert rules and detecting threshold breaches automatically</li><li>Sending email notifications the moment an incident is detected</li><li>Sending a resolution email when the system recovers</li></ul><p>This is the kind of infrastructure a NOC engineer or systems administrator interacts with daily. Rather than just consuming alerts, I built the system that generates them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pRhWERLTe1vlynmXFCpLLQ.jpeg" /><figcaption>Grafana Dashboard</figcaption></figure><h3><strong>Architecture Overview</strong></h3><p>Before touching a single command, it helps to understand what we are building and how the components talk to each other. This stack has four moving parts, each with a distinct role.</p><p><strong>Node-Exporter: </strong>Node-Exporter<strong> </strong>runs on the Linux machine being monitored. It reads system-level data; CPU usage, memory consumption, disk space, network traffic and exposes it as metrics on port 9100. It does not store anything or make any decisions. It simply makes the data available for collection.</p><p><strong>Prometheus: </strong>Prometheus<strong> </strong>is the brain of the stack. Every 15 seconds it reaches out to Node Exporter, scrapes the latest metrics, and stores them in its internal time-series database. Beyond collection, Prometheus continuously evaluates alert rules, conditions you define, such as “CPU has been above 80% for more than one minute.” When a condition is met, Prometheus hands the alert off to Alertmanager. Prometheus is accessible on port 9090.</p><p><strong>Alertmanager: </strong>Alertmanager is the notification engine. It receives alerts from Prometheus and decides what to do with them, who to notify, through which channel, and how often. In this build, Alertmanager is configured to send email notifications via Gmail SMTP whenever an alert fires, and a follow-up resolution email when the system recovers. Alertmanager runs on port 9093.</p><p><strong>Grafana: </strong>Grafana<strong> </strong>is the face of the stack. It connects to Prometheus, queries the stored metrics, and renders them as visual dashboards, graphs, gauges, and charts that give you an immediate picture of system health. Grafana does not collect or store metrics itself. It purely visualises what Prometheus has already gathered. Grafana runs on port 3000.</p><p>The data flow looks like this:<br><em>Node Exporter collects → Prometheus scrapes and evaluates → Grafana visualises → Alertmanager notifies</em></p><p>All four components run as Docker containers on a single Ubuntu Server virtual machine, orchestrated by a single Docker Compose file. This means the entire stack can be brought up with one command and torn down just as easily.</p><p><strong>Tools and technologies used:</strong></p><ul><li>Ubuntu Server 26.04 LTS</li><li>Docker and Docker Compose</li><li>Prometheus</li><li>Grafana</li><li>Alertmanager</li><li>Node Exporter</li><li>Gmail SMTP for email alerts</li></ul><h3><strong>Environment Setup</strong></h3><p><strong>Prerequisites</strong></p><p>To follow along you will need:</p><ul><li>A machine or virtual machine running Ubuntu Server 26.04 LTS</li><li>At least 2GB RAM and 20GB disk space</li><li>Internet access to pull Docker images</li></ul><p>In this build I ran Ubuntu Server as a VirtualBox VM with 2GB RAM and 24GB disk, with the network adapter set to Bridged so it could communicate with other devices on the same local network.</p><p>Step 1: Update the system<br>Once Ubuntu is installed and you are logged in, update all packages:</p><pre><br>sudo apt update &amp;&amp; sudo apt upgrade -y</pre><p><strong>Step 2: Install Docker</strong></p><pre>sudo apt install docker.io docker-compose -y</pre><p>Add your user to the Docker group so you can run Docker commands without sudo every time</p><pre>sudo usermod -aG docker $USER<br>newgrp docker</pre><p>Verify Docker installed correctly:</p><pre>docker — — version</pre><p>You should see output similar to</p><pre>Docker version 29.1.3, build 29.1.3–0ubuntu4.1</pre><p>Step 3: Set a static IP address<br>By default Ubuntu receives a dynamic IP from DHCP which can change on reboot. Since we will be accessing Grafana, Prometheus, and Alertmanager by IP address from a browser, we need the IP to stay fixed.</p><p>Check your current IP and network interface name</p><pre>ip a</pre><p>Note your IP address and interface name, in this build it was 192.168.8.132 on interface enp0s3. Then open the netplan config:</p><pre>sudo nano /etc/netplan/50-cloud-init.yaml</pre><p>Replace the contents with the following, substituting your own IP and gateway:</p><pre>network:<br> version: 2<br> ethernets:<br> enp0s3:<br> dhcp4: no<br> addresses:<br> — 192.168.8.132/24<br> routes:<br> — to: default<br> via: 192.168.8.1<br> nameservers:<br> addresses: [8.8.8.8, 8.8.4.4]</pre><p>Apply the changes:</p><pre>sudo netplan apply</pre><p><strong>Step 4: Create the project folder structure</strong></p><pre>mkdir -p ~/monitoring/{prometheus,grafana,alertmanager} cd ~/monitoring</pre><p><strong>Step 5: Create the Docker Compose file<br></strong>This single file defines all four containers and how they connect to each other:</p><pre>nano ~/monitoring/docker-compose.yml</pre><p>Write the following:</p><pre>services:<br> prometheus:<br> image: prom/prometheus<br> container_name: prometheus<br> ports:<br> — “9090:9090”<br> volumes:<br> — ./prometheus:/etc/prometheus<br> command:<br> — ‘ — config.file=/etc/prometheus/prometheus.yml’<br> restart: unless-stopped</pre><pre>grafana:<br> image: grafana/grafana<br> container_name: grafana<br> ports:<br> — “3000:3000”<br> volumes:<br> — grafana-data:/var/lib/grafana<br> restart: unless-stopped</pre><pre>alertmanager:<br> image: prom/alertmanager<br> container_name: alertmanager<br> ports:<br> — “9093:9093”<br> volumes:<br> — ./alertmanager:/etc/alertmanager<br> restart: unless-stopped</pre><pre>node-exporter:<br> image: prom/node-exporter<br> container_name: node-exporter<br> ports:<br> — “9100:9100”<br> restart: unless-stopped</pre><pre>volumes:<br> grafana-data:</pre><p><em>Each service definition tells Docker which image to pull, which ports to expose, and where to mount configuration files from the host machine. The restart: unless-stopped directive ensures containers come back up automatically after a reboot. Save with Ctrl+X, then Y, then Enter.</em></p><h3><strong>Configuring Prometheus</strong></h3><p>Prometheus needs two configuration files; one that tells it what to scrape and where to send alerts, and one that defines the alert rules themselves.</p><p>Step 6: Create the Prometheus configuration file</p><pre>nano ~/monitoring/prometheus/prometheus.yml</pre><pre>global:<br> scrape_interval: 15s</pre><pre>alerting:<br> alertmanagers:<br>static_configs:<br>targets:<br>alertmanager:9093</pre><pre>rule_files:<br>“alert_rules.yml”</pre><pre>scrape_configs:<br>job_name: ‘prometheus’<br> static_configs:<br>targets: [‘localhost:9090’]</pre><pre>job_name: ‘node-exporter’<br> static_configs:<br>targets: [‘node-exporter:9100’]</pre><p>Let’s break down what each section does:</p><p><strong>global: </strong>global<strong> </strong>sets the default scrape interval to 15 seconds. Every 15 seconds Prometheus reaches out to each target and collects the latest metrics.</p><p><strong>alerting: </strong>alerting tells Prometheus where to send alerts when a rule is breached. Here it points to the Alertmanager container on port 9093. Notice we use the container name <em>alertmanager</em> rather than an IP address, Docker&#39;s internal network resolves container names automatically.</p><p><strong>rule_files: </strong>rule_files<strong> </strong>tells Prometheus to load alert rules from <em>alert_rules.yml</em>. We will create this file next.</p><p><strong>scrape_configs: </strong>scrape_configs<strong> </strong>defines the two targets Prometheus will scrape:</p><ul><li>prometheus: Prometheus scrapes itself so you can monitor the monitoring system</li><li>node-exporter: node-exporter scrapes the Node Exporter container which exposes all Linux system metrics</li></ul><p>Save with <strong>Ctrl+X</strong>, then <strong>Y</strong>, then <strong>Enter</strong>.</p><p>Step 7: Create the alert rules file</p><pre>nano ~/monitoring/prometheus/alert_rules.yml</pre><pre>groups:<br> name: system_alerts<br> rules:<br> alert: HighCPUUsage<br> expr: 100(avg(rate(node_cpu_seconds_total{mode=”idle”}[2m])) * 100) &gt; 80<br> for: 1m<br> labels:<br> severity: warning<br> annotations:<br> summary: “High CPU usage detected”<br> description: “CPU usage is above 80%”</pre><pre>- alert: HighMemoryUsage<br> expr: (1 — (node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes)) * 100 &gt; 85<br> for: 1m<br> labels:<br> severity: warning<br> annotations:<br> summary: “High memory usage detected”<br> description: “Memory usage is above 85%”</pre><pre>alert: LowDiskSpace<br> expr: (node_filesystem_avail_bytes{mountpoint=”/”} / node_filesystem_size_bytes{mountpoint=”/”}) * 100 &lt; 20<br> for: 1m<br> labels:<br> severity: critical<br> annotations:<br> summary: “Low disk space”<br> description: “Disk space below 20%”</pre><p>Here is what each alert rule does:</p><p><strong>HighCPUUsage: </strong>HighCPUUsage<strong> </strong>calculates the percentage of time the CPU is NOT idle, which gives us the actual CPU usage. If this value exceeds 80% for a continuous period of one minute, the alert fires with a severity of warning. The <em>for: 1m</em> clause prevents false positives from brief CPU spikes.</p><p><strong>HighMemoryUsage: </strong>HighMemoryUsage<strong> </strong>calculates memory usage as a percentage by comparing available memory to total memory. If memory usage exceeds 85% for one minute, the alert fires. This is particularly important for catching memory leaks before they cause service outages.</p><p><strong>LowDiskSpace: </strong>LowDiskSpace<strong> </strong>calculates the percentage of free disk space on the root filesystem. If free space drops below 20%, the alert fires with a severity of critical. Disk exhaustion is one of the most common causes of production outages and is completely preventable with proper monitoring.</p><p>Each rule follows the same structure:</p><ul><li>expr: The PromQL expression that evaluates to true or false</li><li>For: how long the condition must be true before the alert fires</li><li>Labels: metadata attached to the alert, including severity</li><li>Annotation: human-readable descriptions sent in the notification email</li></ul><p>Save with <strong>Ctrl+X</strong>, then <strong>Y</strong>, then <strong>Enter</strong>.</p><h3><strong>Setting Up Grafana</strong></h3><p>With Prometheus configured and the alert rules in place, the next step is to bring the entire stack up and connect Grafana to start visualising the metrics.</p><p>Step 8: Start the monitoring stack</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jDcHdbsotp1DdQSdrZHt0g.png" /><figcaption>starting all four containers:</figcaption></figure><p>Docker pulls the images on first run and starts all four containers simultaneously. Once up, navigating to <a href="http://your_server_ip:3000/"><em>http://YOUR_SERVER_IP:3000</em></a> opens the Grafana login page. The default credentials are admin and admin, Grafana immediately prompts you to change the password on first login.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hFCej1YpM9aHSrn_YfvUrg.png" /><figcaption>Grafana login page</figcaption></figure><p><strong>Connecting Prometheus as a data source</strong></p><p>Grafana on its own displays nothing. It needs to know where to pull its data from. Under Connections, go to Data sources, adding a new Prometheus data source and pointing the URL to <a href="http://prometheus:9090/">http://prometheus:9090</a> is all that is needed. Notice we use the container name rather than an IP address — Docker&#39;s internal network resolves container names automatically, so the containers can always find each other regardless of what IP the host machine is on. Clicking Save &amp; test confirms the connection with a green success message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j54hDZ-_k91P5Rivsv5axg.jpeg" /><figcaption>Configuring prometheus into grafana</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*waF0Lk6YfSxXaUp9kuNNVg.jpeg" /><figcaption>Successfully queried the Prometheus API.</figcaption></figure><p><strong>Importing the Node Exporter dashboard<br></strong>Rather than building a dashboard from scratch, Grafana’s community dashboard library has thousands of pre-built options. Dashboard ID 1860, Node Exporter Full is the most widely used Linux monitoring dashboard in existence. Importing it takes seconds: Dashboards → New → Import → enter 1860 → Import.</p><p>The result is an immediately populated dashboard showing:</p><ul><li>CPU usage broken down by user, system, idle, and wait states</li><li>Memory usage: total, used, cached, and swap</li><li>Disk space usage per filesystem</li><li>Network traffic: inbound and outbound bandwidth</li><li>System load averages and uptime</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pRhWERLTe1vlynmXFCpLLQ.jpeg" /><figcaption>Node Exporter dashboard in Grafana</figcaption></figure><p>This is what a NOC engineer sees when they walk into a shift. A single screen that tells them immediately whether every system under their watch is healthy or under stress. The dashboard refreshes automatically every minute and can be set to any interval depending on how closely the environment needs to be watched.</p><p>Verifying Prometheus targets:<br>Confirming that Prometheus is successfully scraping both targets. Navigating to “<a href="http://your_server_ip:9090/targets">http://YOUR_SERVER_IP:9090/targets</a>” shows the status of every scrape target. Both prometheus and node-exporter should show a state of UP with a timestamp of the last successful scrape. This confirms the data pipeline is working end to end before we layer alerting on top of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZqzkztUmTWnjbPO3suzV4Q.png" /><figcaption>Both scrape targets: Prometheus and Node Exporter; confirmed UP with successful scrape timestamps</figcaption></figure><p><strong>Configuring Alertmanager<br></strong>A monitoring stack that only displays metrics is useful. One that actively notifies you when something goes wrong is essential. This is where Alertmanager comes in.<br>Alertmanager receives alerts from Prometheus and handles everything that happens next, who gets notified, through which channel, how often, and whether to group related alerts together to avoid notification floods. In a real enterprise environment it would be connected to PagerDuty for on-call escalation, Slack for team-wide visibility, and email for formal incident records. In this build we configure it to send email notifications via Gmail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Krq35BV0rdoO61qHW9ytQA.jpeg" /><figcaption>Alertmanager UI at port 9093</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rSP85jJYLN0KmAYiqqNGSg.jpeg" /><figcaption>Alertmanager settings for email alerts</figcaption></figure><p>The configuration has three sections worth understanding:<br><strong>global: </strong>sets the SMTP connection details for Gmail. The <em>smtp_smarthost </em>points to Gmail&#39;s outgoing mail server on port 587 which uses TLS encryption. The smtp_auth_password is not your Gmail account password, it is a dedicated App Password generated from your Google account security settings. This is an important distinction. App Passwords give Alertmanager permission to send email on your behalf without exposing your main account credentials.</p><p><strong>route: </strong>defines how alerts are handled once they arrive. The <em>group_by </em>setting groups alerts with the same name together so you don&#39;t receive 50 separate emails for the same issue. <em>group_wait </em>of 30 seconds gives Prometheus time to collect related alerts before sending a single grouped notification. <em>repeat_interval </em>of 1 hour means if an alert is still firing, Alertmanager will send a reminder every hour rather than continuously flooding your inbox.</p><p><strong>receivers: </strong>defines where notifications go. Here we have a single receiver called <em>email-alert </em>that sends to a Gmail address. The <em>send_resolved: true </em>setting is particularly valuable, it means when the system recovers and the alert clears, Alertmanager automatically sends a resolution email confirming the incident is over. This closes the loop on every incident automatically.</p><p><strong>Gmail App Password setup<br></strong>To use Gmail as your SMTP server you need to generate an App Password rather than using your regular Gmail password. This requires two-step verification to be enabled on your Google account. Once enabled, go to your Google account security settings, search for App Passwords, create one named Alertmanager, and use the generated 16-character password in the configuration above.</p><p><strong>How the full alert pipeline works<br></strong>Once everything is configured the alert lifecycle works like this. Prometheus scrapes metrics from Node Exporter every 15 seconds and evaluates the alert rules on each cycle. When a rule condition becomes true, say CPU exceeds 80%, the alert moves to a PENDING state. If the condition remains true for the full <em>for: 1m </em>duration, the alert transitions to FIRING and Prometheus sends it to Alertmanager. Alertmanager waits 30 seconds to group any related alerts, then dispatches the email notification. When the CPU drops back below 80% and stays there, Prometheus marks the alert as resolved and Alertmanager sends the resolution email.</p><p>The entire process from threshold breach to email in your inbox takes under two minutes.</p><h3><strong>Simulating an Incident</strong></h3><p>A monitoring stack is only as good as what it does when something actually goes wrong. Rather than waiting for a real incident, we can simulate one to prove the entire pipeline works end to end, from threshold breach to email in the inbox.</p><p><strong>Triggering the alert<br></strong>To guarantee the CPU alert fires, the threshold in the alert rules file is temporarily lowered from 80% to 10%. This means any normal system activity is enough to trigger it without needing to artificially stress the CPU. After restarting Prometheus to pick up the new rule, the alert moves almost immediately to a PENDING state in the Prometheus alerts page at <a href="http://your_server_ip:9090/alerts."><em>http://YOUR_SERVER_IP:9090/alerts.</em></a><em><br></em>PENDING means the condition has been breached but the one minute confirmation window has not yet elapsed. This is Prometheus being deliberate; it will not fire an alert based on a single data point. After 60 seconds of sustained breach, the alert transitions to FIRING.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kg2efsU0wBRspevnlgeaOQ.jpeg" /><figcaption>PENDING state of Prometheus after spike</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u2urQfoCyBXHrMc6zH0TEg.jpeg" /><figcaption>Prometheus firing red after spike</figcaption></figure><p><strong>The Grafana view during the incident<br></strong>While the alert is firing, the Grafana dashboard tells the same story visually. The CPU Basic graph shows a clear spike in activity, with the busy system and busy user metrics climbing sharply. This is exactly the view a NOC engineer would pull up after receiving an alert, the dashboard gives immediate context about when the spike started, how severe it is, and whether it is still climbing or beginning to recover.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jizyK1pbDhzxGasxa1Gc4g.jpeg" /><figcaption>Grafana CPU spike</figcaption></figure><p><strong>The email notification<br></strong>Within two minutes of the alert firing, Alertmanager delivers an email notification to the configured Gmail address. The email arrives with the subject line: “<strong>[FIRING:1] HighCPUUsage (warning)”<br></strong>Inside the email, the alert details are clearly laid out; the alert name, severity level, a description of the condition that triggered it, and a timestamp of when it became active. There is also a direct link to view the alert in Alertmanager for deeper investigation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CkfJ_HxpQVKcczsKT218tg.jpeg" /><figcaption>Email notification during spike or firing</figcaption></figure><p>This is the moment the monitoring stack proves its value. No one had to check a dashboard. No user filed a support ticket. The system detected the problem and notified the right person automatically.</p><h3><strong>Resolution</strong></h3><p>After resetting the CPU threshold back to 80%, the system CPU usage drops well below the threshold and stays there. Prometheus marks the alert as resolved and notifies Alertmanager. Within minutes a second email arrives with the subject line: “<strong>[RESOLVED] HighCPUUsage (warning)”<br></strong>This closes the incident loop automatically. In a real environment this resolved notification is just as important as the firing one; it tells the on-call engineer they no longer need to act, and it creates a natural timestamp for how long the incident lasted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7dNP6uDlH2IFazVknD0-YA.jpeg" /><figcaption>Resolved email notification after spike</figcaption></figure><h3><strong>Conclusion</strong></h3><p>What started as four Docker containers on a Ubuntu Server virtual machine became a fully functional monitoring and alerting system capable of detecting infrastructure incidents and notifying an engineer automatically, without any manual intervention.<br>The stack we built covers the three pillars of observability that every production environment depends on:</p><p><strong>Metrics collection: </strong>Prometheus scraping real system data every 15 seconds, storing it, and making it available for both visualisation and alert evaluation.</p><p><strong>Visualisation: </strong>Grafana turning raw metrics into a live dashboard that gives an immediate picture of system health across CPU, memory, disk, and network in a single view.</p><p><strong>Alerting: </strong>Alertmanager routing alert notifications to the right place the moment a threshold is breached, and confirming resolution when the system recovers.</p><p>Together these three capabilities represent the difference between reactive IT operations; where problems are discovered after users complain and proactive IT operations; where the monitoring system finds problems before anyone notices.</p><h3><strong>What this looks like in a real enterprise environment</strong></h3><p>In a production environment this stack would be significantly extended. Instead of monitoring a single Linux VM, Prometheus would scrape metrics from dozens or hundreds of servers simultaneously; a mix of Linux systems via Node Exporter and Windows servers via Windows Exporter. Alertmanager would be connected to multiple notification channels, email for formal records, Slack or Microsoft Teams for team visibility, and PagerDuty or OpsGenie for on-call escalation with automatic escalation paths if the primary engineer does not acknowledge within a set timeframe.</p><p>Grafana would host multiple dashboards; one per environment, one per application, and a top-level NOC dashboard showing the health of the entire infrastructure at a glance. Alert rules would be far more granular, covering application-level metrics, database performance, API response times, and SSL certificate expiry alongside the infrastructure metrics we built here.</p><p>The principles are identical. The scale is different.</p><h3><strong>How to extend this stack</strong></h3><p>There are two natural next steps from here for anyone who wants to go further.<br>The first is adding “<strong>Loki”</strong> for log aggregation. Loki is Grafana’s log management tool and integrates directly into the same Grafana interface. With Loki added to the stack, you can correlate a CPU spike on the metrics dashboard with the exact log entries from that moment, giving you the full picture of what happened and why, not just that something went wrong.</p><p>The second is adding “<strong>Windows Exporter”</strong> to monitor Windows Server machines alongside Linux. Windows Exporter works the same way as Node Exporter but exposes Windows-specific metrics; CPU, memory, disk, network, Windows services, and event log entries. Adding it to the Prometheus scrape config brings Windows servers into the same Grafana dashboards and alert rules, creating a single pane of glass for mixed infrastructure environments.</p><h3><strong>Final thoughts</strong></h3><p>Building this stack was a deliberate exercise in thinking like an operations engineer rather than just using the tools one provides. Understanding why each component exists, how they communicate, and what happens at every stage of the alert pipeline is what makes the difference between someone who can follow a tutorial and someone who can design, build, and own a monitoring system in a production environment.</p><p>The full configuration files for this project are available on GitHub: <a href="https://github.com/Brightkakatech/soc-monitoring-stack">https://github.com/Brightkakatech/soc-monitoring-stack</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TZgOrLKeVBwODWSZcXiyeA.jpeg" /><figcaption>GitHub repository: soc-monitoring-stack with all configuration files and documentation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kUXwkOLWBZTDn5w73aOt6A.png" /><figcaption>README showing stack components, features, alert rules, and quick start guide</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bf3f79621c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Managing Enterprise IT Operations: A Technical Deep-Dive into ServiceNow, Jira, Zendesk and Active…]]></title>
            <link>https://medium.com/@brightkakatech/managing-enterprise-it-operations-a-technical-deep-dive-into-servicenow-jira-zendesk-and-active-c1f21c413318?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1f21c413318</guid>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Thu, 04 Jun 2026 00:52:44 GMT</pubDate>
            <atom:updated>2026-06-04T13:29:41.259Z</atom:updated>
            <content:encoded><![CDATA[<h3>Managing Enterprise IT Operations: A Technical Deep-Dive into ServiceNow, Jira, Zendesk and Active Directory</h3><p>A complete technical walkthrough of a production-grade ITSM environment, incident workflows, change management, user administration, and Group Policy deployment across four industry standard platforms.</p><p>There is a significant gap between knowing what ITSM tools are and understanding how they operate together inside a functioning IT department. This article closes that gap.</p><p>What follows is a detailed technical walkthrough of an enterprise IT Service Management environment I built from the ground up; covering architecture decisions, platform configuration, workflow design, and three production-grade incident scenarios executed end to end across ServiceNow, Jira, Zendesk, and Active Directory.</p><p>Every configuration described here mirrors the operational patterns you would find in the IT departments of banks, hospitals, government agencies, and enterprise technology companies. The scenarios are not hypothetical, they are documented, evidenced, and cross-referenced across all four platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LZ3N2uRLU91IvVergSRUHw.jpeg" /><figcaption>The completed sprint board showing all five infrastructure tasks resolved across Incident Management, Change Management, and routine operations, each cross-referenced with corresponding ServiceNow records.</figcaption></figure><h3><strong>Architecture Overview</strong></h3><p>The environment is built around four platforms, each serving a distinct operational function:</p><p><strong>ServiceNow (PDI: Zurich release)</strong> serves as the core ITSM platform. All incidents, change requests, service catalogue interactions, and knowledge articles are managed here. ServiceNow is the system of record; the authoritative source for everything that happens in IT operations.</p><p><strong>Jira Software (Scrum board)</strong> serves the infrastructure engineering team. While ServiceNow handles user-reported issues and formal change management, Jira is where the engineers plan and track their own technical work; patching schedules, investigations, deployments, and sprint-based workloads.</p><p><strong>Zendesk (Support Suite)</strong> serves as the end-user portal. It is the front door; the first point of contact when something goes wrong. Tickets raised in Zendesk feed into ServiceNow for formal incident logging. The two platforms are linked by cross-referencing ticket and incident numbers in both systems.</p><p><strong>Active Directory on Windows Server 2022</strong> (running in VirtualBox) provides the identity and access management layer. User accounts, security groups, and Group Policy Objects are all managed here. When a ServiceNow incident requires an account change or a change request requires a policy deployment, Active Directory is where the work actually happens.</p><p>The domain is <strong>corp.local</strong>. The simulated organisation is <strong>BRIGHT_IT</strong>.</p><h3>ServiceNow: Platform Configuration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7bwJYgk6HaoXmXeQEtdtMA.jpeg" /><figcaption>INC0010001 (account lockout: P2 High) and INC0010002 (print server outage : P1 Critical) both resolved within their respective SLA windows. The incident list serves as the operational log for all IT events within the environment.</figcaption></figure><h4>Incident Management and SLA Architecture</h4><p>Three SLA definitions were configured to reflect the tiered response model used across enterprise IT departments:</p><p><strong>P1 — Critical (1-hour resolution target)</strong> <br>Reserved for complete service outages affecting multiple users or entire business units. A P1 triggers immediate escalation, requires active work notes at regular intervals, and demands direct communication with affected stakeholders until resolution. Examples: network outage, authentication service down, core business application unavailable.</p><p><strong>P2 — High (4-hour resolution target)</strong> Significant degradation of service affecting multiple users or a high-priority individual. The incident is assigned to L1 Helpdesk with a defined escalation path to L2 Infrastructure if not resolved within two hours. Examples: departmental printer offline, email client not synchronising, VPN authentication failure.</p><p><strong>P3 — Medium (24-hour resolution target)</strong> Single-user impact or non-critical service degradation. Standard helpdesk handling with no immediate escalation requirement. Examples: software installation request, single application error, peripheral not detected.</p><h4>Service Catalogue: Laptop Request Workflow</h4><p>The Service Catalogue in ServiceNow allows end users to submit structured service requests through a guided form, as opposed to unstructured incident tickets. I built a <strong>New Employee Laptop Request</strong> catalogue item with the following workflow architecture:</p><p>The form captures: Employee Full Name, Department, Start Date, and Laptop Model Preference. On submission, the system auto-generates an approval task assigned to the requester’s manager. The manager receives a notification and approves or rejects directly within ServiceNow. On approval, a fulfilment task is automatically created and assigned to the L2 Infrastructure group. The L2 team fulfils the request and closes the task — triggering automatic notification back to the original requester.</p><p>This is a direct implementation of the ITIL Service Request Management practice — structured, auditable, and fully automated once configured.</p><h3>Change Management: The Full ITIL Cycle</h3><p>The Change Management module was configured to enforce the Normal Change workflow; the process required for all planned changes to production systems. This is not simply a form to fill in. It is a governance mechanism that protects the organisation from unplanned risk.</p><p><strong>Request stage:</strong> The change is raised with full context, short description, category (Software), risk assessment (Low), impact assessment (Low), assignment group (Help Desk), implementation plan, and backout plan. Crucially, the backout plan is mandatory; if the change fails, engineers need a documented procedure to reverse it immediately.</p><p><strong>Assess and Authorize stages:</strong> The change enters the CAB (Change Advisory Board) review queue. No engineer proceeds with implementation until authorisation is granted. This is the control point. In production environments, a CAB typically meets weekly and reviews all scheduled changes. Unauthorised changes, sometimes called “unauthorised modifications” are a leading cause of major incidents.</p><p><strong>Implement stage:</strong> The engineer executes the implementation plan and records work notes at each step. This is the audit trail. If something goes wrong during or after implementation, these notes are the first thing reviewed.</p><p><strong>Review and Close stages:</strong> Post-implementation validation is performed, the change is reviewed for success or failure, and it is formally closed with a close code (Successful, Unsuccessful, or Cancelled) and detailed close notes.</p><h3>Jira: Infrastructure Sprint Management</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0OvNIQfNgsOKf7awn9DJnA.jpeg" /><figcaption>Sprint summary dashboard showing 5 work items completed across Task, Bug, and Incident issue types spanning security policy deployment, infrastructure investigation, patch management, network troubleshooting, and a live P1 incident response. All items resolved within the sprint window.</figcaption></figure><p>The Jira Scrum board was configured to serve the infrastructure engineering team, the group responsible for planned technical work rather than reactive incident response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*92jR7rOJrZLBjy65H-R7EQ.jpeg" /><figcaption>Jira Board, Sprint Underway. Three tasks sit in To Do (Deploy Screen Lock GPO — SCRUM-1, Patch Windows Server, SCRUM-8, Investigate Recurring VPN Drops — SCRUM-7) and one in In Progress (Review Firewall Rules SCRUM-2), with In Review and Done columns empty. The sprint is actively running.</figcaption></figure><h4>Board Configuration</h4><p>Five workflow columns reflect the full task lifecycle: Backlog, To Do, In Progress, In Review, Done.</p><p>Components were created to classify work by technical domain: Network, Security, End User Computing, Cloud, Applications. This allows the team to filter the board by domain and understand workload distribution at a glance; a standard practice in infrastructure teams.</p><h4>Sprint 1 Task Breakdown</h4><p>The first sprint contained five tasks, each with story points reflecting effort estimation:</p><p><strong>Deploy screen lock GPO (5 points):</strong> A full-day task. Required GPO creation, configuration, domain linking, testing, and ServiceNow change request closure. Directly linked to CHG0030002.</p><p><strong>Patch Windows Server (5 points):</strong> Standard patching cycle. Full day including pre-patch snapshot, patch application, service verification, and post-patch reporting.</p><p><strong>Review firewall rules (3 points):</strong> Half-day audit. Review of current rule set against security policy, documentation of findings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jXiP5ESalYtudLpBdhXfEA.jpeg" /><figcaption>Creating the “Review Firewall Rules” Task. The Create Task dialog shows the task being configured in the BRIGHT_IT Helpdesk SCRUM project, assigned to Bright Amalahu, with status defaulting to To Do.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZWk2ctBuLmqe3o-XNhCJig.jpeg" /><figcaption>Scheduling Details for “Review Firewall Rules.” A scrolled view of the Create Task form showing priority set to Medium, due date 16/06/2026, and start date 02/06/2026, demonstrating how sprint and date metadata is applied at task creation.</figcaption></figure><p><strong>Investigate recurring VPN drops (3 points):</strong> Logged as a Bug rather than a Task, indicating an existing defect in the environment rather than planned work. Half-day investigation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2_xbdlevXW6WN1j7WDVyWQ.jpeg" /><figcaption>Creating a Bug Work Item for “Investigate Recurring VPN Drops.” The work item is logged as a Bug rather than a Task, indicating an existing defect in the environment. Summary field populated, status set to To Do, and assignee left as Automatic.</figcaption></figure><p><strong>Investigate print server connectivity: INC0010002 (3 points):</strong> Added mid-sprint in response to a live P1 incident. Cross-referenced with ServiceNow INC0010002 via URL link in the issue description and comments. This demonstrates the real-world practice of creating Jira issues to track infrastructure investigations triggered by ServiceNow incidents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ym8pEyJF3Jhqi1MZC8NekA.jpeg" /><figcaption>SCRUM-9 Newly Created (INC0010002). The freshly created task “Investigate print server connectivity INC0010002” is shown in To Do status, unassigned, linked to SCRUM Sprint 0 with a due date of 5 Jun 2026. The ServiceNow reference in the description establishes the link to the originating incident.</figcaption></figure><h4>Cross-Platform Linking</h4><p>Every task in the sprint that corresponded to a ServiceNow record had the ServiceNow URL pasted in the Jira issue description. Conversely, the relevant Jira task ID was referenced in the ServiceNow work notes. This bidirectional cross-referencing is the standard operating procedure in organisations running both platforms, it ensures that any stakeholder in either system can navigate to the full context of the work.</p><h3>Zendesk: Support Portal Configuration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aJES19ByL4HnZxbVBkIRcQ.jpeg" /><figcaption>The BRIGHT_IT Help Centre self-service portal, three published articles under the Common IT Issues section covering the most frequently reported end-user requests: password resets, VPN connectivity, and software installation. The Help Centre is configured as the first line of deflection, enabling users to resolve routine issues independently before submitting a support ticket. Articles are surfaced automatically as suggested solutions when a matching ticket is submitted through the Zendesk portal.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b_CRb6HsXUxM_RddvQiATw.jpeg" /><figcaption>Create Task Dialog for INC0010002. The task title “Investigate print server connectivity INC0010002” is entered with a ServiceNow link in the description field, demonstrating cross-platform incident traceability between Jira and ServiceNow.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7QtNKqlgtAjjJMYtHn5iMg.jpeg" /><figcaption>Task Configuration Details for INC0010002. A scrolled view of the Create Task dialog showing priority set to Medium, due date 05/06/2026, and the task assigned to SCRUM Sprint 0. The warning banner confirms that adding this task will affect the active sprint’s scope, reflecting a real mid-sprint incident response.</figcaption></figure><h4>Custom Ticket Fields</h4><p>Three dropdown fields were added to the ticket submission form and exposed to end users with plain-language labels:</p><p><strong>Department</strong> (customer label: “Which department are you in?”) IT, Finance, HR, Operations. This field allows for automatic routing rules and reporting breakdowns by business unit.</p><p><strong>Operating System</strong> (customer label: “What computer or device are you using?”) Windows 10, Windows 11, Mac, Other. Critical for triage, an issue on a Mac may have a completely different resolution path than the same symptom on Windows.</p><p><strong>Urgency</strong> (customer label: “How urgent is your issue?”) Low, Medium, High, Critical. Combined with agent-assigned priority, this gives the team a complete picture of both the technical severity and the business impact from the user’s perspective.</p><h4>Macro Architecture</h4><p>Five macros were built to standardise the most frequent agent interactions:</p><p><strong>Password Reset Response:</strong> Sets ticket status to Pending, delivers standardised password reset instructions including the temporary password. Reduces resolution time for the most common helpdesk request to under 60 seconds.</p><p><strong>Escalate to L2:</strong> Assigns ticket to the L2 Infrastructure group, appends an internal note (invisible to the end user) documenting the escalation reason. Maintains the audit trail without confusing the requester with technical language.</p><p><strong>Ticket Resolved:</strong> Sets status to Solved, sends a standardised closure message to the requester with a five-day reply window. Professionally closes the interaction.</p><p><strong>Request More Information:</strong> Sets status to Pending, sends a structured information request to the requester. Prevents premature closure of tickets where investigation cannot begin without additional context.</p><p><strong>Software Installation Request:</strong> Sets status to Open, delivers an explanation of the software request and approval process. Sets correct expectations at the point of submission.</p><h4>Trigger and Automation Logic</h4><p><strong>Trigger: Auto-assign access issues:</strong> Condition: ticket subject contains “password” OR “locked”. <br>Actions: assign to L1 Helpdesk, apply tag “access-issue”</p><p>This trigger means that the most time-sensitive category of tickets, account lockouts and password resets, which directly prevent users from working — are automatically in the hands of the right team the moment they arrive, without any manual triage.</p><p><strong>Trigger: Confirmation email on ticket creation:</strong> Condition: ticket status is New Actions: send email to ticket requester with ticket reference number</p><p>In professional support operations, every requester receives an acknowledgement immediately. It prevents duplicate ticket submissions, reduces inbound calls asking “did you get my request?”, and sets expectations.</p><p><strong>Automation: SLA chase:</strong> Condition: ticket has been open for 4 hours with no agent reply Actions: email notification to assigned agent</p><p>This is an SLA enforcement mechanism. It ensures that no ticket sits unattended beyond the P2 response window without the assigned agent being proactively notified.</p><h3>Active Directory and Group Policy Administration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*12WqpzjzF9KjaSLe8lKIBA.jpeg" /><figcaption>The Screen_Lock_Policy GPO editor showing the complete navigation path to the security setting. Computer Configuration → Policies → Windows Settings → Security Settings → Local Policies → Security Options → Interactive logon: Machine inactivity limit. The policy is set to 300 seconds (5 minutes), meaning any domain-joined workstation left unattended for 5 minutes will automatically lock and require re-authentication. This setting was deployed via a formal Normal Change Request (CHG0030002) in ServiceNow, tracked as a Jira sprint task (SCRUM-1), and propagated across the corp.local domain using gpupdate /force. completing the full ITIL change management lifecycle from request through to verified implementation.</figcaption></figure><h4>Domain Architecture</h4><p>The corp.local domain was configured on Windows Server 2022 running as a VirtualBox virtual machine. The domain structure reflects a typical small to medium enterprise layout:</p><ul><li><strong>Employees OU:</strong> Contains departmental sub-OUs. HR sub-OU contains Grace Dunne and Jonathan Kelly.</li><li><strong>IT_Department OU:</strong> IT staff accounts and resources.</li><li><strong>Staff Computers OU:</strong> Domain-joined workstations.</li></ul><h4>Group Policy — Screen_Lock_Policy</h4><p><strong>Change reference:</strong> CHG0030002 (ServiceNow) <strong>Jira reference:</strong> SCRUM-1 (Deploy screen lock GPO)<br> The Screen_Lock_Policy GPO was created to enforce automatic workstation locking after a defined period of inactivity — a standard security control in any organisation handling sensitive data.</p><p><strong>Technical implementation:</strong></p><p>Group Policy Management was opened on the domain controller. A new GPO named Screen_Lock_Policy was created and linked directly to the corp.local domain root — ensuring application to all computers in all OUs within the domain.</p><p>The GPO editor was opened and the following navigation path was followed:</p><p>Computer Configuration → Policies → Windows Settings → Security Settings → Local Policies → Security Options → Interactive logon: Machine inactivity limit</p><p>The setting was enabled (Define this policy setting ticked) and the value set to <strong>300 seconds</strong> — equivalent to 5 minutes of inactivity before the workstation locks.</p><p>Group Policy propagation was forced immediately using ‘gpupdate /force’ on the domain controller.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C1a4IP2K8fmFBfVPx3skvA.jpeg" /><figcaption>Dual-pane confirmation of a successfully executed Group Policy deployment. Group Policy Management (background) showing the Screen_Lock_Policy GPO linked to the corp.local domain, and the Administrator Command Prompt (foreground) confirming propagation: “Computer Policy update has completed successfully. User Policy update has completed successfully.” The gpupdate /force command forces immediate Group Policy refresh across the domain without waiting for the standard background refresh interval, which in a production environment typically occurs every 90 minutes with a randomised 30-minute offset. This screenshot represents the final verification step of Change Request CHG0030002, the point at which the engineer confirms the change has been applied as intended, the domain controller has processed the updated policy, and the change can be formally closed in ServiceNow as Successful.</figcaption></figure><h3>Incident Case Studies — End-to-End Walkthroughs</h3><h4>INC0010001: Account Lockout (P2 High)</h4><p><strong>Channel:</strong> Zendesk (Ticket #1) <strong>Category:</strong> Access <strong>SLA:</strong> P2–4, hour resolution target.<br>The ticket arrived via Zendesk with the subject “Cannot log in — my account is locked.” The auto-assign trigger detected the keyword “locked” and immediately assigned the ticket to L1 Helpdesk with the tag “access-issue” applied — no manual triage required.<br>The agent reviewed the ticket and added an internal note: “Escalating to ServiceNow. Incident INC0010001 being raised for this access issue.” The Zendesk ticket was set to Pending.</p><p>In ServiceNow, Incident INC0010001 was created:</p><ul><li>Short description: “User cannot log in, account locked after password reset”</li><li>Category: Access</li><li>Urgency: 1 — High</li><li>Description: “User reported via Zendesk Ticket #1 that they cannot log in after a password reset. Account appears to be locked in Active Directory. Requires AD account unlock.”</li><li>Zendesk ticket URL pasted in the description field</li></ul><p>Active Directory investigation: ADUC opened on the domain controller. User account (Grace Dunne) located in the HR OU. Right-click → Reset Password. Dialog confirmed: <strong>Account Lockout Status: Unlocked.</strong> Temporary password set to Temp@1234. “User must change password at next logon” unticked to allow immediate login.</p><p>ServiceNow resolution: INC0010001 moved to Resolved. Resolution Notes: “AD account for Grace Dunne unlocked and temporary password issued. User advised to change password immediately on next login. Knowledge Base article linked: How to unlock a locked Active Directory account.”</p><p>Zendesk closure: Ticket Resolved macro applied. Ticket submitted as Solved. Requester received: “Your account has been unlocked. Please use the temporary password Temp@1234 to log in. You will be prompted to set a new password. Reference: INC0010001.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X-Jyk8bSDtK352CKbXCvQw.jpeg" /><figcaption>Zendesk Ticket #1 resolved; the complete support interaction for INC0010001 captured in a single view. The internal note (visible only to agents, not the end user) documents the escalation decision and ServiceNow incident reference, maintaining the audit trail between platforms. The public reply delivers the password reset instructions alongside the ServiceNow incident number, giving the end user a reference they can quote in any follow-up communication. The Solved status confirms the ticket was formally closed via the Ticket Resolved macro, not manually dismissed, ensuring the closure is recorded, timestamped, and reportable in Zendesk Explore analytics.</figcaption></figure><h4>INC0010002: Print Server Outage; P1 Critical</h4><p><strong>Channel:</strong> ServiceNow direct <strong>Category:</strong> Hardware <strong>SLA:</strong> P1–1-hour resolution target <strong>Affected users:</strong> Finance department, multiple users</p><p>A P1 incident requires a different operational posture. The moment the incident is logged, the clock is running on a 1-hour resolution target. Every action is documented in real time via work notes, and stakeholder communication is continuous until resolution.</p><p>ServiceNow INC0010002 was raised:</p><ul><li>Short description: “Office printer completely offline, multiple users in Finance cannot print”</li><li>Category: Hardware</li><li>Impact: 1 — High | Urgency: 1 — High | Priority: 1 — Critical</li><li>Affected users noted: Grace Dunne, Jonathan Kelly</li><li>Initial work note: “Printer in Finance department unresponsive. Shows offline in Windows. Multiple users affected with active deadline. Escalating to L2 Infrastructure.”</li></ul><p>A Jira task was created immediately to track the infrastructure investigation: “Investigate print server connectivity INC0010002.” Added to the active sprint. Moved to In Progress. ServiceNow incident URL linked in the description. Comment added: “Investigating print server connectivity. Checking Print Spooler service on PRINT-SRV01.”</p><p>ServiceNow work note added: “Print Spooler service found in stopped state on PRINT-SRV01. Root cause: corrupted print job caused service crash. Service restarted via Services console. Printer returning online.”</p><p>Confirmation work note: “Printer confirmed online. All affected Finance users able to print. Monitoring for stability.”</p><p>INC0010002 resolved:</p><ul><li>Resolution code: Solution provided</li><li>Resolution notes: “Print Spooler service crashed on PRINT-SRV01 due to a corrupted print job in the queue. Service restarted successfully. All affected users confirmed printing. Root cause: corrupted print job. Prevention: implement scheduled Print Spooler health checks and automated service monitoring alerts.”</li></ul><p>Jira task SCRUM-9 moved to Done: “Print Spooler service restarted on PRINT-SRV01. All Finance users confirmed printing. ServiceNow INC0010002 resolved.”</p><p><strong>Post-Incident Report produced</strong> — documenting incident timeline, root cause analysis, business impact assessment, resolution steps, and preventive recommendations. This is a standard deliverable following any P1 incident in a professionally operated IT department.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7bwJYgk6HaoXmXeQEtdtMA.jpeg" /><figcaption>The ServiceNow incident queue showing two resolved incidents from the lab environment INC0010001 (account lockout, Priority 2 High) and INC0010002 (print server outage, Priority 1 Critical). Both incidents were resolved within their respective SLA windows and carry full audit trails, work notes, resolution notes, and Knowledge Base article references, documenting every action taken from initial report through to formal closure. The incident list is the operational heartbeat of any IT department. In a production environment, this view is monitored continuously by the service desk team lead to track open incidents, identify SLA breach risks, and ensure no ticket goes unattended.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QLmXwLk5s2mY7czJn620Vw.jpeg" /><figcaption>SCRUM-9, the infrastructure investigation task raised mid-sprint in direct response to live P1 incident INC0010002. The task was created in Jira the moment the incident was escalated from ServiceNow to the L2 Infrastructure team, cross-referenced with the ServiceNow incident URL, and moved through the workflow in real time as the investigation progressed. The comments capture the investigation narrative from initial connectivity check on PRINT-SRV01 through to root cause identification (Print Spooler service crash caused by a corrupted print job) and confirmed resolution. This is the exact pattern used by infrastructure engineers in enterprise environments: ServiceNow owns the incident record and stakeholder communication, Jira owns the technical investigation and engineering work. The two systems operate in parallel, linked by cross-referenced ticket numbers.</figcaption></figure><h4>CHG0030002: Screen Lock GPO (Normal Change)</h4><p><strong>Category:</strong> Software | <strong>Risk:</strong> Low | <strong>Impact:</strong> Low</p><p>This scenario demonstrates the complete ITIL Normal Change lifecycle — from initial request through CAB approval to verified implementation and formal closure.<br>The business driver for this change was straightforward: unattended workstations with no automatic lock present a data security risk. In any organisation handling personal data, financial data, or confidential business information, this is a baseline security control.</p><p><strong>Change Request raised in ServiceNow:</strong></p><ul><li>Short description: “Deploy screen lock GPO to all domain computers”</li><li>Implementation Plan: “Create Screen_Lock_Policy GPO in Group Policy Management on DC. Set Interactive logon: Machine inactivity limit to 300 seconds. Link GPO to corp.local domain. Run gpupdate /force.”</li><li>Backout Plan: “Remove GPO link from domain and run gpupdate /force on affected machines if users report authentication issues.”</li></ul><p>The change was submitted for CAB approval and progressed through the full workflow: New → Assess → Authorize → Scheduled → Implement → Review → Closed.</p><p><strong>Jira cross-reference:</strong> SCRUM-1 (Deploy screen lock GPO) was opened and the ServiceNow CHG0030002 URL was added to the issue description with comment: “Approved by CAB. Implementation scheduled as part of IT Sprint 1.”</p><p><strong>Implementation executed in Active Directory (as documented above):</strong> Screen_Lock_Policy GPO created, configured, linked, and propagated. Computer Policy and User Policy updates completed successfully.</p><p><strong>Change formally closed in ServiceNow:</strong></p><ul><li>Close code: Successful</li><li>Close notes: “Screen_Lock_Policy GPO successfully deployed to all domain computers in corp.local. Machine inactivity limit set to 300 seconds. Verified on test machine — screen locks after 5 minutes of inactivity. No adverse effects reported. Change closed.”</li></ul><p><strong>Jira:</strong> SCRUM-1 moved to Done. Sprint completed. Sprint Report and Burndown Chart generated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fw23hWsjdojTHB6oWPoyLA.jpeg" /><figcaption>SCRUM-1, the infrastructure task tracking the deployment of the Screen_Lock_Policy Group Policy Object, formally linked to ServiceNow Change Request CHG0030002. The task description contains the direct ServiceNow URL, establishing the bidirectional cross-reference between the two platforms that allows any stakeholder whether working in Jira or ServiceNow to navigate immediately to the full context of the change. The comments document the complete implementation narrative: CAB approval confirmed, implementation executed on the corp.local domain controller, gpupdate /force propagation verified, and change formally closed as Successful in ServiceNow. Planned changes do not exist in isolation inside a single tool, they are raised in ServiceNow for governance and approval, tracked in Jira for engineering execution, implemented in Active Directory, and closed in ServiceNow with a full audit trail. Every step is traceable, every decision is documented, and every stakeholder has visibility regardless of which platform they work in.</figcaption></figure><h3>Key Technical Takeaways</h3><p><strong>The value of cross-platform workflow integration.</strong> <br>In isolation, each tool is useful. Together, they create an operational fabric that provides complete visibility, auditability, and accountability across every layer of IT service delivery. A ticket in Zendesk triggers an incident in ServiceNow, which generates a task in Jira, which results in a change in Active Directory. Every step is traceable, every action is documented, and no stage can be skipped.</p><p><strong>Change management as risk governance.</strong> The approval process for CHG0030002 is not administrative overhead; it is the mechanism that prevents unreviewed changes from causing production incidents. The backout plan is not a formality, it is the document that gets opened when something goes wrong at 11pm on a Friday.</p><p><strong>SLA architecture drives operational behaviour.</strong> The difference between a P1 and a P3 is not just a number, it determines team response posture, escalation paths, stakeholder communication cadence, and acceptable resolution time.</p><p><strong>Documentation is the audit trail.</strong> Work notes, resolution notes, Jira comments, and commit messages collectively form the operational record of an IT department. In regulated industries; banking, healthcare, government, this record is not optional. It is required for compliance, post-incident review, and continuous service improvement.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1f21c413318" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing a Hybrid Active Directory Environment with Microsoft Entra ID]]></title>
            <link>https://medium.com/@brightkakatech/implementing-a-hybrid-active-directory-environment-with-microsoft-entra-id-9a0eafe00940?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a0eafe00940</guid>
            <category><![CDATA[windows-server-2022]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[microsoft-entra]]></category>
            <category><![CDATA[it-help-desk-support]]></category>
            <category><![CDATA[sysadmin]]></category>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Mon, 25 May 2026 14:29:10 GMT</pubDate>
            <atom:updated>2026-05-28T23:34:54.878Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A technical walkthrough of designing and deploying a hybrid identity infrastructure using Windows Server 2022, Active Directory Domain Services, Group Policy, DNS, DHCP, and Microsoft Entra ID; the same stack used by thousands of organisations across Ireland and the UK.</em></p><h3>Overview</h3><p>Hybrid identity is the current standard for enterprise IT. Most organisations run Active Directory on-premises for workstation and server authentication, while simultaneously using Microsoft Entra ID (formerly Azure AD) to manage access to cloud services like Microsoft 365, Teams, and SharePoint.<br>This article walks through the full implementation of that architecture; from domain controller deployment through to cloud identity integration, MFA enforcement, and security audit policy configuration.</p><p>The entire environment was built on a personal PC using Oracle VirtualBox to run two virtual machines simultaneously. This approach demonstrates that a production-equivalent identity infrastructure can be built and tested at zero cost, no dedicated hardware, no data centre, no cloud spend. Everything runs on a single consumer machine.</p><h3>Architecture</h3><p>The entire environment runs on a single personal PC using Oracle VirtualBox. Two virtual machines are installed and run simultaneously; one acting as the server, one as the client workstation. This setup proves that a fully functional enterprise identity infrastructure can be built and operated at zero cost on consumer hardware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*o1cXwBJt2x-qeyKQVWkIkQ.png" /></figure><h3><strong>Server</strong></h3><p>Windows Server 2022 installed as a VirtualBox VM on a personal PC. Static IP <em>192.168.1.10 .</em>Runs AD DS, DNS, and DHCP. Acts as the Domain Controller for the corp.local domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q_KfamLgPdaNkyMRBpNH4w.jpeg" /><figcaption>Windows server on VM</figcaption></figure><h3><strong>Windows</strong></h3><p>Windows 10 Pro installed as a second VirtualBox VM on the same personal PC. Static IP <em>192.168.1.20</em> .Acts as a domain-joined workstation simulating a standard staff machine.</p><p>Both VMs connect via VirtualBox’s Internal Network adapter (corpnet); an isolated private network that exists only between the two VMs on the host machine. The Server VM also has a secondary NAT adapter providing internet access for cloud sync and tool downloads, while keeping the internal network intact. This dual-adapter configuration mirrors a common enterprise pattern where servers have separate management and production network interfaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z3EB2LiZ7v0hsxSb1jONuA.jpeg" /><figcaption>Windows PC on VM</figcaption></figure><p>Both VMs are connected to an isolated internal virtual network named Corpnet; a private network that exists only between the two VMs on the host machine. This means the VMs can communicate with each other but are completely isolated from the rest of the physical network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShkPpSeNHvWT_R_A35rqjw.jpeg" /><figcaption>setting Server to same network as Windows PC, Which is internal neetwork named CORPNET</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j0VB81F3FXHuK-qTILtcEw.jpeg" /><figcaption>Configuring Windows PC to same internal network named Corpnet, same as the server window</figcaption></figure><p>The Server VM is assigned a static IP address to ensure it is always reachable at the same address. Without a static IP, the domain, DNS, and DHCP services would break every time the server restarted. The IP address is set to 192.168.1.10, subnet mask 255.255.255.0, default gateway 192.168.1.1, and the DNS server is pointed to 192.168.1.10; the server&#39;s own address because once Active Directory is installed, the server becomes its own DNS resolver.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cF4kFw5iog-w3Zu2lHlhfw.jpeg" /></figure><h3><strong>Domain Controller Deployment</strong></h3><p><strong>Installing Active Directory Domain Services</strong><br>The AD DS role is installed via Server Manager. After installation the server is promoted to a Domain Controller for a new forest:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S4EntANeIOTLvK83oW0nMg.jpeg" /><figcaption>AD DS role installation in progress via the Add Roles and Features Wizard on WIN-L87D6VLLVFL. Group Policy Management and the full suite of AD DS administration tools are installed as part of the same operation.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U0KMBu5oYVcSTedYUFtyDQ.jpeg" /><figcaption>AD DS role installation succeeded. The wizard prompts the next step: “Promote this server to a domain controller.” This link launches the AD DS Configuration Wizard.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tFAyIxJxvP8j656ScYfOJQ.jpeg" /><figcaption>AD DS Configuration Wizard: Deployment Configuration. “Add a new forest” is selected with the root domain name set to corp.local. This creates a brand new Active Directory forest from scratch.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dqQvuAkbuhR4gQ4NyaHCsA.jpeg" /><figcaption>Prerequisites Check; all checks passed successfully. The wizard confirms the server is ready for promotion. The DNS delegation warning is expected and safe to ignore in an isolated internal network.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*56zumELk8xYsTWMdPNUPKQ.jpeg" /><figcaption>Post-promotion login screen displaying CORP\Administrator — confirmation that the domain is live. The server is now a fully operational Domain Controller for the corp.local domain.</figcaption></figure><p><strong>Forest name:</strong> corp.local<br><strong>Forest and domain functional level:</strong> Windows Server 2016<br><strong>DNS:</strong> Installed automatically as a dependency<br><strong>DSRM password:</strong> Set during promotion for recovery access</p><p>On restart the server presents CORP\Administrator at the login screen, confirming the domain is active and the DC is operational.</p><h3>Organisational Unit Design</h3><p>A well-designed OU structure is the foundation of effective Group Policy and delegation. The structure implemented here reflects a standard departmental layout:<br>corp.local<br>├── Employees<br>│ ├── Sales<br>│ └── HR<br>├── IT_Department<br>└── Staff Computers</p><p>This structure supports:<br>a) Department-level GPO targeting<br>b) Delegated administration (HR managers can reset passwords in their OU)<br>c) Clean separation of user and computer objects</p><p>Three user accounts are created across the department OUs. <br>Sarah McDonald with the username <em>smcdonald</em> is placed in the Employees/Sales OU. <br>Jonathan Kelly with the username <em>Jkelly</em> is placed in the Employees/HR OU. IT Admin with the username <em>Itdmin</em> is placed in the IT_Department OU.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TPBlSrkttS1PP6HKij21SA.jpeg" /><figcaption>Creating GRP_Sales as a Global Security Group inside corp.local/Employees/Sales. Group scope is set to Global and type to Security; the correct configuration for a departmental access control group.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rc2EBBagDPiYnhav0qZNCg.jpeg" /><figcaption>Sarah McDonald being added to GRP_Sales via the Select Users dialog. Her resolved account SMcDonald@corp.local confirms the object was found correctly in the directory.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vz0ZLOY8OBCWwaFFSAPYaQ.jpeg" /><figcaption>John Nolan being added to GRP_Sales. Sarah McDonald is already listed as a confirmed member in the background, showing the group is being built incrementally.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VP7Rgmiy4E3P_2vmPuI4kQ.jpeg" /><figcaption>GRP_Sales Members tab showing both Sarah McDonald and John Nolan confirmed as members, both sourced from corp.local/Employees/Sales. Group provisioning for Sales is complete.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y5ktOAKU9i6x4NteCAsFvw.jpeg" /><figcaption>Creating GRP_HR as a Global Security Group inside corp.local/Employees/HR. The same scope and type settings are applied as GRP_Sales; consistent group design across all departments.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ffSLJU863TDJCHTqWiNKA.jpeg" /><figcaption>Jonathan Kelly being added to GRP_HR. The Members list is currently empty, this is the first addition to the group.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXziyxWWeB18AcbBhSTiBw.jpeg" /><figcaption>Grace Dunne being added to GRP_HR. Jonathan Kelly is already listed as a confirmed member, and Grace Dunne’s resolved account is queued for addition.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rDfvnIYD0HmfREaE7YkplQ.jpeg" /><figcaption>GRP_HR Members tab showing both Grace Dunne and Jonathan Kelly confirmed as members, both sourced from corp.local/Employees/HR. Group provisioning for HR is complete.</figcaption></figure><p>Security groups <em>GRP_Sales</em> and <em>GRP_HR</em> are created with the respective users as members. Group-based access control is the correct approach at scale permissions are assigned to groups, not individuals. Adding a new hire to <em>GRP_Sales </em>instantly grants them everything the role requires.</p><p>The password policy is configured via Default Domain Policy. Passwords must be a minimum of 10 characters and meet complexity requirements; meaning they must contain a mix of uppercase, lowercase, numbers, and symbols. Accounts are automatically locked out after 5 failed login attempts and remain locked for 30 minutes before access is restored.</p><p>This meets the baseline requirements of most cyber insurance policies and aligns with NCSC password guidance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M4bUMaL1-UgFhF6GkOU25Q.jpeg" /><figcaption>Creating Organizatiional Units</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zqqL8CM6NNTIpK-Hbfpemw.jpeg" /><figcaption>Under Employees, Sales and HR were created as Organizational Units</figcaption></figure><h3>Creating User Accounts in Active Directory</h3><p>User accounts are created directly inside Active Directory Users and Computers (ADUC) on the Server VM. Each user is placed in the correct OU based on their department. The “Create in” field at the top of each user creation window confirms exactly which OU the account is being created in.<br>Every user account across Sales, HR, and IT_Department has the same password policy applied: mandatory change on first login, complexity requirements enforced. This is consistent with how enterprise IT teams onboard new staff. The IT administrator sets a temporary password, hands it to the new employee, and Active Directory handles the rest automatically on their first login.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pxeaiHa9mjMgOhHWbJz2fg.jpeg" /><figcaption>Creating Sarah McDonald (SMcDonald) in the Sales OU: corp.local/Employees/Sales</figcaption></figure><p>Notice in the left panel that the OU structure is already in place — Employees with Sales and HR sub-OUs, IT_Department, and Staff Computers are all visible. Each user account is created directly inside its correct OU rather than being created and moved later. This is the correct approach in a production environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PugDwlxxbJ4OVgMSmGTbQ.jpeg" /><figcaption>Setting Sarah McDonald’s initial password. “User must change password at next logon” is ticked, enforcing the password policy on first login</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8obqDc_5vhzWNiQ8iNuc5w.jpeg" /><figcaption>Creating John Nolan (JoNolan) in the Sales OU: corp.local/Employees/Sales.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-tEPUsm-RsGgWuFA3KjtVg.jpeg" /><figcaption>Setting John Nolan’s initial password with mandatory first-login password change enforced</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kXZQ6zGxDLfNRdm8TgjQAQ.jpeg" /><figcaption>Creating Jonathan Kelly (JKelly) in the HR OU: corp.local/Employees/HR</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GlCN5UsKGPTaz2kHhv75Og.jpeg" /><figcaption>Setting Jonathan Kelly’s initial password. “User must change password at next logon” ticked consistently across all accounts</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j9pOGxNyP2NH3fMkzjXqCw.jpeg" /><figcaption>Creating Admin User (Itadmin) in the IT_Department OU: corp.local/IT_Department</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1U5XybwFqZeqoR6urdxZag.jpeg" /><figcaption>Setting IT Admin’s initial password, same password policy applied consistently across all OUs</figcaption></figure><h3><strong>Password Policy</strong></h3><p>The password policy is configured via the Default Domain Policy GPO in Group Policy Management. This policy applies automatically to every user account across the entire corp.local domain.<br>These configurations took place under Computer Configuration → Security Settings → Account Policies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pFVESfCDEgFj-Fnv0qYTZw.jpeg" /><figcaption>Configuring a domain password policy in Group Policy Management on the Sever, setting the minimum password length to 10 characters for the corp.local Active Directory domain.</figcaption></figure><p>The “Minimum password length” setting determines the minimum number of characters required for a user password within the Active Directory domain. In this configuration, the value is set to 10 characters, meaning all users in the corp.local domain must create passwords that contain at least 10 characters when setting or changing their passwords. This policy enhances security by making passwords more difficult to guess or crack through brute-force and dictionary attacks, thereby helping to protect domain accounts and sensitive organizational resources.<br>Other visible password policy options include <strong>Enforce password history</strong>, which prevents users from reusing previous passwords; <strong>Maximum password age</strong>, which determines how long a password can be used before it must be changed; and <strong>Minimum password age</strong>, which controls how soon a user can change a newly created password again. The <strong>Password must meet complexity requirements</strong> setting requires passwords to contain a mix of uppercase letters, lowercase letters, numbers, and special characters to improve security. Additionally, <strong>Store passwords using reversible encryption</strong> is a less secure option that stores passwords in a decryptable format and is generally disabled unless required for specific applications or authentication methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hFAFio7Ybts-KZ0zqiznQw.jpeg" /><figcaption>Password complexity requirements enabled in the Default Domain Policy.</figcaption></figure><p>The full list of password policy settings is visible in the left panel including minimum length, password age, and complexity requirements. Complexity requirements being set to Enabled means every password on the domain must contain a mix of uppercase letters, lowercase letters, numbers, and symbols. A password like “password123&quot; would be rejected. This is enforced at the domain level; no individual machine configuration is needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sWl6M7NPWfr4FOrluiEMTg.jpeg" /><figcaption>Account lockout threshold set to 5 invalid logon attempts in the Default Domain Policy</figcaption></figure><p>The account lockout threshold of 5 means that if someone enters the wrong password five times in a row, whether a user who forgot their password or an attacker attempting to guess it; the account locks automatically. <br>IT receives no alert and does not need to intervene for the lockout to happen. This is Active Directory enforcing security passively at scale.</p><h3>Domain-Joined Workstation</h3><p>VM2 is configured with VM1 as its DNS server (<em>192.168.1.10</em>) before domain join. This is critical as the domain join process relies entirely on DNS to locate the Domain Controller.</p><p>After joining ‘<em>corp.local’</em> and restarting, domain users can authenticate on the workstation. The login screen accepts <em>Smcdonald</em> and <em>Jkelly</em>, both authenticating against the DC over the internal network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EGLvpevSFUDI9p9BX7lGOQ.jpeg" /><figcaption>VM2 which is the windows 10 is now joining VM1 which is the window server</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5gvkyg03ksBy3lvOqmwveg.jpeg" /><figcaption>successfully joined the domain</figcaption></figure><p>Domain Join and Password Policy Verification<br>The login screens below serve as direct proof that the Windows VM has successfully joined the <em>corp.local </em>domain. Notice the &quot;Sign in to: CORP&quot; text on the login screen, this only appears on a domain-joined machine. A standard non-domain PC would never show this. Any staff member with a CORP domain account can now authenticate from this workstation, exactly as they would on a company PC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CxMiRZIoAYw3RGeYpkDaFg.jpeg" /><figcaption>screenshot of the windows of the joined domain, this is now like a computer connected the company’s network where any staff of the company can log in and work from</figcaption></figure><h3>Sarah McDonald: Sales Department</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ldPumcihr-W7q9Gd5hzlg.jpeg" /><figcaption>This is where a staff (Sarah McDonald) is trying to log in with her credentials. remember we created this user, as employee, under sales department</figcaption></figure><p>The domain immediately prompts: “The user’s password must be changed before signing in.” <br>This is the password policy enforcing itself automatically, no manual intervention needed from IT</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jMBkiumW06h3fBopT-PbWg.jpeg" /><figcaption>Password policy enforced automatically. First-time user required to change password before access is granted</figcaption></figure><p>Sarah enters her current password and sets a new one. The new password must meet the complexity requirements configured in the policy; minimum 10 characters, uppercase, lowercase, numbers, and symbols. If it doesn’t meet the requirements, the domain rejects it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eDBUpMBReVw4FOyPFIbmKw.jpeg" /><figcaption>Now it is prompting Sarah to change her password as a first time user, exactly we configured it from password policy</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e7sLYV7WTepbHlzgg6gA9A.jpeg" /><figcaption>Password changed successfully; account now secured with user-defined credentials</figcaption></figure><p>Sarah McDonald is now logged in. The Welcome screen shows her full display name pulled directly from Active Directory, confirming that domain authentication is working correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m6ZAFvAsl7rx01G21AAVPg.jpeg" /><figcaption><em>Sarah McDonald successfully logged in; display name pulled from Active Directory</em></figcaption></figure><h3>Jonathan Kelly — HR Department</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ncL6FDuTHy0kwXQiNxwGKQ.jpeg" /><figcaption>Jonathan Kelly (Jkelly) signing into the CORP domain. Sarah McDonald’s account visible in the bottom left, confirming multiple domain users exist on the same workstation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FmCAN-NQ1-xsAqB-8eIeMg.jpeg" /><figcaption>Password policy applied consistently. Jonathan prompted to change password on first login regardless of department</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b-Mrb0Ch_XKouRi8e3zujA.jpeg" /><figcaption>Jonathan completing the mandatory password change process</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SVRPhMEjBMpVG4Ed7wMlNw.jpeg" /><figcaption>Jonathan Kelly successfully logged in, domain authentication confirmed for a second user from a different OU</figcaption></figure><p>The images above prove four things:</p><p><strong>1. Domain join successful: </strong>“Sign in to: CORP” appears on the login screen, confirming the Windows VM is a full member of the corp.local domain.<br><strong>2. Active Directory authentication working: </strong>Both SMcDonald and Jkelly are authenticating against the Domain Controller over the internal Corpnet network.<br><strong>3. Password policy enforced automatically: </strong>Every new user is required to change their password on first login without any manual IT intervention on the workstation.<br><strong>4. Multi-user domain environment: </strong>Two users from different OUs (Sales and HR) are both authenticating successfully on the same domain-joined machine.</p><h3><strong>Group Policy Configuration</strong></h3><p><strong>Mapped Network Drive<br></strong>A GPO named Employee_Settings is linked to the Employees OU. It contains a Drive Maps preference item:<br><strong>Action:</strong> Create<br><strong>Location:</strong> \\WIN-L87D6VLLVFL\SharedDrive<br><strong>Drive letter:</strong> S:<br><strong>Reconnect:</strong> Enabled</p><p>On login, the S: drive is automatically mapped for every user in the Employees OU; including sub-OUs (Sales and HR). No manual configuration is required on the workstation.<br>This is the standard method for deploying shared drives in Active Directory environments. The alternative is manually mapping drives on each machine which does not scale and cannot be centrally managed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VBqD00V0ii_-hCFLDOv2nQ.jpeg" /><figcaption>Creating GPO</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hKcsqHKTk0XrEJjsCBgc6w.jpeg" /><figcaption>SharedDrive created</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IWktBdekBXngGgb7xvQIZw.jpeg" /><figcaption>The network has been mapped to drive S</figcaption></figure><h3><strong>Security Baseline</strong></h3><p>The second GPO is named Security_Baseline and is linked at the domain level, meaning it applies to every computer and user in the entire corp.local domain. It enforces a consistent desktop environment across all machines. This is a standard requirement in corporate IT to maintain visual consistency and prevent users from modifying system settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lb0qet0CXLOdeR7U4sbuig.jpeg" /><figcaption>Creating the Security_Baseline GPO in Group Policy Management. The OU structure is visible in the left pane. Employees, IT_Department, and Staff Computers; confirming the AD design is in place before policy is applied</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KKycx1PWwk_jovsFokxwWQ.jpeg" /><figcaption>Desktop Wallpaper policy configured inside Security_Baseline via the Group Policy Management Editor. Set to Enabled with a wallpaper path and Fill style — users cannot override this setting.</figcaption></figure><p><strong>Verifying GPO Application</strong><br>GPO application is verified by running <em>gpupdate /force</em> on command prompt on CLIENT01 and confirming the S: drive appears under Network Locations for both smcdonald and jkelly. The mapped drive is confirmed working on both accounts independently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7uCirursTxiuzHC_n3qDxA.jpeg" /><figcaption>The drive can now be accessed from Jonathan Kelly’s account</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qYK2Gzc68lDWDaXhlp2DAw.jpeg" /><figcaption>The drive can now be accessed from Sarah’s account</figcaption></figure><p><em>Employee Drive (S:) mapped automatically, confirming GPO applies consistently across different users and OUs<br></em>Both users receive the mapped drive automatically despite being in different sub-OUs (Sales and HR). This demonstrates that the GPO is linked correctly at the parent Employees OU level and is inherited by both child OUs; exactly how it would be configured in a production environment.</p><p><strong>DNS and DHCP</strong></p><p><strong>DNS<br></strong>DNS is installed automatically during AD DS promotion. Two zones are configured:<br><strong>Forward lookup zone:</strong> <em>corp.local. This </em>resolves hostnames to IP addresses<br><strong>Reverse lookup zone:1.168.192.in-addr.arpa. </strong>This<strong> </strong>resolves IP addresses to hostnames.</p><p>Verification from windows:<br>nslookup corp.local<br>Server: WIN-L87D6VLLVFL.corp.local<br>Address: 192.168.1.10<br>Name: corp.local<br>Address: 192.168.1.10</p><h3>DHCP</h3><p>A DHCP scope named <em>corpNetwork </em>is configured on the Server:<br>Start: IP192.168.1.100<br>EndIP: 192.168.1.200<br>Subnet mask: 255.255.255.0<br>Default gateway: 192.168.1.1DNS <br>Server: 192.168.1.10<br>Lease duration: 8 days</p><p>Any device joining the network receives an IP address automatically, with DNS pointing to the Domain Controller, ensuring domain resolution works immediately on new machines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uxo0MNsvk_uP61P9A90wmQ.jpeg" /><figcaption>DHCP Server role successfully installed on WIN-L87D6VLLVFL.corp.local. DHCP Server Tools also installed. Notice AD DS, DHCP, and DNS are all now visible in the Server Manager left panel</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r9XTm-eYkVUYqZrguVVw5A.jpeg" /><figcaption>DHCP Post-Install configuration complete; security groups created and DHCP server authorised in Active Directory</figcaption></figure><h4>Configuring the DHCP Scope</h4><p>A scope defines the pool of IP addresses the DHCP server is allowed to hand out. The New Scope Wizard walks through the configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*diHHziBy4RIFFzUYt6Idcg.jpeg" /><figcaption>New Scope Wizard launched from the DHCP console, the wizard creates the IP address pool for the CorpNetwork scope</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tex_v-WTGMi1Zn6FPn38qw.jpeg" /><figcaption>DHCP scope IP address range configured. Start address 192.168.1.100, end address 192.168.1.200, subnet mask 255.255.255.0. Any device joining the Corpnet network will automatically receive an address from this range.</figcaption></figure><p>The scope assigns addresses in the range <em>192.168.1.100</em> to <em>192.168.1.200</em> with a subnet mask of <em>255.255.255.0</em>. The DNS server is pointed to <em>192.168.1.10, </em>the Domain Controller; ensuring every device that receives an IP address can also immediately resolve the domain. Any new machine joining the network is fully configured automatically with no manual intervention.</p><h3>Cloud Identity: Microsoft Entra ID</h3><p><strong>Tenant Configuration<br></strong>A Microsoft Entra ID tenant was created and configured as the cloud identity platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pRw5n9M06juI4yjM7tumnQ.jpeg" /><figcaption>Microsoft Entra admin center. Default Directory overview. The tenant is active under the Entra Free plan with Global Administrator assigned. Identity Secure Score is at 68.42% and Microsoft Entra Connect shows as Disabled; consistent with the free-tier certificate issue documented in the Note on Entra Connect below.</figcaption></figure><p>A UPN suffix matching the cloud tenant domain is added to the on-premises AD, allowing user accounts to carry a cloud-compatible identity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8k2tgrPYX-X1YxzjIw3lmw.jpeg" /><figcaption>Alternative UPN suffix brightamalahuoutlook.omnicrosoft.com added to the on-premises AD forest via Active Directory Domains and Trusts. This makes the cloud tenant domain available as a logon suffix for on-premises user accounts.</figcaption></figure><p><strong>Cloud User Provisioning via Microsoft Graph PowerShell<br></strong>Users are provisioned in the cloud tenant using the Microsoft Graph PowerShell SDK; the same programmatic approach used by enterprise identity pipelines and automation workflows:</p><p>Connect-MgGraph -TenantId “tenant.onmicrosoft.com” -Scopes “User.ReadWrite.All”</p><p>New-MgUser `<br> -DisplayName “Sarah McDonald” `<br> -UserPrincipalName “<a href="/service/mailto:smcdonald@tenant.onmicrosoft.com">smcdonald@tenant.onmicrosoft.com</a>” `<br> -AccountEnabled `<br> -PasswordProfile @{<br> Password = “Welcome@2024!”<br> ForceChangePasswordNextSignIn = $false<br> } `<br> -MailNickname “smcdonald”</p><p>With the UPN suffix added to the forest, each on-premises user account was updated individually via Active Directory Users and Computers to use the cloud-compatible suffix.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BTy5jL3Jags2eT8FSYld1w.jpeg" /><figcaption>Jonathan Kelly’s account properties showing the UPN suffix dropdown open; both @corp.local and @brightamalahuoutlook.omnicrosoft.com are available. The cloud suffix is being selected.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jBi3nfYnJ0ecl7yFEvm5Sw.jpeg" /><figcaption>Grace Dunne’s account in the HR OU updated with the cloud UPN suffix. “User must change password at next logon” is ticked consistent with the security policy applied across all accounts.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KK9403Esei4_SHdZV_9OvQ.jpeg" /><figcaption>Sarah McDonald’s account showing the completed UPN suffix update; SMcDonald@brightamalahuoutlook.omnicrosoft.com is now the active user logon name. Account expiry is set to Never, consistent with a permanent staff account.</figcaption></figure><p>This was repeated for all three users. The Microsoft Graph API is the authoritative interface for Entra ID management ; the same API used by Entra Connect, Azure Automation, and third-party identity management platforms.<br>All three users are confirmed present in the Entra ID portal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fsSMY0yXh3LPN5puot6uSg.jpeg" /><figcaption>Microsoft Entra ID Users list showing all provisioned accounts : IT Admin, Jonathan Kelly, and Sarah McDonald ; alongside the Global Administrator and Entra Admin accounts. All cloud users carry the brightamalahuoutlook.onmicrosoft.com UPN suffix.</figcaption></figure><h3>Note on Entra Connect</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M3kExlYZJd-43j0K30CKeQ.jpeg" /><figcaption>Microsoft Entra Connect Sync welcome screen running on server. The installer was launched directly on the Domain Controller and reached this stage successfully before the platform-level AADSTS700027 certificate error was encountered downstream.</figcaption></figure><p>Microsoft Entra Connect Sync was installed and configured on the window server. During implementation a platform-level certificate expiry issue (AADSTS700027) was identified on the built-in Microsoft service principal. This is a known issue affecting free Entra tenants and is unrelated to configuration. In production environments with Entra ID P1 or P2 licensing this issue does not occur. Cloud users were provisioned directly via Microsoft Graph PowerShell as the equivalent implementation.</p><h3>Security Hardening</h3><p><strong>MFA Enforcement: Security Defaults<br></strong>Security Defaults are enabled on the Entra tenant, enforcing MFA for all users across all cloud application sign-ins. This is Microsoft’s recommended security baseline for organisations without Conditional Access licensing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ruaysrWfDv6yvBX9LZKEcA.jpeg" /><figcaption>Security Defaults enabled on the Entra tenant, set to “Enabled (recommended)” in the Properties blade. The panel confirms the organisation is currently protected by Security Defaults.</figcaption></figure><p><strong>Testing MFA enforcement:<br></strong>Sign-in as smcdonald@tenant.onmicrosoft.com in a private browser session triggers the MFA registration flow. Microsoft Authenticator is registered successfully. All subsequent sign-ins require an Authenticator approval, the account is now protected against credential-based attacks even if the password is compromised.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*84p_f-xYEdk3oZOeiZy3nQ.jpeg" /><figcaption>Sarah McDonald’s first cloud sign-in triggering the Security Defaults MFA registration prompt “Let’s keep your account secure.” Microsoft Authenticator setup is required before access is granted.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ap2qfd4TauiVRJQIsJPThQ.jpeg" /><figcaption>MFA registration step; QR code presented to link the Microsoft Authenticator app to Sarah McDonald’s cloud account. Scanning this code ties the account to the physical device.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VO7hGsY9pWFFSOJ96un_Sg.jpeg" /><figcaption>Microsoft confirms the Authenticator app is successfully registered for smcdonald@brightamalahuoutlook.onmicrosoft.com. This is now the default sign-in method for the account.</figcaption></figure><p>Security Defaults provide the following controls automatically:</p><ul><li>MFA required for all users</li><li>MFA always required for administrators</li><li>Legacy authentication protocols blocked</li><li>Privileged actions protected by MFA</li></ul><h3>Advanced Audit Policy</h3><p>Audit policies are configured via the Default Domain Controllers Policy GPO under Advanced Audit Policy Configuration:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TPF6u-j7jMmRhqYJdFJ25w.jpeg" /><figcaption>Audit Credential Validation configured to log Success and Failure events under Account Logon in the Advanced Audit Policy. This captures every authentication attempt made against the domain.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1VKFN93YQabK05FjIsKOZA.jpeg" /><figcaption>Audit User Account Management set to Success and Failure under the Account Management subcategory. This logs every account creation, deletion, password reset, and group membership change.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kmEW0vgM9nfNUDeKwxD40A.jpeg" /><figcaption>Audit Logon set to Success and Failure under the Logon/Logoff subcategory. This is the policy that generates Event ID 4624 (successful logon) and 4625 (failed logon) on the Domain Controller.</figcaption></figure><p>Audit Credential Validation: Success and Failure<br>Audit User Account Management: Success and Failure<br>Audit Logon: Success and Failure</p><h3>Incident Response — DC Trust Relationship Recovery</h3><p>During implementation a trust relationship failure was encountered on DC01 following an attempted rename operation. The error message:<br>“The security database on the server does not have a computer account for this workstation trust relationship.”<br>Domain Controller names are embedded in the Active Directory database at promotion time. Changing the OS-level computer name without updating AD creates a mismatch between the server’s identity and its AD computer account.</p><p><strong>Recovery procedure:</strong></p><ol><li>Boot into Directory Services Repair Mode via F8 Advanced Boot Options</li><li>Authenticate with the DSRM local Administrator account</li><li>Correct the computer name in the registry:<br>HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName<br>HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName<br>HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters → Hostname and NV Hostname</li><li>Restart into normal mode</li></ol><p>Domain login restored with no data loss and no rebuild required.</p><p><strong>Prevention:</strong> Domain Controllers must be named correctly before promotion. If renaming is required post-promotion, use netdom computername with proper AD replication procedures and a scheduled maintenance window.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a0eafe00940" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built a High Availability Enterprise Network Using HSRP, EtherChannel, STP, and Dual ISP…]]></title>
            <link>https://medium.com/@brightkakatech/how-i-built-a-high-availability-enterprise-network-using-hsrp-etherchannel-stp-and-dual-isp-f23464a6e757?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/f23464a6e757</guid>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Tue, 12 May 2026 14:48:53 GMT</pubDate>
            <atom:updated>2026-05-13T02:27:30.214Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Built a High Availability Enterprise Network Using HSRP, EtherChannel, STP, and Dual ISP Failover</h3><p>In modern companies, network downtime can stop communication, internet access, and business operations. To reduce this risk, enterprise networks are designed with redundancy and failover mechanisms that keep the network running even when devices or links fail.</p><p>In this project, I built a High Availability Enterprise Network in Cisco Packet Tracer. The goal was to create a network that could automatically recover from failures without manual intervention.</p><p>This project focused on:</p><ul><li>HSRP for gateway redundancy</li><li>EtherChannel for redundant switch links</li><li>STP for loop prevention</li><li>Dual ISP failover</li><li>Interface tracking for intelligent failover</li></ul><p>In this article, I will explain the entire setup step-by-step in a beginner-friendly way.</p><p><strong>STEP 1</strong><br><strong>Understanding the Network Goal<br></strong>Before building the network, it is important to understand the problem we are trying to solve.<br>In many organizations, if a router, switch, or internet connection fails, users may lose access to the network completely. This creates downtime, which can affect communication, productivity, and business services.</p><p>High Availability networking is designed to reduce or eliminate downtime by introducing backup devices and redundant connections.</p><p>In this project, I designed a network where:</p><ul><li>Two routers provide gateway redundancy</li><li>Two switches provide link redundancy</li><li>Two ISP connections provide internet redundancy</li><li>Automatic failover occurs during failures</li></ul><p><strong>STEP 2<br>Designing the Topology</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vz_hIrf98iWVhy4hn7ifNw.jpeg" /></figure><p>The network topology consists of:</p><ul><li>Two routers (HQ-R1 and HQ-R2)</li><li>Two switches (SW1 and SW2)</li><li>Two ISP routers</li><li>End-user PCs</li></ul><p>The routers were connected to both switches to provide gateway redundancy using HSRP.<br>The switches were connected together using EtherChannel to provide multiple redundant links while avoiding network loops.<br>Two ISP connections were added so the network could continue operating even if one internet provider failed.</p><p><strong>STEP 3<br>Configuring Basic Connectivity<br></strong>Every device in a network needs an IP address to communicate, similar to how houses need addresses for mail delivery.<br>I assigned IP addresses to the router interfaces and PCs so devices could communicate inside the network.<br>In this project, I used the network:</p><ul><li>192.168.10.0/24 for the LAN<br>I assigned:</li><li>HQ-R1 → 192.168.10.2</li><li>HQ-R2 → 192.168.10.3</li><li>Virtual HSRP Gateway → 192.168.10.1</li></ul><p>This means all PCs will use 192.168.10.1 as their default gateway.<br>On each router interface, I enabled the interface using:<br><em>interface g0/0<br>ip address 192.168.10.2 255.255.255.0<br>no shutdown</em></p><p>The “<em>no shutdown”</em> command is important because it activates the interface. Without it, the interface remains inactive.</p><p><strong>STEP 4<br>Configuring HSRP<br></strong>Normally, PCs use a single default gateway to leave their local network. If that router fails, users lose connectivity.<br>HSRP solves this problem by allowing two routers to share one virtual gateway IP address.</p><p>How HSRP Works<br>HSRP creates:</p><ul><li>One <strong>Active Router</strong> (handles traffic)</li><li>One <strong>Standby Router</strong> (backup)</li></ul><p>If the Active router fails, the Standby router automatically takes over.</p><p>Configuration on HQ-R1:<br><em>interface g0/0<br>standby 1 ip 192.168.10.1<br>standby 1 priority 105<br>standby 1 preempt<br>standby 1 track GigabitEthernet0/1</em></p><p>Configuration on HQ-R2:<br><em>interface g0/0<br>standby 1 ip 192.168.10.1<br>standby 1 priority 100<br>standby 1 preempt</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g0JNMPIjDgm9WONCHz1V6A.jpeg" /><figcaption>HSRP configured on HQ-R1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EWne7ePaJ8RkAhPE-xHTAg.jpeg" /><figcaption>HSRP configured on R2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5zypHBK8XlzpE-2mJtbvFw.jpeg" /><figcaption>Verify HSRP on R2</figcaption></figure><h3>Explanation:</h3><ul><li><em>Standby 1 </em>→ <em>ip</em>creates the shared gateway IP</li><li><em>Priority 105 </em>→ makes HQ-R1 the preferred Active router</li><li><em>Preempt </em>→ allows HQ-R1 to reclaim Active role after recovery</li><li><em>Track GigabitEthernet0/1 </em>→ monitors ISP connection and reduces priority if it fails</li></ul><p><strong>STEP 5 <br>Configuring EtherChannel (Switch Redundancy)<br></strong>In a normal network, connecting two switches with multiple cables can create loops, which may crash the network.<br>EtherChannel solves this by combining multiple physical links into one logical link.</p><h3>Benefits:</h3><ul><li>Increased bandwidth</li><li>Redundancy</li><li>Loop prevention</li></ul><p>Configuration:<br>On both switches:<br><em>interface range g0/1–2<br>channel-group 1 mode active</em></p><p>This uses LACP to bundle links together.<br>Now both links act as a single connection called a Port-Channel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Prk2ZGpWBpE2D5YfycJMeg.jpeg" /><figcaption>Verifying successful EtherChannel formation on both switches using the show etherchannel summary command. Both Gigabit interfaces were successfully bundled into Port-Channel 1 using LACP.</figcaption></figure><p><strong>STEP 6: <br>Configuring STP (Loop Prevention)<br></strong>Switch networks can accidentally create loops, where data circulates endlessly and overloads the network.<br>STP prevents this by:</p><ul><li>Electing a Root Bridge</li><li>Blocking redundant paths</li></ul><p>I optimized STP by manually setting one switch as the primary root and the other as secondary.<br>This ensures a stable and predictable switching environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-TAXtvzR9JFiin1HXbu1kA.jpeg" /><figcaption>STP Root Bridge Optimization, made SW2 as the root primary</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ortMxHvHvb70aaRehzOtyA.jpeg" /><figcaption>Make SW1 Backup Root (secondary). This now makes it an automatic failover.</figcaption></figure><p><strong>STEP 7: <br>Configuring Dual ISP Failover<br></strong>To simulate real-world internet redundancy, I added two ISP connections:</p><ul><li>ISP1 (primary)</li><li>ISP2 (backup)</li></ul><p>The routers use static routes:</p><ul><li>Primary route goes through ISP1</li><li>Backup route has a higher administrative distance</li></ul><p>This means:</p><ul><li>ISP1 is used by default</li><li>If ISP1 fails, ISP2 automatically takes over</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yFjhMdUom6fELGYnZPAysw.jpeg" /><figcaption>Configured the ISP failover on HQ-R1, then verified it on the both routers</figcaption></figure><p><strong>STEP 8: <br>HSRP Interface Tracking (Intelligent Failover)<br></strong>One of the most important improvements in this project is interface tracking.<br>Without tracking:</p><ul><li>A router could stay Active even if its internet connection is down</li></ul><p>With tracking:</p><ul><li>The router reduces its priority when ISP fails</li><li>The backup router takes over automatically</li></ul><p>Example configuration:<br><em>standby 1 track GigabitEthernet0/1</em></p><p>This ensures that the network always uses the router with the best available internet connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rbd0tcPsISqfpDAqTCNYrg.jpeg" /><figcaption>HSRP verification after restoring HQ-R1. The router automatically reclaimed the Active role due to the preempt configuration, while HQ-R2 returned to Standby mode.</figcaption></figure><p><strong>STEP 9: <br>Testing the Network<br></strong>To confirm everything works, I performed failure tests:</p><h4>HSRP Test:</h4><ul><li>Shut down HQ-R1</li><li>HQ-R2 automatically became Active</li></ul><p>To test HSRP failover, I manually shut down the primary router interface connected to the LAN network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V_E1GzoBodz5ZmaDto3P2A.jpeg" /><figcaption>Testing HSRP failover by shutting down HQ-R1. After the failure, HQ-R2 automatically transitioned from Standby to Active state, ensuring continued network availability.</figcaption></figure><p><strong>EtherChannel Test:</strong></p><ul><li>Removed one cable</li><li>Network continued working normally</li></ul><h4>ISP Failover Test:</h4><ul><li>Shut down ISP1</li><li>Traffic switched to ISP2 automatically</li></ul><p>These tests confirmed that the network is fully redundant.</p><p><strong>End-to-End Connectivity Testing<br></strong>After completing the redundancy configurations, I tested communication between the PCs connected to both switches.<br>The purpose of this test was to confirm that the network could still forward traffic successfully during normal operation and during simulated failures.<br>First, I verified connectivity under normal conditions by sending ICMP echo requests (ping) between the PCs.</p><p>From PC0, I pinged PC1:<br><em>ping 192.168.10.11</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6KzkIPZeNF0wrxG-P71Y6w.jpeg" /><figcaption>Verifying end-to-end connectivity between both PCs during HSRP failover testing. Communication remained operational even after the primary router interface was shut down.</figcaption></figure><p>The ping replies were successful, confirming:</p><ul><li>correct IP addressing</li><li>proper switching</li><li>operational routing</li><li>successful HSRP gateway configuration</li></ul><p><strong>Challenges Faced:<br></strong>Like most real networking projects, this lab was not completed perfectly on the first attempt. Along the way, I encountered several configuration and design challenges that helped me better understand troubleshooting and redundancy in enterprise networks.</p><p><strong>1. Configuring HSRP on the Wrong Interface</strong><br>One of the first mistakes I made was configuring HSRP on the ISP-facing interface instead of the LAN-facing interface.<br>When I entered the HSRP command, Packet Tracer displayed an error saying the IP address was not within the correct subnet.<br>After troubleshooting, I realized that HSRP must be configured on the interface connected to the local network where the PCs and switches exist.<br>To fix the issue:</p><ul><li>I removed the incorrect configuration</li><li>Reconfigured HSRP on G0/0</li><li>Verified that both routers were in the same subnet</li></ul><p>Once corrected, HSRP started working properly.</p><p><strong>2. Limited Gigabit Ports on the Switches<br></strong>The switches I used only had two Gigabit interfaces. Initially, I connected one Gigabit port to the router, leaving only one port available for EtherChannel.<br>Since EtherChannel requires multiple switch-to-switch links, this became a problem.</p><p>To solve it:</p><ul><li>I moved the router connections to FastEthernet ports</li><li>Reserved both Gigabit ports for EtherChannel</li></ul><p>This allowed the Port-Channel to form successfully.</p><p><strong>3. Understanding STP Root Bridge Selection<br></strong>When I checked STP, I noticed the wrong switch became the Root Bridge.<br>I later learned that STP selects the Root Bridge based on priority and MAC address unless manually configured.<br>To make the topology more stable, I configured:</p><ul><li>SW1 as the primary root bridge</li><li>SW2 as the secondary root bridge</li></ul><p>This created a more predictable Layer 2 environment.</p><p><strong>4. Packet Tracer Tracking Limitations<br></strong>While configuring HSRP tracking, some advanced Cisco IOS tracking commands were not supported in Packet Tracer.<br>Initially, I thought the syntax was incorrect, but later realized it was a Packet Tracer limitation.<br>To work around this, I used a simpler tracking command:<br><em>standby 1 track GigabitEthernet0/1<br></em>This successfully allowed HSRP to detect ISP failure and trigger failover.</p><p><strong>What I Learned<br></strong>These challenges helped me improve my troubleshooting skills and gave me a better understanding of how enterprise redundancy works.<br>Most importantly, I learned that networking is not only about configuration commands. It is also about understanding device behavior during failures and designing networks that can recover automatically.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f23464a6e757" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Secure Office Network with VLAN Segmentation, ACLs, and Port Security]]></title>
            <link>https://medium.com/@brightkakatech/building-a-secure-office-network-with-vlan-segmentation-acls-and-port-security-0777a05d4745?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/0777a05d4745</guid>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Fri, 08 May 2026 20:37:33 GMT</pubDate>
            <atom:updated>2026-05-10T00:23:58.485Z</atom:updated>
            <content:encoded><![CDATA[<p>When people hear “office network,” they usually imagine computers connected to Wi-Fi and internet access.<br>But in real companies, the network is much more organized and secure than that.<br>The HR department should not have the same level of access as Guests. Finance systems should be protected. IT teams should be able to manage everything. And random devices shouldn’t be able to plug into the network freely.<br>So I decided to build a small enterprise-style office network in Cisco Packet Tracer to simulate how real organizations separate and secure their internal systems.</p><p><strong>OBJECTIVE</strong><br>The idea behind this project was simple:<br>Create one office network for multiple departments while making sure each department is isolated and properly secured.</p><p>The departments I created were:</p><ul><li>HR</li><li>Finance</li><li>IT</li><li>Guest Network</li></ul><p>Each department had its own section of the network.<br>Think of it like a building with different rooms:</p><ul><li>HR has its own room</li><li>Finance has its own room</li><li>IT can enter every room</li><li>Guests can only stay in the waiting area</li></ul><p>That is essentially what VLAN segmentation does in networking.</p><p><strong>The Network Design</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U2hxzy47q1rb-l214ZDa5Q.png" /><figcaption>Simple network design</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6-w09Sl7qdY0yGufBMFrAw.jpeg" /><figcaption>The network design on Packet Tracer</figcaption></figure><p>Instead of placing every device on one large network, I separated them into VLANs.<br>A VLAN (Virtual Local Area Network) allows devices to behave as though they are on separate physical networks even when connected to the same switch. This means:</p><ul><li>HR devices were grouped together</li><li>Finance devices were grouped together</li><li>IT devices were grouped together</li><li>Guest devices were isolated completely</li></ul><p>This improves both security and network organization.</p><h3>Technologies Used</h3><ul><li>VLANs</li><li>ACLs</li><li>Inter-VLAN Routing</li><li>DHCP</li><li>Port Security</li><li>Cisco IOS CLI</li><li>802.1Q Trunking</li><li>Cisco Packet Tracer</li></ul><p><strong>The importance</strong><br>Imagine a guest visiting an office and connecting to the company Wi-Fi. Without segmentation, that guest could potentially communicate with internal systems; That’s dangerous.</p><p>In this project, the Guest network was intentionally blocked from accessing internal departments.<br>So even though Guests could connect to the network, they could not communicate with: HR systems, Finance systems and IT systems.</p><p>This is the same idea many real organizations use with guest Wi-Fi.</p><p><strong>CONFIGURING VLANs ON SWITCH:<br></strong>enable<br>configure terminal</p><p>vlan 10<br>name HR</p><p>vlan 20<br>name FINANCE</p><p>vlan 30<br>name IT</p><p>vlan 40<br>name GUEST</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f-OfojPYyEJJmunH0snafg.jpeg" /><figcaption>ON HR PC1, Pinging ping 192.168.10.1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wk2r0A9cA2b98PaxJz_W1A.jpeg" /><figcaption>ON HR PC1, Pinging ping 192.168.20.1</figcaption></figure><p>The above two images shows successful pinging between the PCS, which proofs the PCs can now communicate with each other.</p><p><strong>ASSIGNING PORTS TO VLANs<br>HR Ports:</strong><br>interface range fa0/1–2<br>switchport mode access<br>switchport access vlan 10</p><p><strong>Finance Ports<br></strong>interface range fa0/3–4<br>switchport mode access<br>switchport access vlan 20</p><p><strong>IT Ports<br></strong>interface range fa0/5–6<br>switchport mode access<br>switchport access vlan 30</p><p><strong>Guest Ports<br></strong>interface range fa0/7–8<br>switchport mode access<br>switchport access vlan 40</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ux6k5ClkplwxrtqaapVyqQ.jpeg" /><figcaption>Verifying Vlan</figcaption></figure><p><strong>CONFIGURING TRUNK PORT<br></strong>interface g0/1<br>switchport mode trunk</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*faJ9iAVx01ezVqA2kAwByA.jpeg" /><figcaption>Verifying Trunk Port</figcaption></figure><h3>Controlling Who Can Access What</h3><p>After creating the VLANs, I configured ACLs (Access Control Lists). ACLs are basically network security rules which decide:</p><ul><li>who can communicate,</li><li>what traffic is allowed,</li><li>and what traffic should be blocked.</li></ul><p>For example:</p><ul><li>HR was blocked from accessing Finance</li><li>Guests were blocked from accessing all internal networks</li><li>IT retained full administrative access</li></ul><p>You can think of ACLs as security guards standing at different doors deciding who is allowed through.</p><p>The step for this configuration would be:</p><p>access-list 100 deny ip 192.168.40.0 0.0.0.255 192.168.0.0 0.0.255.255<br>access-list 100 permit ip any any<br><strong>To apply it:</strong><br>interface g0/0.40<br>ip access-group 100 in</p><p><strong>BLOCK HR FROM FINANCE<br></strong>access-list 101 deny ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255<br>access-list 101 permit ip any any<br><strong>To apply it:<br></strong>interface g0/0.10<br>ip access-group 101 in</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*92FFhhhrsh0cX7-QGoHz0g.jpeg" /><figcaption>Verifying access-list after configuration</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hkgOQLsv1q3dBdiZvs1zhg.jpeg" /><figcaption>Verifying full configurations</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*81SlFMUdrJiyA4tmKPwd0A.jpeg" /><figcaption>Verifying the full configuration</figcaption></figure><h3>Automatic IP Addressing with DHCP</h3><p>I also configured DHCP so devices could automatically receive IP addresses. Instead of manually assigning addresses one by one, the router automatically distributed:</p><ul><li>IP addresses</li><li>subnet masks</li><li>default gateways</li></ul><p>This is how most real office environments work because it saves time and reduces configuration mistakes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IPBj-Pik0VC3AbDesL8yxQ.jpeg" /><figcaption>Configuring and testing DHCP</figcaption></figure><h3>Adding Port Security</h3><p>One of my favorite parts of this project was implementing Port Security. Here’s why it matters.</p><p>Imagine someone disconnects an HR computer and plugs in a personal laptop. Without security, the network might allow it immediately, but with Port Security enabled:</p><ul><li>the switch learns trusted device MAC addresses,</li><li>limits how many devices can connect,</li><li>and can automatically shut down a port if an unauthorized device appears.</li></ul><p>So the network becomes harder to abuse physically.<br>To achieve these, I used the configuration below on the switch:</p><p>interface range fa0/1–2</p><p>switchport port-security<br>switchport port-security maximum 1<br>switchport port-security violation shutdown<br>switchport port-security mac-address sticky</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x8MfbpSk3jWL5kR4iseUYQ.jpeg" /><figcaption>Configure Port Security and Verify it</figcaption></figure><h3>Testing the Security Rules</h3><p>After configuring everything, I tested the network to make sure the restrictions actually worked. Some of the tests included:</p><p>HR devices communicating within HR<br>IT accessing all VLANs<br>Guest devices being blocked from internal departments<br>Finance remaining isolated from HR<br>Unauthorized devices triggering Port Security violations</p><p>This was one of the most satisfying parts of the project because the network behaved exactly the way a real office environment should.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rAFEZJZgNItD-_9TOmA7yg.jpeg" /><figcaption>From Guest PC1, ping 192.168.10.1. The failure ping shows the ACL block worked</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YTkeG0jI_1HVz3sEvtnjPQ.jpeg" /><figcaption>from HR PC1, ping 192.168.20.1 (Finance), the ping failure shows the ACL block worked</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cLjDvKhS9TG-fWsPG_dKRw.jpeg" /><figcaption>from IT PC1, ping 192.168.10.1. (HR). This ping worked</figcaption></figure><h3>What I Took Away from This Project</h3><p>One thing I really enjoyed about this project was seeing how networking and security work together. A lot of people think networking is just “connecting devices,” but modern networks are really about:</p><ul><li>control,</li><li>organization,</li><li>segmentation,</li><li>and protection.</li></ul><p>Even a small office network can become insecure if everything is allowed to communicate freely. <br>This project gave me a much better understanding of how enterprise networks are designed to keep systems separated, manageable, and secure.<br>And honestly, it made me appreciate how much planning goes into the networks people use every day without even noticing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*URlubAM8-QuQuAJAVLsU4A.png" /><figcaption>The full details of the project</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0777a05d4745" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enterprise Network Design: Building a Multi-Site Company Network with VLANs, OSPF, DHCP and NAT…]]></title>
            <link>https://medium.com/@brightkakatech/enterprise-network-design-building-a-multi-site-company-network-with-vlans-ospf-dhcp-and-nat-e829ebaf5b44?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/e829ebaf5b44</guid>
            <category><![CDATA[enterprise-network-design]]></category>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Fri, 08 May 2026 15:50:23 GMT</pubDate>
            <atom:updated>2026-05-08T17:59:32.816Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Enterprise Network Design: Building a Multi-Site Company Network with VLANs, OSPF, DHCP and NAT Using Cisco Packet Tracer</strong></h3><p>Every company with multiple office locations faces the same fundamental challenges, which are:</p><p>How do you connect headquarters to branches securely, efficiently, and reliably? How do you make sure the HR department cannot accidentally access Finance servers?</p><p>How do you give hundreds of employees internet access without buying hundreds of public IP addresses?</p><p>So, in this project, I designed and implemented a full enterprise network from scratch, simulating a real company with one head office and three branch offices, each with its own local network, all connected and communicating seamlessly.</p><p><strong>Project Overview</strong></p><p><strong>Tool: </strong>Cisco Packet Tracer<br><strong>Topology: </strong>1 HQ + 3 Branch Offices<br><strong>Technologies: </strong>VLANs, Trunking, Inter-VLAN Routing, OSPF, DHCP, NAT<br><strong>Devices: </strong>4 Routers, 5 Switches, 7 PCs.</p><p>Brief description of the technologies used:<br>Technologies Used</p><ul><li><strong>VLANs: </strong>To segment departments at HQ</li><li><strong>Trunking (802.1Q): </strong>To carry multiple VLANs across a single cable</li><li><strong>Inter-VLAN Routing (SVIs): </strong>To allow controlled communication between departments</li><li><strong>OSPF: </strong>To automatically share routes between all sites</li><li><strong>DHCP: </strong>To automatically assign IP addresses to branch PCs</li><li><strong>NAT/PAT: </strong>To allow all internal devices to share one public IP for internet access</li></ul><h3><strong>Network Topology</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H24dL1FG0ALswGDM5YFoKw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qx1aC0-IyGN8Uu1wGXexSg.jpeg" /></figure><h3>IP Addressing Scheme</h3><p>Before touching any device, I mapped out the entire address space. This is the foundation everything else depends on — without a clear plan, IP conflicts will cause the network to fail in unpredictable ways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NmaMK5DMx15PeERkHA2P2w.png" /></figure><p>N/B: You may be wondering Why<strong> /30 on WAN links?</strong> <br>A point-to-point link between two routers only ever needs exactly two IP addresses one per end. A /30 subnet provides exactly 2 usable addresses, wasting the fewest addresses possible.</p><p><strong>Step 1: VLAN Configuration</strong><br>I created four VLANs on the HQ access switch, each representing a department, and assigned physical switch ports to each VLAN.<br>I did this because without VLANs, every device in the building sits on the same network and can freely communicate with every other device. This is a serious security problem if a staff member in HR could access Finance servers, and a virus on one PC could spread instantly to every other PC. VLANs create logical separation on the same physical infrastructure.</p><p>The configuration: <br>vlan 10<br> name Management<br>vlan 20<br> name HR<br>vlan 30<br> name IT<br>vlan 40<br> name Finance</p><p>interface fa0/1<br> switchport mode access<br> switchport access vlan 10<br>interface fa0/2<br> switchport mode access<br> switchport access vlan 20<br>interface fa0/3<br> switchport mode access<br> switchport access vlan 30<br>interface fa0/4<br> switchport mode access<br> switchport access vlan 40</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*57D6fd1H7zLcoORQp5v86A.jpeg" /><figcaption>HQ Access SW VLANs and Access Ports</figcaption></figure><p><strong>Step 2: Trunking<br></strong>I created four VLANs on the HQ access switch, each representing a department, and assigned physical switch ports to each VLAN.<br>I did this because without VLANs, every device in the building sits on the same network and can freely communicate with every other device. This is a serious security problem when a staff member in HR could access Finance servers, and a virus on one PC could spread instantly to every other PC. VLANs create logical separation on the same physical infrastructure.</p><p>The configuration<br>! On access switch — uplink to L3 switch<br>interface gi0/1<br> switchport mode trunk<br> switchport trunk allowed vlan 10,20,30,40</p><p>! On L3 switch — downlink from access switch<br>interface gi1/0/2<br> switchport mode trunk<br> switchport trunk allowed vlan 10,20,30,40</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IxS-r1oM4qzM3bBwa0p62Q.jpeg" /><figcaption>Trunking on HQ-L3-SW</figcaption></figure><h3>Step 3: Inter-VLAN Routing via SVIs</h3><p>I configured Switched Virtual Interfaces (SVIs) on the Layer 3 switch, one virtual interface per VLAN and enabled ip routing to allow traffic to flow between VLANs.<br>VLANs by design cannot communicate with each other. But departments do have legitimate reasons to communicate; HR needs to print to the IT VLAN printer, Finance needs to pull reports from a Management VLAN server. SVIs act as virtual gateways inside the switch, one per VLAN, enabling controlled inter-department communication without sending traffic to an external router.</p><p>The configuration:<br>ip routing</p><p>interface vlan 10<br> ip address 192.168.10.1 255.255.255.0<br> no shutdown<br>interface vlan 20<br> ip address 192.168.20.1 255.255.255.0<br> no shutdown<br>interface vlan 30<br> ip address 192.168.30.1 255.255.255.0<br> no shutdown<br>interface vlan 40<br> ip address 192.168.40.1 255.255.255.0<br> no shutdown</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ccY0CXnIUZvret9RHBJbpQ.jpeg" /></figure><p>To Verify:<br>HQ-L3-SW&gt; show ip interface brief</p><p>Vlan10 192.168.10.1 YES manual up up<br>Vlan20 192.168.20.1 YES manual up up<br>Vlan30 192.168.30.1 YES manual up up<br>Vlan40 192.168.40.1 YES manual up up</p><p><strong>Step 4: WAN Serial Links<br></strong>I connected the HQ router to each branch router using serial interfaces configured with /30 subnets, one point-to-point link per branch.<br>The serial links represent the physical connections between geographically separate locations, equivalent to the leased lines or MPLS circuits that ISPs provide to connect company offices.</p><p>Configuration (HQ Router)<br>interface gi0/0<br> ip address 192.168.0.1 255.255.255.0<br> no shutdown</p><p>interface se0/0/0<br> ip address 10.0.0.1 255.255.255.252<br> clock rate 64000<br> no shutdown</p><p>interface se0/0/1<br> ip address 10.0.0.5 255.255.255.252<br> clock rate 64000<br> no shutdown</p><p>interface se0/1/0<br> ip address 10.0.0.9 255.255.255.252<br> clock rate 64000<br> no shutdown</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Dy5aVkG2LUdF_HDFnhszA.jpeg" /><figcaption>WAN Configuration on HQ Router</figcaption></figure><p><strong>Step 5: OSPF Routing</strong></p><p>I configured OSPF (Open Shortest Path First) on all routers and the L3 switch, causing every device to automatically discover and share routes to every subnet in the entire network.<br>Without a routing protocol, each router only knows about directly connected networks. Without OSPF I would have to manually type static routes on every single router for every single subnet and update them all manually every time anything changed. OSPF completely automates this.</p><p>Configuration (HQ Router)<br>router ospf 1<br> router-id 1.1.1.1<br> network 192.168.0.0 0.0.255.255 area 0<br> network 10.0.0.0 0.0.0.3 area 0<br> network 10.0.0.4 0.0.0.3 area 0<br> network 10.0.0.8 0.0.0.3 area 0</p><p>Configuration (Branch Routers)<br>! Branch 1<br>router ospf 1<br> router-id 2.2.2.2<br> network 172.16.1.0 0.0.0.255 area 0<br> network 10.0.0.0 0.0.0.3 area 0</p><p>! Branch 2<br>router ospf 1<br> router-id 3.3.3.3<br> network 172.16.2.0 0.0.0.255 area 0<br> network 10.0.0.4 0.0.0.3 area 0</p><p>! Branch 3<br>router ospf 1<br> router-id 4.4.4.4<br> network 172.16.3.0 0.0.0.255 area 0<br> network 10.0.0.8 0.0.0.3 area 0</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Dy5aVkG2LUdF_HDFnhszA.jpeg" /><figcaption>HQ Router OSPF</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Sm0Ihu8YzBIHzr-H_be4g.jpeg" /><figcaption>Show ip route</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Dy5aVkG2LUdF_HDFnhszA.jpeg" /><figcaption>HQ Router WAN, LAN and OSPF Configurations</figcaption></figure><p>The HQ router now has a complete map of the entire network, every VLAN subnet and every branch LAN, all learned automatically via OSPF.</p><p><strong>Step 6: DHCP Configuration</strong></p><p>I configured DHCP pools on each branch router so that PCs automatically receive IP addresses, subnet masks, default gateways, and DNS server addresses the moment they connect to the network.<br>In an organisation with hundreds of devices, manually assigning IP addresses is completely impractical. DHCP automates this entirely when a device joins the network and is fully configured within seconds.</p><p>Configuration<br>! Branch 1<br>ip dhcp excluded-address 172.16.1.1 172.16.1.10<br>ip dhcp pool BRANCH1<br> network 172.16.1.0 255.255.255.0<br> default-router 172.16.1.1<br> dns-server 8.8.8.8</p><p>! Branch 2<br>ip dhcp excluded-address 172.16.2.1 172.16.2.10<br>ip dhcp pool BRANCH2<br> network 172.16.2.0 255.255.255.0<br> default-router 172.16.2.1<br> dns-server 8.8.8.8</p><p>! Branch 3<br>ip dhcp excluded-address 172.16.3.1 172.16.3.10<br>ip dhcp pool BRANCH3<br> network 172.16.3.0 255.255.255.0<br> default-router 172.16.3.1<br> dns-server 8.8.8.8</p><p><strong>Step 7: NAT/PAT Configuration</strong></p><p>I configured PAT (Port Address Translation) on the HQ router so that all internal private IP addresses across HQ and all three branches are translated to a single public IP address when accessing the internet.<br>Private IP ranges (192.168.x.x, 172.16.x.x, 10.x.x.x) are not routable on the public internet. NAT solves this by replacing private source addresses with the router’s public IP, then tracking translations so replies return to the correct internal device.</p><p>The configuration</p><p>interface gi0/1<br> ip nat outside</p><p>interface gi0/0<br> ip nat inside</p><p>ip access-list standard NAT_TRAFFIC<br> permit 192.168.0.0 0.0.255.255<br> permit 172.16.0.0 0.0.255.255<br>ip nat inside source list NAT_TRAFFIC <br>interface se0/0/0 overload</p><h3>End-to-End Test: The Proof</h3><p>The ultimate test of the entire network: a ping from an HQ department PC all the way to a branch PC, crossing VLANs, the L3 switch, the HQ router, a serial WAN link, and a branch router.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RDAYDYZypfzitpoIu46mtQ.jpeg" /><figcaption>Pinging 192.168.20.10 from the Finace PC</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RU6Eo9YHTHhlx80jH1l3lA.jpeg" /><figcaption>Pinging 192.168.10.1 from the IT PC</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JMK0NrYKcFp8eR6Z_ktgsA.jpeg" /><figcaption>Verifying the HQ Router Learned the VLANs</figcaption></figure><h3>Challenges I Encountered and How I Solved Them</h3><h3>Challenge 1 — SVIs Not Appearing in show ip interface brief</h3><p>Initially the VLAN SVI interfaces were missing from the output. The fix was scrolling down in the CLI, the physical ports listed first pushed the VLAN interfaces off screen. This taught me to always scroll through the full output of show commands rather than assuming the first screen shows everything.</p><h3>Challenge 2: End-to-End Ping Timing Out Initially</h3><p>The first ping attempt to a branch PC timed out completely. The issue was that branch PCs had not been added to the topology yet, there was nothing at that IP address to reply. Once branch PCs were added and assigned IPs via DHCP, the ping succeeded immediately.</p><p><strong>Lesson learned:</strong> Always verify that the destination device exists and has a valid IP before assuming a routing or configuration problem.</p><h3>Real World Relevance</h3><p>This project directly mirrors what network engineers design and deploy in real organisations every day.</p><p>Imagine a bank with its head office in Dublin and branches in Limerick, Cork, and Wexford. The tellers in each branch need to access the customer database at head office. The HR department sends payroll data securely. The IT team manages all devices remotely. None of this works without a structured, secure, and scalable network exactly like the one built in this project.</p><p>The same technologies power the networks of telecommunications companies, hospitals, universities, government institutions, and multinational corporations. VLANs keep sensitive data isolated. OSPF keeps routing automatic and resilient. DHCP keeps device management practical at scale. NAT keeps internet access cost-effective. Together they form the foundation of modern enterprise networking.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e829ebaf5b44" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft 365]]></title>
            <link>https://medium.com/@brightkakatech/microsoft-365-18863964f772?source=rss-7a78a9f37345------2</link>
            <guid isPermaLink="false">https://medium.com/p/18863964f772</guid>
            <dc:creator><![CDATA[Bright Amalahu]]></dc:creator>
            <pubDate>Wed, 25 Feb 2026 19:09:49 GMT</pubDate>
            <atom:updated>2026-02-25T19:09:49.633Z</atom:updated>
            <content:encoded><![CDATA[<p>Microsoft 365</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0egcModEN3tVe2j5sQiDdg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rXHSKtSY3hUquQ6eLiiN_g.jpeg" /><figcaption>Creating user Jane Doe</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*92B4vD-6aBY0ec17uqug3Q.jpeg" /><figcaption>creating user John Bull</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iztxkG-LcQGnEainLRWjNw.jpeg" /><figcaption>Assigning user to a priviledged role</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mhw_MGlFhS8tjz5gsuZ5Wg.jpeg" /><figcaption>creating an email for a group within the organization</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BQr4z9jN7lmCOqGw2Abo0A.jpeg" /><figcaption>Creating Group</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vEOyFea9M2cBa4uDfL2pHw.jpeg" /><figcaption>Creating HR department group</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O8eeY7g85nxQIv1gtanaeQ.jpeg" /><figcaption>Group Created</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N4outx6YXXO6KqXACg6k0Q.jpeg" /><figcaption>Creating MFA</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ZzX0CwzDQ7fn-OxaNtthA.jpeg" /><figcaption>enabling user to MFA</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j09rxn8FfoowvOa5Czqx4Q.jpeg" /><figcaption>Enabled MFA to a user</figcaption></figure><p>I completed this hands-on Microsoft 365 Admin Center simulation to strengthen my cloud administration and identity management skills. Using a trial environment, I built a structured enterprise setup with five departments (IT, HR, Finance, Sales, and Operations) and configured multiple users with defined roles, job titles, and department attributes.</p><p>As part of the project, I focused on identity and access management by organizing users, configuring administrative roles, and exploring security settings within Microsoft Entra ID (Azure AD). I also simulated collaboration workflows by setting up shared resources and managing user permissions.</p><p>Although this was completed in a trial environment without full licensing features, the project allowed me to gain practical experience in Microsoft 365 administration, IAM concepts, RBAC, and enterprise cloud structure design.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18863964f772" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>