Posts

Integrating Okta with Azure Web Apps and Power BI Embedding

Integrating Okta with Azure Web Apps and Power BI Embedding Overview This guide provides a comprehensive approach to integrating Okta with Azure Web Apps and embedding Power BI reports into a web application. Authentication is managed via Okta, and Power BI reports are embedded using React and Django, hosted on Azure. Authentication Flow with Okta: User Access Request: The user attempts to access a web application, triggering the need for authentication. Redirection to Okta: The web app redirects the user to Okta, which handles the authentication, typically with Active Directory (AD) as the identity source. Okta Authentication: The user submits credentials (username and password). If MFA is enabled, Okta prompts for additional verification (e.g., SMS, app-based token). Authorization with AD Groups: Okta checks the user's group memberships in AD t...

Execute Code from Local Machine on Databricks Spark Cluster

In this guide, you'll learn how to execute code from your local machine on a Databricks Spark cluster step by step. We will cover the environment setup, necessary installations, troubleshooting commands, and the code itself. Prerequisites Install Python: Make sure you have Python installed on your local machine. You can download it from Python 3.9.0 or directly from Python 3.9.0 Installer . Install Databricks Connect: Follow the instructions in the Databricks Connect documentation to install and configure it. Databricks Cluster: Ensure you have a Databricks cluster set up and running. Refer to the Databricks documentation for guidance. Install Visual C++ Build Tools: Download and install the ...

Mastering Azure Databricks Setup with Terraform: The Ultimate Guide

Image
In this guide, you'll learn how to set up an Azure Databricks workspace using Terraform. We'll cover all the prerequisites and guide you through the entire process step by step. Prerequisites Install Terraform: Download and install Terraform on your machine. Azure CLI: Install the Azure CLI and sign in: az login Install Databricks CLI (Optional): If you'd like to interact with Databricks from the command line, install the Databricks CLI: pip install databricks-cli Creating a Service Principal in Azure Follow these steps to create a service principal in Azure: Open the Azure Portal and navigate to Azure Active Directory > App registrations . Click on New registration and fill in the details: Name: Choose a name fo...

OAuth 2.0 Explained (Useful for SC-300, AZ-400 ,AZ-500)

Image
(Open image in a new tab for clarity) Welcome to our deep dive into the world of OAuth and secure user authentication! Today, we're unpacking the process step-by-step, using the popular travel planning platform TravelBuddy and its integration with Google's authentication services as our example. What is OAuth? OAuth is an open-standard authorization protocol or framework that describes how unrelated servers and services can safely allow authenticated access to their assets without actually sharing the initial, related, single logon credential. In simpler terms, it lets you use one service's login for other services without handing out your password. The TravelBuddy-Google OAuth Flow Our journey begins when you decide to use your Google credentials to log into TravelBuddy. But what does that process actually look like? Here’s a visual guide. One-Time Setup Process Before anything else, TravelBuddy needs to set up a one-time communication channel ...

A mind map for azure virtual machine (helpful for AZ-104 , AZ-305)

Image
Mind Map shows various features of azure virtual machine and their relationship.(please download image for more clarity)

OSI Model

Image
Networking Layers Understanding Networking Layers Layer 1: Physical Layer Metaphor: The Roads Role: Provides the physical path (like roads or pathways) for the delivery vans to travel. Layer 2: Data Link Layer Metaphor: Local Delivery Van Role: Like a local delivery van that carries the message within the sender's town using the local routes (using MAC addresses). Layer 3: Network Layer Metaphor: Long-Distance Courier System Role: Determines the overall best path (using IP addresses) to get the message from the sender’s town to the recipient’s town, like a long-distance courier system. Layer 4: Transport Layer Metaphor: Message Integrity Checker Role: Ensures all the parts of the message arrive intact and in order, l...

Virtual network peering (Vnet Peering)

Image
Virtual network peering enables you to seamlessly connect two or more Virtual Networks in Azure.  Why vnet peering is needed Virtual networks within different :- Regions. Subscriptions. Azure AD Tenants. cant communicate directly with each other. What is Vnet Peering Virtual network peering enables you to seamlessly connect two or more Virtual Networks in Azure. Vnet peering is of 2 types :- Virtual network peering: Connect virtual networks within the same Azure region. Global virtual network peering: Connecting virtual networks across Azure regions. Benefits of Vnet Peering Low-latency, high-bandwidth connection between resources in different virtual networks. Traffic between peered virtual networks is private. No public Internet, gateways, or encryption is required.