Featured resource
2026 Tech Forecast
2026 Tech Forecast

1,500+ tech insiders, business leaders, and Pluralsight Authors share their predictions on what’s shifting fastest and how to stay ahead.

Download the forecast
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Azure icon
Labs

Deploy an Azure App with GitHub Actions and Federated Identity

In this Azure lab, you deploy a Node.js web application to Azure App Service using a GitHub Actions workflow that authenticates with workload identity federation, so no long-lived secrets are stored anywhere in the pipeline. You fork a starter repository into your own GitHub account, establish federated trust between your fork and a preconfigured Azure managed identity, and complete the deployment workflow by adding the sign-in and deploy steps. You then run the workflow, troubleshoot a controlled failure at the Azure sign-in step by reading the error and adding the missing workflow permission, rerun it cleanly, and confirm the deployed application is reachable in place of the default App Service page. By the end, you can connect a GitHub repository to Azure with federated identity and operate a deployment workflow that never handles a client secret.

Azure icon
Lab platform
Lab Info
Level
Advanced
Last updated
Aug 05, 2026
Duration
1h 0m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use, and consent to receive marketing emails from Pluralsight.
Table of Contents
  1. Challenge

    Prepare the Azure target and the GitHub repository for automated deployment
    • Locate the pre-provisioned resource group, the App Service web app, and the managed identity, and confirm nothing is deployed to the web app yet.
    • Sign in to GitHub with your personal account and fork the provided starter repository.
  2. Challenge

    Configure federated trust so GitHub Actions can authenticate without long-lived secrets
    • Add a federated credential on the managed identity using the GitHub Actions deploying Azure resources scenario, scoped to your fork and its main branch.
    • Record the identity and subscription values the workflow needs to authenticate.
    • Store those values as repository secrets in your fork.
  3. Challenge

    Build a workflow that deploys the application to Azure
    • Add the Azure sign-in step that authenticates over OIDC using the stored repository secrets.
    • Add the deploy step that packages the application and deploys it to the App Service web app.
    • Commit the completed workflow to the fork.
  4. Challenge

    Run the workflow and monitor deployment progress
    • Trigger the workflow and observe the run fail at the Azure sign-in step.
    • Read the error, identify the missing token permission, and add the workflow permissions block.
    • Rerun the workflow and confirm it completes successfully.
  5. Challenge

    Validate that the application deployed successfully and is reachable
    • Browse the web app URL and confirm the application responds in place of the default App Service page.
    • Confirm the version endpoint returns the deployed application version.
    • Confirm the deployment record in the App Service deployment center.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight