<?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 vamsi Grandhi on Medium]]></title>
        <description><![CDATA[Stories by vamsi Grandhi on Medium]]></description>
        <link>https://medium.com/@vamsikrishna.vk6?source=rss-98c400c7d0d8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_-Lxk0sY7ybig_ZMqOXsiQ.jpeg</url>
            <title>Stories by vamsi Grandhi on Medium</title>
            <link>https://medium.com/@vamsikrishna.vk6?source=rss-98c400c7d0d8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 06:33:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vamsikrishna.vk6/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[Magento 2 APIs for Developers: Everything You Need to Know]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/magento-2-api-guide-streamlining-customer-product-pricing-management-ee7c65f7371f?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee7c65f7371f</guid>
            <category><![CDATA[magento-2]]></category>
            <category><![CDATA[magento-development]]></category>
            <category><![CDATA[magento]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[medium]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Mon, 03 Mar 2025 07:07:46 GMT</pubDate>
            <atom:updated>2025-03-03T07:09:18.183Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Introduction</strong></h3><p>Magento 2 is one of the most popular eCommerce platforms, offering flexibility, scalability, and a rich set of features for online businesses. To enable seamless integration with third-party applications, Magento 2 provides a robust API framework. These APIs allow developers to interact with Magento’s core functionalities programmatically for data synchronization, automation and external system integrations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/0*R6cw0qmGknC-87Ch.jpg" /></figure><h3>What are Magento 2 APIs?</h3><p>These APIs allow developers to interact with Magento system programmatically. Enabling external applications to:</p><ul><li>Create, update, and manage customers, companies and products.</li><li>Handle the order, payments, invoices and shipments.</li><li>Create, update and manage prices, inventory and exchange rates.</li><li>Also helps to configure the CMS content and store configurations.</li></ul><p><strong>Magento 2 supports two API types:</strong></p><ol><li>REST API</li><li>GraphQL</li></ol><p>Both API facilitate integration with ERP, CRM, mobile apps and custom application tools.</p><h3><strong>Why APIs Are Essential for Automation &amp; Integration</strong></h3><p>APIs play a crucial role in modern eCommerce by enabling seamless communication between different systems. Here’s why they are essential:</p><h4>1. Third-Party Integrations</h4><ul><li>It helps integrating with ERP, CRM and many other services.</li><li><strong>Example:</strong> Connecting Magento with SAP, Salesforce and more for streamlining the operations.</li></ul><h4>2. Synchronizing Data in Real-Time</h4><ul><li>Helps in synchronizing data from various source on real-time basis with no error and on time.</li><li><strong>Example:</strong> Synchronization of inventory levels between magento and the source systems.</li></ul><h4>3. Scalability &amp; Performance Optimization</h4><ul><li>It handle huge loads of data and transactions efficiently</li><li><strong>Example:</strong> Using APIs to fetch the required data, reducing the unnecessary load on the system.</li></ul><h4>4. Business Processes Automation</h4><ul><li>It helps in automating the repetitive tasks such as order processing, inventory changes and price management.</li><li>Which helps in reducing manual intervention, saving time and also minimizing the errors.</li></ul><h4>5. UnifiedExperience</h4><ul><li>Allows businesses to provide a consistent shopping experience across websites, mobile apps, and marketplaces.</li><li><strong>Example:</strong> Syncing Magento 2 products with Amazon, eBay and Mobile Apps.</li></ul><h3>REST vs GraphQL in Magento 2</h3><h4>1. REST API in Magento 2</h4><p>The REST API follows a resource based approach, here each entity (customer, company, product, order) has a dedicated endpoint.</p><h4>How it Works</h4><ul><li>Uses <strong>HTTP methods</strong> (GET, POST, PUT, DELETE) for CRUD operations.</li><li>Responses are usually in JSON format.</li></ul><pre>GET /rest/V1/products/{sku}</pre><h4>2. GraphQL API in Magento 2</h4><p>GraphQL allows clients to query only the required data, reducing unnecessary load on the server</p><h4>How it Works</h4><ul><li>Clients send a query requesting specific data fields.</li><li>Response contains only the relevant data related to required made.</li><li><strong>Example</strong> query to fetch product name, price, product type and websiteId:</li></ul><pre>{<br>  products(filter: { sku: { eq: &quot;Prod-125&quot; } }) {<br>    items {<br>      name<br>      type_id<br>      price {<br>        regularPrice {<br>          amount {<br>            value<br>            currency<br>          }<br>        }<br>      }<br>      websites {<br>        id<br>      }<br>    }<br>  }<br>}</pre><h3><strong>Which API to Choose?</strong></h3><p>✅ REST API is ideal for traditional integrations that depend on standard API methods.</p><p>✅ GraphQL is well-suited for modern applications like SPAs and PWAs, where fetching only the required data improves performance.</p><p>✅ Many projects follow a hybrid approach, using REST for backend automation and GraphQL for frontend data retrieval, ensuring both efficiency and flexibility.</p><p>Enjoyed this blog? If you found this helpful, feel free to clap, share, or follow for more Magento insights.</p><p>✔ <strong>GraphQL</strong> works best for modern applications like <strong>SPAs and PWAs</strong>, where fetching only the necessary data is crucial for performance.</p><p>✔ Many projects adopt a <strong>hybrid approach</strong>, leveraging <strong>REST for backend processes</strong> and <strong>GraphQL for frontend queries</strong> to achieve efficiency and flexibility.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee7c65f7371f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shopify Admin API: A Complete Guide for Beginners]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/shopify-admin-api-a-complete-guide-for-beginners-a33fe302a949?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/a33fe302a949</guid>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[shopify-development]]></category>
            <category><![CDATA[shopify-store]]></category>
            <category><![CDATA[shopify-apps]]></category>
            <category><![CDATA[shopify]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Mon, 10 Feb 2025 16:54:58 GMT</pubDate>
            <atom:updated>2025-02-10T16:54:58.107Z</atom:updated>
            <content:encoded><![CDATA[<p>What is Shopify Admin API?</p><p>The Shopify Admin API allows developers programmatically manage store data, including products, orders, customers, shipping, and more. It’s the important path for creating Shopify apps, automating workflows, and integrating external services with Shopify stores.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qrksXy7XW2XnECEb.jpg" /></figure><p>Key Features of Shopify Admin API which can be used</p><h3>1. Product &amp; Inventory Management</h3><ul><li>We can create, update, delete, and manage products.</li><li>Add or modify product variants and options.</li><li>Track inventory levels and update stock details based on source data.</li></ul><h3>2. Order Processing</h3><ul><li>We can retrieve, update, and fulfill orders.</li><li>We can even manage the order transactions, payments and processing details.</li><li>We can sync this data with external third-party services.</li></ul><h3>3. Customer Management</h3><ul><li>We can create, update, and delete customer records.</li><li>Retrieve customer order history and contact details.</li><li>Segment customers based on behavior and purchase history.</li></ul><h3>4. Storefront Customization</h3><ul><li>Programmatically modify themes and templates.</li><li>We can even manage storefront assets, including images and scripts.</li><li>We can get benifited with metafields for custom data storage.</li></ul><h3>5. Reporting &amp; Analytics</h3><ul><li>We can retrieve the sales and inventory reports using the API.</li><li>Track key performance metrics using API-based reporting.</li></ul><h3>6. Shipping &amp; Fulfillment</h3><ul><li>Automate shipping workflows using third-party services.</li><li>Manage shipping rates, labels, and tracking efficiently.</li><li>Sync fulfillment data across multiple warehouses for better logistics.</li></ul><h3>Limitations of Shopify Admin API</h3><p>While the Shopify Admin API is powerful and flexible, it has some limitations that developers should be aware of:</p><ul><li><strong>Rate Limits</strong> — Shopify enforces API rate limits, which can restrict high-volume requests and require careful optimization.</li><li><strong>Access Restrictions</strong> — Some API endpoints require Shopify Plus or specific permissions, limiting access for standard plans.</li><li><strong>Latency Issues</strong> — Large stores with extensive data might experience slower API response times.</li></ul><h3>Product Limitations in Shopify Admin API</h3><ul><li><strong>Variant Limit</strong> — Each product can have a maximum of 100 variants, So need to decide what variants to upload on priority basis.</li><li><strong>Option Limit</strong> — Products can have maximum of 3 options (eg: material, color).</li><li><strong>Bulk Updates</strong> — Updating multiple products requires careful handling due to request rate limits.</li><li><strong>No Custom Product Types</strong> — Shopify enforces predefined product structures, limiting flexibility for unique catalog needs.</li><li><strong>Day Limit —</strong> Shopify has a daily limit of 50,000 variants per store.</li></ul><h3>Customer Limitations in Shopify Admin API</h3><ul><li><strong>Rate Limits</strong> — Bulk API calls are always imposed with some rate limits.</li><li><strong>Account Merging</strong> — Duplicate profile cannot be merged directly, need to do some manual work.</li><li><strong>Limited Bulk Imports</strong> — Customer imports need to be batched due to limitation on count.</li><li><strong>Restricted Access to Sensitive Data</strong> — Personal and payment details are not accessible via the API for security reasons.</li><li><strong>Address Limit</strong> — A Customer can have a maximum of 100 Addresses.</li><li><strong>Limited Order History Retrieval</strong> — Fetching a customer’s order history requires pagination for large datasets.</li></ul><h3>Order Limitations in Shopify Admin API</h3><ul><li><strong>Rate Limits</strong> — There are API rate limits for all the different options.</li><li><strong>Read-Only Completed Orders</strong> — Completed orders cannot be modified.</li><li><strong>Limited Editing On Orders</strong>— Only certain attributes, like notes and tags, can be updated; line items cannot be modified.</li><li><strong>No Order Merging</strong> — Shopify Doesn’t support the order merging.</li><li><strong>Limited Historical Order Access</strong> — Orders older than <strong>60 days</strong> may require special permissions for retrieval.</li><li><strong>Restricted Refunds &amp; Cancellations</strong> — Refunds and cancellations are subject to payment gateway limitations.</li><li><strong>No Direct Order Duplication</strong> — Orders cannot be duplicated via API; a new order must be created manually.</li></ul><p>Found this useful? Share it with your network and let’s connect! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a33fe302a949" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Shopify APIs: A Beginner’s Guide]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/getting-started-with-shopify-apis-a-beginners-guide-a4422a28f2f0?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4422a28f2f0</guid>
            <category><![CDATA[shopify]]></category>
            <category><![CDATA[shopify-store]]></category>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[shopify-apps]]></category>
            <category><![CDATA[shopify-development]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Sun, 09 Feb 2025 05:40:27 GMT</pubDate>
            <atom:updated>2025-02-09T05:40:27.538Z</atom:updated>
            <content:encoded><![CDATA[<p>Shopify is a leading eCommerce platform, and its powerful APIs enable developers to create custom apps, automate workflows, and enhance store functionalities. Whether you’re looking to integrate third-party tools, manage products programmatically, or build a custom storefront, Shopify APIs offer the flexibility you need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uv00WG_jrUYbyllX.jpg" /></figure><p>In this blog, I will cover:</p><ol><li>Different types of Shopify APIs and their use cases.</li><li>How to setup API access and make the requests.</li></ol><h3>Understanding Shopify APIs</h3><p>Shopify provides multiple APIs to cater for different use cases. Here’s a breakdown of the key ones:</p><h3>1. Admin API</h3><p>📌 <strong>Purpose:</strong> Manage store data such as products, orders and customers.<br>📌 <strong>Use Case:</strong> Automate inventory updates, process orders, or sync data with external apps.<br>📌 <strong>Access Methods:</strong> REST &amp; GraphQL</p><h3>2. Storefront API</h3><p>📌 <strong>Purpose:</strong> Create custom shopping experiences beyond Shopify’s default storefront.<br>📌 <strong>Use Case:</strong> Build headless commerce solutions using frameworks like React or Next.js.</p><h3>3. Checkout API</h3><p>📌 <strong>Purpose:</strong> Customize the checkout experience.<br>📌 <strong>Use Case:</strong> Implement a streamlined one-page checkout.</p><h3>4. Partner API</h3><p>📌 <strong>Purpose:</strong> Manage Shopify Partner apps and businesses.<br>📌 <strong>Use Case:</strong> Automate app submissions and analytics tracking.</p><h3>5. Billing API</h3><p>📌 <strong>Purpose:</strong> Handle app subscriptions and charges.<br>📌 <strong>Use Case:</strong> Implement billing for premium app features.</p><h3>Setting Up API Access</h3><p>To start using Shopify APIs, follow these steps:</p><h3>Step 1: Create a Shopify Partner Account</h3><p>1️⃣ Visit the Shopify Partner Dashboard and sign up.<br>2️⃣ Navigate to <strong>Apps</strong> → <strong>Create App</strong> (choose between private or public app).</p><h3>Step 2: Generate API Credentials</h3><p>1️⃣ In the Shopify Admin panel, go to <strong>Apps &gt; Manage Private Apps</strong>.<br>2️⃣ Set the required API scopes (e.g., read_products, write_orders).<br>3️⃣ Shopify will generate an <strong>API Key</strong> and <strong>Secret Key</strong>—store them securely.</p><h3>Step 3: Make Your First API Request</h3><p>Here’s how to fetch products using Shopify’s REST API:</p><h4>Using cURL</h4><pre>curl -X GET &quot;https://your-store.myshopify.com/admin/api/2024-01/products.json&quot; \<br>     -H &quot;X-Shopify-Access-Token: your_api_key&quot;</pre><h4>Using Python</h4><pre>import requests</pre><pre>API_URL = &quot;https://your-store.myshopify.com/admin/api/2024-01/products.json&quot;<br>headers = {&quot;X-Shopify-Access-Token&quot;: &quot;your_api_key&quot;}</pre><pre>response = requests.get(API_URL, headers=headers)<br>print(response.json())  # Display product details</pre><p>In my next blog, I will breifly explain about Shopify Admin APIs😊. Found this useful? Share it with your network and let’s connect! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4422a28f2f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Everything You Should Know About NoSQL Database]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/everything-you-should-know-about-nosql-database-bf4111692752?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf4111692752</guid>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[nosql]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Sun, 25 Jun 2023 07:20:46 GMT</pubDate>
            <atom:updated>2023-06-25T07:20:46.848Z</atom:updated>
            <content:encoded><![CDATA[<p>NoSQL, also referred to as “not only SQL”, “non-SQL”, is an approach to database design that enables the storage and querying of data outside the traditional structures found in relational databases. While it can still store data found within relational database management systems (RDBMS), it just stores it differently compared to an RDBMS.</p><p>The acronym NoSQL was first used in 1998 by Carlo Strozzi while naming his lightweight, open-source “relational” database that did not use SQL. It was developed in the beginning as a response to web data, the need for processing unstructured data, and the need for faster processing.</p><p>Instead of the typical tabular structure of a relational database, NoSQL databases, employee data within one data structure, such as JSON document. Since this non-relational database design does not require a schema, it offers rapid scalability to manage large and typically unstructured data sets.</p><p>Famous companies which uses NoSQL Databases are Amazon, Adobe, Capgemini, SAP, etc..</p><p><strong>Examples:</strong> Apache Cassandra, MongoDB, CouchDB, and CouchBase</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*mXjYTr6bIcfnVYerJ_vDig.png" /></figure><p>Key Features of NoSQL Database:-</p><ol><li><strong>Support for Multiple Data Models</strong></li></ol><p>Where relational databases require data to be put into tables and columns to be accessed and analyzed, the various data model capabilities of NoSQL databases make them extremely flexible when it comes to handling data. They can ingest structured, semi-structured, and unstructured data with equal ease, whereas relational databases are extremely rigid, handling primarily structured data. Different data models handle specific application requirements. Developers and architects choose a NoSQL database to more easily handle different agile application development requirements.</p><p>2. <strong>Enhanced Scalability and Availability</strong></p><p>It’s not that relational databases can’t scale, its that they cant scale cheaply or easily, this is because there are built with a traditional client-server architecture.</p><p>In contrast, NoSQL solutions can offer a serverless, peer-to-peer architecture with consistent properties among all nodes. This allows for simplified scalability, making NoSQL highly adaptable for cloud applications. Performance is also improved, enabling more excellent read and write speeds and continuous availability.</p><p>Finally the auto replication capability of NoSQL helps in ensuring high availability of data.</p><p>3. <strong>Distribution Capabilities</strong></p><p>NoSQL Databases are designed to distribute data at global scale. It can use multiple cloud locations involving multiple data centers for write and read operations. Relational databases, in contrast uses a centralized application that is at a single location (Location Dependent). Due to this distribution feature the NoSQL data stored can be accessed faster with minimal wait times.</p><p>4.<strong> Zero Downtime</strong></p><p>This stands to be one of best feature of NoSQL database. This is made possible by the masterclass architecture, which allows for multiple copies of data to be maintained in different nodes. So, even if one nodes goes down, another node will grant access for its copy of its data.</p><h4><strong>When to use NoSQL Database</strong></h4><p>NoSQL databases like MongoDB are a good choice when your data is document-centric and doesn’t fit well into the schema of a relational database, when you need to accommodate massive scale, when you are rapidly prototyping, and a few other use cases.</p><p><strong>MongoDB </strong>Stands out to be the most used database in the NoSQL Category.</p><p>If you felt worth reading it Please Like and Share the blog. In the next blog lets see about different operations in MongoDB…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf4111692752" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HAPPY NEW YEAR!!!]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/happy-new-year-f22065cb6096?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f22065cb6096</guid>
            <category><![CDATA[patterns]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[new-year]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Sun, 01 Jan 2023 09:06:48 GMT</pubDate>
            <atom:updated>2023-01-01T09:08:26.685Z</atom:updated>
            <content:encoded><![CDATA[<p><em>First and foremost, Wishing everyone a Very Happy New Year. Today is the first blank page of a 365 days note book, write a good one. I hope this year turns out to be the best year of your life and your family too. Happy new year 2023!</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*kFP8cRkF9y11Dbrr.png" /></figure><p>It’s New Year, and I am sure most of us will be wanting to wish our dear one’s in some special way. This is a code which I wrote, which will help us to wish dear one’s.</p><p>By default, I took happy, new year as first two strings. You can modify and add which ever you want to wish. I have used magenta color, you can choose any color which you feel looks good for wishing.</p><p>Here, Below I am adding the code for printing new year wishes star pattern of any mentioned size.</p><p>Inputs needed:-</p><ol><li>A Special Person’s name.</li><li>A number for taking proper size.</li></ol><pre>import math<br><br>from colorama import Fore<br><br><br>def new_year(string_list, size_of_alphabet):<br>    for each_string in string_list:<br>        str_list = [&quot;&quot;] * size_of_alphabet<br>        last_index = size_of_alphabet - 1<br>        mid = size_of_alphabet // 2<br>        for alphabet in each_string:<br>            if alphabet == &quot;A&quot;:<br>                mid = size_of_alphabet // 2<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if (j in [0, size_of_alphabet - 1] and i != 0) or (<br>                                i == 0 and j not in [0, size_of_alphabet - 1]) \<br>                                or i == mid:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;B&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if j == last_index and i in [0, last_index]:<br>                            line_string += &quot; &quot;<br>                        elif j in [0, last_index] or i in [0, mid, last_index]:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;C&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i in [0, last_index] or j == 0:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;D&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if (i == 0 and j == last_index) or (j == last_index and i == last_index):<br>                            line_string += &quot; &quot;<br>                        elif i in [0, last_index] or j in [0, last_index]:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;E&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i in [0, mid, last_index] or j == 0:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;F&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i in [0, mid] or j == 0:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;G&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i == j == 0 or i == j == last_index or (i == 0 and j == last_index) or (<br>                                j == 0 and i == last_index) or (i == 0 and j == size_of_alphabet - 2) or (<br>                                i == mid and j == 1):<br>                            line_string += &quot; &quot;<br>                        elif j == 0 or i in [0, mid, last_index] or (i &gt; mid and j == last_index):<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;H&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i == mid or j in [0, last_index]:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;I&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i in [0, last_index] or j == mid:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;J&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i == last_index and j in [0, last_index] or (j == 0 and i &lt; mid):<br>                            line_string += &quot; &quot;<br>                        elif j in [0, last_index] or i == last_index:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;K&quot;:<br>                duplicate = mid<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;*&quot;<br>                    for j in range(mid + 1):<br>                        if j == abs(duplicate):<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>                    duplicate = duplicate - 1<br>            elif alphabet == &quot;L&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if j == 0 or i == last_index:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;M&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if j in [0, last_index] or (j == mid and i == mid) or (i == j &lt;= mid) or (<br>                                i + j + 1 == size_of_alphabet and i &lt;= mid):<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;N&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if j in [0, last_index] or (j == mid and i == mid) or i == j:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;O&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i in [0, last_index] and j in [0, last_index]:<br>                            line_string += &quot; &quot;<br>                        elif i in [0, last_index] or j in [0, last_index]:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;P&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i in [0, mid] and j == last_index:<br>                            line_string += &quot; &quot;<br>                        elif i in [0, mid] or j == 0 or (j == last_index and i &lt; mid):<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;Q&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i == j == 0 or (i == 0 and j == mid) or (i == mid and j == 0) or (i == mid and j == mid):<br>                            line_string += &quot; &quot;<br>                        elif (i == 0 and j &lt;= mid) or (j == 0 and i &lt;= mid) or (j == mid and i &lt;= mid) or (<br>                                i == mid and j &lt;= mid) or i == j &gt;= mid:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;R&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if (i == mid and j == last_index) or (i == 0 and j == last_index):<br>                            line_string += &quot; &quot;<br>                        elif i in [0, mid] or j in [0, last_index] or (j == last_index and i &lt; mid):<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;S&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i in [0, mid, last_index] or (j == 0 and i &lt; mid) or (j == last_index and i &gt; mid):<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;T&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if j == mid or i == 0:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;U&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i == last_index and j in [0, last_index]:<br>                            line_string += &quot; &quot;<br>                        elif i == last_index or j in [0, last_index]:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;V&quot;:<br>                width = size_of_alphabet * 2 - 1<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(width):<br>                        if j == i or i + j == width - 1:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;W&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot; &quot;<br>                    for j in range(size_of_alphabet):<br>                        if j in [0, last_index] or i == j &gt;= mid or (i + j + 1 == size_of_alphabet and i &gt;= mid):<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;X&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i == j or i + j == last_index:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;Y&quot;:<br>                mid = size_of_alphabet / 2<br>                if round(mid) == mid:<br>                    mid = mid - 1<br>                else:<br>                    mid = math.floor(mid)<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if (j == mid and i &gt;= mid) or (i == j &lt;= mid) or (i + j + 1 == size_of_alphabet and i &lt; mid):<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot;Z&quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot;&quot;<br>                    for j in range(size_of_alphabet):<br>                        if i in [0, last_index] or i + j + 1 == size_of_alphabet:<br>                            line_string += &quot;*&quot;<br>                        else:<br>                            line_string += &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            elif alphabet == &quot; &quot;:<br>                for i in range(size_of_alphabet):<br>                    line_string = &quot; &quot;<br>                    if len(str_list[i]) == 0:<br>                        str_list[i] += line_string<br>                    else:<br>                        str_list[i] += &quot;  &quot; + line_string<br>            else:<br>                print(f&quot;Please enter a proper character, skipping {alphabet}&quot;)<br>        for each in str_list:<br>            print(Fore.MAGENTA + each)<br>        for line in range(round(size_of_alphabet / 5)):<br>            print()<br><br><br>proper_list = 0<br>proper_size = 0<br>character_string, size = [], []<br><br>try:<br>    character_string = list(map(lambda x: x.upper(), input(&quot;Enter the Name of the Person:- &quot;)))<br>    proper_list = 1<br>except Exception as e:<br>    print(f&quot;Exception occured, Please enter Proper Name: {e}&quot;)<br>try:<br>    size = int(input(&quot;Enter the size of the characters:- &quot;))<br>    proper_size = 1<br>except Exception as e:<br>    print(f&quot;Exception occured, please enter proper size: {e}&quot;)<br><br><br>if proper_size and proper_list:<br>    new_year([&quot;HAPPY&quot;, &quot;NEW YEAR&quot;, character_string], size)<br>else:<br>    print(&quot;Either character list or size has raised an exception&quot;)</pre><p>Here, Below I am adding a example input and output of the code, where I am wishing myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*g8RywkVTkcurBl_qxDIHdg.png" /></figure><p>I Hope this is useful for many of you. If you feel this is worth using it. Please Like and share. Once Again a Very Happy New Year!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f22065cb6096" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn How To Make Python Star Pattern for Number List]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/learn-how-to-make-python-pattern-for-number-list-26167e7e717d?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/26167e7e717d</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[patterns]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Mon, 26 Dec 2022 13:58:37 GMT</pubDate>
            <atom:updated>2022-12-26T13:59:31.531Z</atom:updated>
            <content:encoded><![CDATA[<p>This Blog is all about printing the star pattern of integer number list. The Motivation for writing this blog was just I felt interested to try after completing the character logic.</p><p>This Code is also a dynamic size integer star printing logic. Here the numbers which will be printed are of the display board number format. Below I am attaching an image of the digital number image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*5pmu7c8l-Aa2qyIb6MbhoQ.png" /></figure><p>Actually, writing the logic for this integer printing is really easy. Just try for any random integer first and then u can make little modifications and get the logic for printing all the integers.</p><p>Basic Points:-</p><ol><li>For any multi-line star pattern two for loops are must.</li><li>For most of the patterns mid-point of size will be used.</li></ol><p>Here, Below I am adding the code for printing any list of integer star pattern of any mentioned size.</p><p>Inputs needed:-</p><ol><li>A Number List with Comma Separated.</li><li>A number for taking proper size.</li></ol><pre>def number_star_pattern(integer_list, size_of_integer):<br>    mid = size_of_integer // 2<br>    str_list = [&quot;&quot;] * size_of_integer<br>    for integer in integer_list:<br>        if integer == 0:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if i in [0, size_of_integer - 1] or j in [0, size_of_integer - 1]:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        elif integer == 1:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if j == mid:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        elif integer == 2:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if (0 &lt; i &lt; mid and j == 0) or (mid &lt; i &lt; size_of_integer - 1 and j == size_of_integer - 1):<br>                        line_string += &quot; &quot;<br>                    elif i in [0, mid, size_of_integer - 1] or j in [0, size_of_integer - 1]:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        elif integer == 3:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if i not in [0, mid, size_of_integer - 1] and j == 0:<br>                        line_string += &quot; &quot;<br>                    elif i in [0, mid, size_of_integer - 1] or j in [0, size_of_integer - 1]:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        elif integer == 4:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if (i == 0 and j not in [0, size_of_integer - 1]) or (i &gt; mid and j == 0) or \<br>                            (i == size_of_integer - 1 and j != size_of_integer - 1):<br>                        line_string += &quot; &quot;<br>                    elif i in [0, mid, size_of_integer - 1] or j in [0, size_of_integer - 1]:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        elif integer == 5:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if (0 &lt; i &lt; mid and j == size_of_integer - 1) or (mid &lt; i &lt; size_of_integer - 1 and j == 0):<br>                        line_string += &quot; &quot;<br>                    elif i in [0, mid, size_of_integer - 1] or j in [0, size_of_integer - 1]:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        elif integer == 6:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if 0 &lt; i &lt; mid and j == size_of_integer - 1:<br>                        line_string += &quot; &quot;<br>                    elif i in [0, mid, size_of_integer - 1] or j in [0, size_of_integer - 1]:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        elif integer == 7:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if i == 0 or j == size_of_integer - 1:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        elif integer == 8:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if i in [0, mid, size_of_integer - 1] or j in [0, size_of_integer - 1]:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        elif integer == 9:<br>            for i in range(size_of_integer):<br>                line_string = &quot;&quot;<br>                for j in range(size_of_integer):<br>                    if mid &lt; i &lt; size_of_integer - 1 and j == 0:<br>                        line_string += &quot; &quot;<br>                    elif i in [0, mid, size_of_integer - 1] or j in [0, size_of_integer - 1]:<br>                        line_string += &quot;*&quot;<br>                    else:<br>                        line_string += &quot; &quot;<br>                if len(str_list[i]) == 0:<br>                    str_list[i] += line_string<br>                else:<br>                    str_list[i] += &quot;  &quot; + line_string<br>        else:<br>            print(&quot;Please enter a valid single digit&quot;)<br>    for each in str_list:<br>        print(each)<br><br><br>proper_list = 0<br>proper_size = 0<br>digit_string, size = [], []<br>try:<br>    digit_string = map(int, input(&quot;Enter the number list (comma separated):- &quot;).split(&quot;,&quot;))<br>    proper_list = 1<br>except Exception as e:<br>    print(f&quot;Exception occured, Please enter proper comma separated integer list: {e}&quot;)<br>try:<br>    size = int(input(&quot;Enter the size of the digits:- &quot;))<br>    proper_size = 1<br>except Exception as e:<br>    print(f&quot;Exception occured, please enter proper size: {e}&quot;)<br># print(digit_string)<br>if proper_size and proper_list:<br>    number_star_pattern(digit_string, size)<br>else:<br>    print(&quot;Either Number list or size has raised an exception&quot;)</pre><p>Here, Below I am adding a example input and output of the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*LZVjxfobEJtEujObcssOWA.png" /></figure><p>This brings us to the end of this article where we have learned how we can implement different integer list star patterns in python. I hope you are clear with all that has been shared with you in this blog.</p><p>If you like this blog, please like, share and comment your points and do subscribe.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26167e7e717d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn How To Make Python Pattern for Alphabets]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/learn-how-to-make-python-pattern-for-alphabets-with-examples-223b9062c9f9?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/223b9062c9f9</guid>
            <category><![CDATA[patterns]]></category>
            <category><![CDATA[challenge]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Tue, 20 Dec 2022 16:27:16 GMT</pubDate>
            <atom:updated>2022-12-20T16:29:52.518Z</atom:updated>
            <content:encoded><![CDATA[<p>I know working with star patterns is really difficult. And that too when it comes to creating star pattern of alphabets and many will feel like Okay! This is not for me. When someone asked me for the solution of star pattern for alphabets I felt the same, that I can’t write the code for it.</p><p>But, I was able to write dynamic size alphabet star printing logic easily and in very less time. Only thing important which we need to do is to take any random alphabet and try to map it to any sample size and then note down the proper (x, y) positions. This is the way which I followed and it worked for me.</p><p>Basic Points:-</p><ol><li>For any multi-line star pattern two for loops are must.</li><li>For most of the patterns mid-point of size will be used.</li></ol><p>Here, Below I am adding the code for printing any alphabet star pattern of any mentioned size</p><p><strong>Alphabet Star Pattern Code:-</strong></p><p>The Inputs needed for the code are:-</p><ol><li>character (Any single alphabet)</li><li>Size(Any number greater than 4 will give u proper pattern for all alphabets)</li></ol><pre>import math<br><br><br>def big_pattern_new(alphabet, size_of_alphabet):<br>    last_index = size_of_alphabet - 1<br>    mid = size_of_alphabet // 2<br>    if alphabet == &quot;A&quot;:<br>        width = (size_of_alphabet * 2) - 1<br>        mid = width // 2<br>        for i in range(0, size_of_alphabet):<br>            for j in range(0, width + 1):<br>                if j == mid or j == (width - mid) or (i == (size_of_alphabet // 2) and mid &lt; j &lt; (width - mid)):<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(end=&quot; &quot;)<br>            print()<br>            mid = mid - 1<br>    elif alphabet == &quot;B&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if j == last_index and i in [0, last_index]:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>                elif j in [0, last_index] or i in [0, mid, last_index]:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;C&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i in [0, last_index] or j == mid:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;D&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if (i == 0 and j == last_index) or (j == last_index and i == last_index):<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>                elif i in [0, last_index] or j in [0, last_index]:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;E&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i in [0, mid, last_index] or j == mid:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;F&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i in [0, mid] or j == mid:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;G&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i == j == 0 or i == j == last_index or (i == 0 and j == last_index) or (<br>                        j == 0 and i == last_index) or (i == 0 and j == size_of_alphabet - 2) or (i == mid and j == 1):<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>                elif j == 0 or i in [0, mid, last_index] or (i &gt; mid and j == last_index):<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;H&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i == mid or j in [0, last_index]:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;I&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i in [0, last_index] or j == mid:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;J&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i == last_index and j in [0, last_index] or (j == 0 and i &lt; mid):<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>                elif j in [0, last_index] or i == last_index:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;K&quot;:<br>        duplicate = mid<br>        for i in range(size_of_alphabet):<br>            print(&quot;*&quot;, end=&quot;&quot;)<br>            for j in range(mid + 1):<br>                if j == abs(duplicate):<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>            duplicate = duplicate - 1<br>    elif alphabet == &quot;L&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if j == 0 or i == last_index:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;M&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if j in [0, last_index] or (j == mid and i == mid) or (i == j &lt;= mid) or (<br>                        i + j + 1 == size_of_alphabet and i &lt;= mid):<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;N&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if j in [0, last_index] or (j == mid and i == mid) or i == j:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;O&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i in [0, last_index] and j in [0, last_index]:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>                elif i in [0, last_index] or j in [0, last_index]:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;P&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i in [0, mid] and j == last_index:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>                elif i in [0, mid] or j == 0 or (j == last_index and i &lt; mid):<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;Q&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i == j == 0 or (i == 0 and j == mid) or (i == mid and j == 0) or (i == mid and j == mid):<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>                elif (i == 0 and j &lt;= mid) or (j == 0 and i &lt;= mid) or (j == mid and i &lt;= mid) or (<br>                        i == mid and j &lt;= mid) or i == j &gt;= mid:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;R&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if (i == mid and j == last_index) or (i == 0 and j == last_index):<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>                elif i in [0, mid] or j in [0, last_index] or (j == last_index and i &lt; mid):<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;S&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i in [0, mid, last_index] or (j == 0 and i &lt; mid) or (j == last_index and i &gt; mid):<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;T&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if j == mid or i == 0:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;U&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i == last_index and j in [0, last_index]:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>                elif i == last_index or j in [0, last_index]:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;V&quot;:<br>        width = size_of_alphabet * 2 - 1<br>        for i in range(size_of_alphabet):<br>            for j in range(width):<br>                if j == i or i + j == width - 1:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;W&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if j in [0, last_index] or i == j &gt;= mid or (i + j + 1 == size_of_alphabet and i &gt;= mid):<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;X&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i == j or i + j == last_index:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;Y&quot;:<br>        mid = size_of_alphabet / 2<br>        if round(mid) == mid:<br>            mid = mid - 1<br>        else:<br>            mid = math.floor(mid)<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if (j == mid and i &gt;= mid) or (i == j &lt;= mid) or (i + j + 1 == size_of_alphabet and i &lt; mid):<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    elif alphabet == &quot;Z&quot;:<br>        for i in range(size_of_alphabet):<br>            for j in range(size_of_alphabet):<br>                if i in [0, last_index] or i + j + 1 == size_of_alphabet:<br>                    print(&quot;*&quot;, end=&quot;&quot;)<br>                else:<br>                    print(&quot; &quot;, end=&quot;&quot;)<br>            print()<br>    else:<br>        print(&quot;Please enter a proper character&quot;)<br><br><br>character = input(&quot;Enter the character: &quot;)<br>size = int(input(&quot;Enter the size of alphabet needed: &quot;))<br>big_pattern_new(character.upper(), size)</pre><p>This brings us to the end of this article where we have learned how we can implement different alphabet star patterns in python .I hope you are clear with all that has been shared with you in this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=223b9062c9f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Steps to Install and Configure Azure AD Connect]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/steps-to-install-and-configure-azure-ad-connect-552b928e07d4?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/552b928e07d4</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[azure-active-directory]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[active-directory]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Fri, 04 Nov 2022 11:41:09 GMT</pubDate>
            <atom:updated>2022-11-04T11:41:09.346Z</atom:updated>
            <content:encoded><![CDATA[<p>(Please refer to my previous blogs to know about Azure AD Connect)</p><p>1) Sign into your Azure portal.</p><p>2) In the azure portal, select Azure Active Directory then click Azure AD Connect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uR3bGdhP0CM1Hi0sW0ZCFg.png" /></figure><p>3) You need to install the Azure AD Connect in the Windows Server. Click on ‘Download Azure AD Connect’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/0*_y5zDON9gs2eEAm6" /></figure><p>4) After downloading the Azure AD Connect tool, open the file and agree to the license terms and privacy notice by checking the checkbox. Click ‘Continue’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/0*5jqc44BxCTRNTa-f" /></figure><p>5) From the ‘Express Settings’ tab, we can choose either Customize button or express settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/0*_Wvx0SUZemLG2exb" /></figure><p><strong>Steps for Express Settings Configuration:-</strong></p><p>6) You will now need to enter your “Azure AD Global Administrator account” with “the credential provided with the privileges to sync to Azure Active Directory. This Account id ends with ‘.onmicrosoft.com’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/0*ClZoQ5ZAUd3LOGs4" /></figure><p>7) After this you will be prompted to log on to Microsoft 365, you will need to login with the credentials provided that have privileges to sync to Azure AD.</p><p>8) In the next step, you need to login with your local domain administrator account. This account will be used to create a local AD account that will be used for the synchronization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/0*19Pk7B44VpBR0rbr" /></figure><p>9) In the last step, Since we used Express option and don’t want to synchronize all OUs, then uncheck ‘Start synchronization’ and click install.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/0*IvCVP51n33b-LlCR" /></figure><p><strong>Steps for Custom Settings Configuration:-</strong></p><p>6) When you install the synchronization services, you can leave the optional configuration section unselected. Azure AD Connect sets up everything automatically. It sets up a SQL Server 2019 Express Local DB instance, creates the appropriate groups, and assigns permissions. If you want to change the defaults, select the appropriate boxes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/0*MXboKPnNCrgaQr3G" /></figure><p>7) After installing the required components, select your users’ single sign-on method. The following table briefly describes the available options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/0*P9qEHIyyKpzqcP14" /></figure><p>8) On the Connect to Azure AD page, enter a global admin account and password. You might want to use an account in the default <em>onmicrosoft.com</em> domain, which comes with your Azure AD tenant. This account is used only to create a service account in Azure AD. It’s not used after the installation finishes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/0*rOAmBx7SNwBsTeNv" /></figure><p>9) To connect to Active Directory Domain Services (AD DS), Azure AD Connect needs the forest name and credentials of an account that has sufficient permissions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/0*UcJrk_l6HDLrVoD6" /></figure><p>10) After you enter the forest name and select Add Directory, a window appears.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/0*R77HxzPYaI8oGdB-" /></figure><p>11) On the Azure AD sign-in configuration page, review the user principal name (UPN) domains in on-premises AD DS. These UPN domains have been verified in Azure AD.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/0*jnuunJl3VfbWI66w" /></figure><p>12) By default, all domains and organizational units (OUs) are synchronized. If you don’t want to synchronize some domains or OUs to Azure AD, you can clear the appropriate selections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/0*3QT-arp7htSSyHdt" /></figure><p>13) By using the <em>Matching across forests</em> feature, you can define how users from your AD DS forests are represented in Azure AD. A user might be represented only once across all forests or might have a combination of enabled and disabled accounts. The user might also be represented as a contact in some forests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/0*dL6PY_viJyhErhhu" /></figure><p>14) Here you can filter the user and devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/0*-KiNd_1t1-DGSMNQ" /></figure><p>15) You can select all the optional features you need while syncing local active directory with azure ad.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/0*vM59EttvcOBMkyXp" /></figure><p>16) From the ‘Ready to configure’ tab, you select the ‘Start the synchronization process when configuration completes’ if you want to start automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/0*TEWgDsgStb1rtbo8" /></figure><h3><strong>Verifying the Synchronization:-</strong></h3><ol><li>In Azure AD, you can verify the synchronization. Open portal.azure.com and open the Azure Active Directory. If you click on users you will see all Directory Synced users listed.</li><li>In Microsoft Admin Center, you can log in at the Microsoft Admin Center, there you will see on the dashboard the Azure AD Connect status. And if you navigate to the users you will see your local Active Directory users listed.</li></ol><p><strong><em>Hope you reach here. If you like this, please follow and like it. Will come up with different topic in the next blog…</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=552b928e07d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connect Local AD with Azure AD Cont.]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/connect-local-ad-with-azure-ad-cont-95243faf2929?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/95243faf2929</guid>
            <category><![CDATA[azure-functions]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[azure-cloud]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Wed, 26 Oct 2022 10:37:38 GMT</pubDate>
            <atom:updated>2022-10-26T10:37:38.396Z</atom:updated>
            <content:encoded><![CDATA[<h3>Azure AD Connect Cloud Sync:-</h3><p>Azure AD Connect Cloud Sync is used to fulfill your hybrid identity goals for synchronization of users, groups and contacts to Azure AD. This Can be accomplished by using the Azure AD cloud provisioning agent instead of the Azure AD Connect Application. This stores the configuration and objects in the cloud.</p><p>It supports for synchronizing to an Azure AD tenant from a multi-forest disconnected Active Directory forest environment: The common scenarios include merger &amp; acquisition (where the acquired company’s AD forests are isolated from the parent company’s AD forests), and companies that have historically had multiple AD forests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*7nVskG1-zOCcJGCImV5x9A.png" /></figure><p>Azure AD Connect has many as same features and capabilities as Azure AD Connect with the following differences:</p><ol><li>It is a light weighted agent installation model.</li><li>It can used in addition to Azure AD Connect.</li><li>It doesn’t support Pass-Through-Authentication(PTA).</li><li>It Synchronizes directory changes more frequently than Azure AD Connect.</li><li>Adds high availability using multiple agents.</li><li>It doesn’t support device writeback for password, devices or groups.</li><li>Doesn’t support Exchange hybrid writeback.</li></ol><p>There are many features which aren’t provided with Azure AD Connect Cloud Sync at present. It is expected that these features will be in the future releases.</p><h3>Appropriate Use Cases for Each:-</h3><p>Choosing which directory solution to use requires a full understanding of what your organization’s needs are.</p><p>If you don’t need Exchange hybrid support or any unsupported features, Azure AD Connect Cloud Sync can be a quick and easy way to configure AD directory synchronization with Azure AD.</p><p>If your organization has more than 1 lakh objects and doesn’t require hybrid support then its good to use Azure AD Connect Cloud Sync. Since, when you are using Azure AD Connect, a local database is installed with a storage limited to 10GB (1 lakh objects).</p><p>A use-case where Azure AD Connect Cloud Sync might be useful is one where an organization has AD on-premises but is using Google or any different Workspace for email. This organization can sync their directory to Azure AD and then begin migrating Google mail to Exchange Online.</p><p>When you need health check and hybrid support for your services then the best solution is to Azure AD Connect. It has a lot of features which can be customized.</p><p><strong><em>This is a very short blog. If you like this, please follow and like it. We will see the steps to install and configure Azure AD Connect in the next blog…</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95243faf2929" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connect Local AD with Azure AD]]></title>
            <link>https://medium.com/@vamsikrishna.vk6/connect-local-ad-with-azure-ad-c8a6a1c69194?source=rss-98c400c7d0d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8a6a1c69194</guid>
            <category><![CDATA[azure-active-directory]]></category>
            <dc:creator><![CDATA[vamsi Grandhi]]></dc:creator>
            <pubDate>Tue, 18 Oct 2022 17:31:43 GMT</pubDate>
            <atom:updated>2022-10-18T17:31:43.890Z</atom:updated>
            <content:encoded><![CDATA[<p>Identity management gets complicated when your organization has both cloud and on-premises applications and data. If employees have separate authentication for each one, they need to log in to both.</p><p>Users can have a single Active Directory identity for on-premises and Azure cloud resources such as Office 365. Azure AD can be integrated with existing on-premise AD for providing single sign-on functionality for their users to access the cloud applications. So it is essential for organizations to keep the identities in both on-premise AD and Azure AD to be in sync.</p><p>You can connect your Local AD with Azure AD with any one of the following solutions:-</p><ol><li>Azure AD Connect</li><li>Azure AD Connect Cloud Sync</li></ol><h3>Azure AD Connect:-</h3><p>Azure AD Connect is Microsoft tool for identity management across cloud and on-premises environments. It replaces earlier tools, such as DirSync and Azure AD Sync, and offers more capabilities than the predecessors. Further, AD Connect is available at no extra cost. It supports hybrid identity with five main features:</p><p>The features are:-</p><ul><li>Password hash synchronization</li><li>Pass-through authentication</li><li>Federation integration</li><li>Synchronization services</li><li>Lastly, health monitoring (premium feature)</li></ul><h4>Password Hash Synchronization:-</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*a71ROn8r11hMnQWYFQKRhA.jpeg" /></figure><p>Having single password for all services makes user life easier. With this feature, a user will have same password for on-premises Active Directory services and Azure services such as Microsoft 365.</p><p>To share access securely across different places and environments, this Hash Synchronization sends only the hash of the password. The password is never stored or sent as a clear text.</p><h4>Pass-Through Authentication:-</h4><p>This uses an on-premises software agent for authentication. The cloud service doesn’t have any information about password or hash. It receives the password but doesn’t store it. This approach can satisfy organizations with strict requirements for password dissemination.</p><p>The on-premises authentication agent does all the work and sends an appropriate response to Azure. Azure AD can then perform multi-factor authentication if configured to do that.</p><p>One more advantage of this one, It permits the application of user-level Active Directory security policies. These policies can enforce account and password expiration, account lock-out, and sign-in hours. The on-premises agent handles these features.</p><h4>Federated Integration:-</h4><p>The most powerful and complex of the available hybrid identity approaches is federated integration. It uses a separate trusted authentication systems including dongles, smart cards, and multi-factor authentication, which can be on-premises or on the Internet.</p><p>Federation service supports any type of authentication. Organizations which have a trusted on-premises authentication service will often find federated integration as a good choice. Further, an authenticated service may treat some devices as trusted, not requiring their owners to provide credentials.</p><h4>Synchronization Services:-</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*IUYZ5seyHr3jHwHhbF8dVQ.jpeg" /></figure><p>The AD Connect sync engine handles the synchronization between on-premise systems and Azure AD. It creates users and groups and makes sure their on-premises identity information matches what is in the cloud. This synchronization also includes password hashes. The services consist of two components.</p><p>The on-premises side is called “<strong>Azure AD Connect Sync Engine”</strong>. The server side is “<strong>Azure AD Connect Sync Service”</strong>. The sync engine can get identity information from various sources, such as an SQL database or Active Directory. It uses a staging area so that it can process identity information even if the source is temporarily unavailable.</p><h4>Health Monitoring:-</h4><p>Any identity authentication service needs to be highly available and reliable. An undetected failure to update identity information could lock users out or let disabled accounts keep working. Also, administrators need to know how the authentication system is being used so they can catch intrusion attempts. Azure AD Connect Health is a premium feature that provides monitoring of the on-premises identity infrastructure.</p><p>Server’s should have agent installed in order to let AD Connect Health monitor it. Agent can be installed easily, and then can be set to auto-upgrade.</p><p>Reviewing the health monitoring information will help the administrators to maintain a high level of security. administrators can get alerts on critical issues and ongoing usage metrics. Unusual numbers of authentication requests, especially failed ones, can alert them to attempts to gain unauthorized access.</p><p><strong>Information about Azure AD Connect Cloud Sync we will see in the next blog…</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8a6a1c69194" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>