<?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 Michael Henry Lazenby on Medium]]></title>
        <description><![CDATA[Stories by Michael Henry Lazenby on Medium]]></description>
        <link>https://medium.com/@michaelazenby?source=rss-52aee79c8789------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WB3gZYaASNi7RgXb</url>
            <title>Stories by Michael Henry Lazenby on Medium</title>
            <link>https://medium.com/@michaelazenby?source=rss-52aee79c8789------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:15:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@michaelazenby/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[Azure Logic Apps: Automating the onboarding process]]></title>
            <link>https://medium.com/@michaelazenby/automating-the-onboarding-process-602f064c38f7?source=rss-52aee79c8789------2</link>
            <guid isPermaLink="false">https://medium.com/p/602f064c38f7</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[sysadmin]]></category>
            <dc:creator><![CDATA[Michael Henry Lazenby]]></dc:creator>
            <pubDate>Sun, 03 Sep 2023 04:24:13 GMT</pubDate>
            <atom:updated>2023-09-03T22:25:39.798Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IiLEMek550hKK7h0edsYjQ.png" /></figure><h4>Overview</h4><p>In this project, we are going to automate the process of onboarding a new user into Azure AD. We will utilize the Azure Logic apps to create and design our workflow. This project is entry-level, and you do not need advanced knowledge about the Azure ecosystem.</p><p><strong>What are Azure Logic Apps?</strong></p><p>Azure Logic apps are a low-code or no-code solution, and they are helpful when trying to automate organizational processes with predefined connectors made by Microsoft. For example, an organization might need to trigger an event when an email is received, and this is something complex to do while writing your own code, but Microsoft’s connectors make this a simple process.</p><p><strong>Steps</strong></p><ol><li>Create a new Azure AD Instance</li><li>Logic App Workflow design</li><li>Create an Azure AD user</li><li>Monitoring and Review</li></ol><h4>Step 1: Creating a new Azure AD tenant</h4><p>When creating a new Azure AD tenant, navigate to Azure Active Directory, click on <strong>Manage tenants, </strong>and click <strong>Create. </strong>We must fill out the basic information like our organization’s name and domain. After we click on <strong>Review + Create</strong>, it will take a few minutes to populate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n2Q19f3y3Fny4CEYeAjyIg.png" /></figure><h4>Step 2: Creating an Azure Logic App</h4><p>Head to the Logic App section via the Azure portal and click <strong>“Add.”</strong> We must place the logic app inside a subscription and a resource group. We will also need to name our logic app, and you should name it something easily identifiable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ABKBwy-DeNW2emKIoXrZA.png" /></figure><p>Then, we will click <strong>“Review + Create.” </strong>We will be redirected back to the Logic App directory, and then we will navigate to our newly created app. Once inside, click the <strong>“Logic app designer,”</strong> where we will start designing our workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HgDqrdnRkD4id7SNja9csw.png" /></figure><h4>Step 3: Logic App workflow</h4><p>Click on “<strong>Create a workflow in Designer,”</strong> and it will prompt us to create a new workflow, as seen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*gFEL-NBshiBu9rj1d0VUqw.png" /></figure><p>Name the workflow; once again, it is essential to name it something recognizable. We also have the option to choose a state type, and we will select <strong>“Stateful.”</strong> We choose stateful in this scenario because our app will deal with inputs and outputs that change the state. After we fill out that information, we will press <strong>“Create,”</strong> once the app has rendered, click on the app’s name, and it will redirect us to our logic apps workflow page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SYlE9KuR9HDyjvCCfOV9zw.png" /></figure><p>Click on <strong>“Edit in Designer” </strong>and select “<strong>Get started”. </strong>You will be taken to the logic app designer page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gz12DbxAp9Bmd5CvxcEDPA.png" /></figure><p>Once you’re inside the designer page, click <strong>“Add a trigger,”</strong> this is how we will start designing our application. A trigger is an input and output event. Click on the trigger and search for HTTP. We are going to select <strong>“When an HTTP request is received.”</strong> You will also need to fill out the JSON schema, which you can do with a JSON convertor. If you have never used a JSON converter, <a href="https://www.liquid-technologies.com/online-json-to-schema-converter">click here</a> for a simple convertor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8FN98ZEsI_iUh2vPM9YlA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sA7aeFxW2frs4D7YkX0MXA.png" /></figure><p>We will then click on the <strong>“</strong>+<strong>”</strong> and add another action. The action we will be adding is to “<strong>create a user.” </strong>We will fill out the basic information for the user provided to us via the HTTP request: the user’s first and last name, phone number, display name, Mail Nickname, Password, and the user principal name(UPN). You will fill out the fields by clicking on them and selecting <strong>“Dynamic content” </strong>or <strong>“Expression.”</strong> The Dynamic content is the information from the HTTP request, and the expressions are essential functions Microsoft provides.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FVOIRZaWGf1XIebCIi854A.png" /></figure><p>You can create the display name however you would like, but most organizations combine the employee’s first and last name. You will also need to create a password that can be a statically typed or a dynamic password. The User Principle name must be another combination of the first and last name or another unique identifier your organization uses for their employees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_SdCoL8f2q5WniN3WbZeA.png" /></figure><p>Click on “+” again to add another step, and we will search for “<strong>Add user to group,” </strong>as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cgvhmCvl2B2Jm5daJ7zmGw.png" /></figure><p>Once we click the <strong>“Add user to group”</strong> action, fill out the required information, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TUXbDA6pzrds8cUqMTn6oQ.png" /></figure><p>Add the Group ID. The group ID information is in the Groups section in the Azure portal, and you will copy and paste the group ID. We created the user ID in the previous step. You must click inside the <strong>“User ID” </strong>box, and another box will appear with dynamic content options. You will choose “<strong>ID”, </strong>as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZJCjn88aKMnTZUns9bus9Q.png" /></figure><p>After filling out the information to add a user to the group, we have one more step to add to our logic app: to send an email notifying you that a new user has been created. Click on the “+” to add another step, and this time we will search for “<strong>Send an email.” </strong>You can choose from various email providers, but using your Outlook email will be more straightforward for this project. You will be prompted to fill out the information for your email, as seen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ujm0KGKAQ-9fsk36PUaexw.png" /></figure><p>You can put any information you want to include in the body and the subject line. You must also choose who you want to send the confirmation email to. You have completed your logic app, and now it is time to test it to see if it is working correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KfPO8J2I2Cxb86vEj5TMLQ.png" /></figure><h4>Testing the Logic app</h4><p>In the Logic app designer page, navigate to the top and click <strong>“Run Trigger,” </strong>A drop-down menu will appear, and click <strong>“Run with payload.” </strong>You will prompted to fill out the JSON to create your user.</p><p><strong>Note</strong> — You can use a different method to test the HTTP request if you would like, but I choose to use the testing method within Azure just because it’s more convenient. You can use services like <a href="https://www.postman.com/">Postman</a> if you prefer a different service than Azure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XENtIRJpgQV-xZFgesWC1Q.png" /></figure><p>Once you click “<strong>Run,”</strong> it will trigger your application, and you can see if the event was successful in the overview section of our Logic app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xRO75J-VUKY3oqsBQD72eg.png" /></figure><p>If it states that your trigger was successful in the overview page, you can navigate to the users and groups section to verify the user was made correctly and added to the right group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h3Hls8bznpn7kljMeyXoaw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fkEBjReBvNKWsejMLNRl7Q.png" /></figure><p>The last step is verifying that you received an email with a user’s creation notification. Head over to your email and ensure you received it; if you did, it indicates that your Logic app is working correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xRF_M2kWF52z8hPoD66u4g.png" /></figure><h4>Congratulations!</h4><p>You have successfully created your first Azure Logic App. You have learned the basic process of creating an Azure Logic App, and you can do many more amazing things with it. I would recommend continuing to practice and creating other Logic apps for other processes that can be automated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=602f064c38f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>