Autentiseringstyper efter distributionsmetoder i Azure App Service

Med Azure App Service har du flera alternativ för att distribuera kod och konfiguration för webbprogram. Dessa distributionsmetoder stöder en eller flera autentiseringsmekanismer. Den här artikeln innehåller information om distributionsmetoder och autentiseringsmekanismer.

För åtkomst till Linux-containrar finns förhandsgranskningskommandot az webapp exec tillgängligt i Azure CLI 2.90.0 eller senare. Den stöder Microsoft Entra-autentisering när SCM-grundläggande autentisering är avstängd; när SCM-grundläggande autentisering är aktiverad kan CLI:n använda publiceringsuppgifter. Containeråtkomst är inte en filuppladdningsmetod. Se Öppna ett containerskal (SSH) och kör kommandon.

Anteckning

Information om hur du inaktiverar grundläggande autentisering för din App Service-app finns i Inaktivera grundläggande autentisering i App Service-distributioner.

Distributionsmetod Autentisering Referensdokumentation
Azure CLI Microsoft Entra ID I Azure CLI version 2.48.1 eller senare använder följande kommandon Microsoft Entra om grundläggande autentisering är inaktiverad för webbappen eller funktionsappen:

- az webapp deploy
- az webapp log deployment show
- az webapp log deployment list
- az webapp log download
- az webapp log tail
- az webapp browse
- az webapp create-remote-connection
- az webapp ssh
- az functionapp deploy
- az functionapp log deployment list
- az functionapp log deployment show
- az functionapp deployment source config-zip

Mer information finns i az appservice and az webapp. 
Azure PowerShell Microsoft Entra I Azure PowerShell version 9.7.1 eller senare är Microsoft Entra tillgängligt för App Service. Mer information finns i PowerShell-exempel för Azure App Service. 
SCM/Kudu/OneDeploy REST-slutpunkt Grundläggande autentisering

Microsoft Entra
Distribuera filer till App Service 
Kudu-användargränssnitt Grundläggande autentisering

Microsoft Entra
Distribuera filer till App Service
FTP/FTPS Grundläggande autentisering Distribuera din app till Azure App Service med hjälp av FTP/S 
Visual Studio Grundläggande autentisering

Microsoft Entra
Snabbstart: Distribuera en ASP.NET-webbapplikation

Utveckla och distribuera WebJobs med hjälp av Visual Studio

Felsök en app i Azure App Service med hjälp av Visual Studio

GitHub Actions-integration i Visual Studio

Distribuera din applikation till Azure med hjälp av GitHub Actions-arbetsflöden skapade av Visual Studio 
Visual Studio-koden Microsoft Entra Snabbstart: Publicera en ASP.NET-webbapp

Att arbeta med GitHub i VS Code 
GitHub och GitHub Actions Publicera profil (grundläggande autentisering)

Tjänstens huvudnamn (Microsoft Entra)

OpenID Connect (Microsoft Entra)
Distribuera till App Service med hjälp av GitHub Actions 
GitHub med App Service-byggtjänsten som byggmotor Grundläggande autentisering Kontinuerlig distribution till Azure App Service
GitHub med Azure-pipelines som byggmotor Publicera profil (grundläggande autentisering)

Azure DevOps-tjänstanslutning
Distribuera till App Service med hjälp av Azure-pipelines 
Azure-lagringsplatser med App Service-byggtjänsten som byggmotor Grundläggande autentisering Kontinuerlig driftsättning till Azure App Service 
Azure-repositorier med Azure-pipelines som kompilator Publicera profil (grundläggande autentisering)

Azure DevOps-tjänstanslutning
Distribuera till App Service med hjälp av GitHub Actions 
Bitbucket Grundläggande autentisering Kontinuerlig distribution till Azure App Service 
Lokal Git Grundläggande autentisering Lokal Git-distribution till Azure App Service 
Extern Git-lagringsplats Grundläggande autentisering Konfigurera kontinuerlig driftsättning med manuella steg 
Kör direkt från en uppladdad ZIP-fil Microsoft Entra Kör din app i Azure App Service direkt från ett ZIP-paket 
Kör direkt från en extern URL Ej tillämpligt (utgående anslutning) Kör från en extern URL istället 
Maven-plugin-program för Azure App Service (Java) Microsoft Entra Snabbstart: Skapa en Java-app i Azure App Service
Gradle-plugin-program för Azure App Service (Java) Microsoft Entra Konfigurera en Java-app för Azure App Service
Webbkrokar Grundläggande autentisering Web hooks 
Migreringsassistent för App Service Grundläggande autentisering Azure App Service-migreringsverktyg 
App Service-migrationsassistent för PowerShell-skript Grundläggande autentisering Azure App Service-migreringsverktyg 
Azure Catalyst upptäckt/utvärdering/migrering för App Service Microsoft Entra Tutorial: Utvärdera webbappar för migrering till Azure App Service

Modernisera ASP.NET-webbappar till kod för Azure App Service