Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 2.45 KB

connect-from-azure.md

File metadata and controls

40 lines (29 loc) · 2.45 KB
title description author ms.author ms.topic ms.service ms.date ms.custom
Authenticate to Azure from GitHub Actions workflows
Securely authenticate to Azure services from GitHub Actions workflows using Azure Login action and manage your Azure resources.
MoChilia
shiyingchen
reference
azure
07/01/2024
github-actions-azure, devx-track-azurecli, devx-track-azurepowershell, linux-related-content

Use GitHub Actions to connect to Azure

Learn how to use Azure Login action with either Azure PowerShell action or Azure CLI action to interact with your Azure resources.

To use Azure PowerShell or Azure CLI in a GitHub Actions workflow, you need to first log in with the Azure Login action action.

The Azure Login action supports different ways of authenticating with Azure:

By default, the Azure Login action logs in with the Azure CLI and sets up the GitHub Actions runner environment for Azure CLI. You can use Azure PowerShell with enable-AzPSSession property of the Azure Login action. This property sets up the GitHub Actions runner environment with the Azure PowerShell module.

You can also use the Azure Login action to connect to public or sovereign clouds including Azure Government and Azure Stack Hub.

Connect with other Azure services

The following articles provide details on connecting from GitHub to Azure and other services.

Service Tutorial
Microsoft Entra ID Sign in to GitHub Enterprise with Microsoft Entra ID (single sign-on)
Power BI Connect Power BI with GitHub
GitHub Connectors GitHub connector for Azure Logic Apps, Power Automate, and Power Apps
Azure Databricks Use GitHub as version control for notebooks

[!div class="nextstepaction"] Deploy apps from GitHub to Azure