The Azure Cloud Shell can not import the publish profile (i.e. "MyWebApp.PublishSettings") that can be exported from the overview of the web app in Azure, which can be used in Visual Studio to publish the web app. I am trying to find the commands to execute with the Azure Cloud Shell (az webapp up ... perhaps), but it requires me to sign in first, using az login .... For Visual Studio the publish profile file is enough and no login is required. How can I publish like Visual Studio does using the publish profile, but using the Azure Cloud Shell?
Azure Cloud shell to publish Web App using publish profile
916 Views Asked by Carucel At
1
There are 1 best solutions below
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in AZURE-WEB-APP-SERVICE
- mutual tls authentication between app service and function app
- Driver com.microsoft.sqlserver.jdbc.SQLServerDriver claims to not accept jdbcUrl, ${SPRING_DATASOURCE_URL}: GitHub Actions
- Invalid format for email address in WordPress on Azure app service
- How to migrate from Azure Static Web Apps to Azure App Service?
- azure web app how to organize code and folder structure
- My environment variables are not recognized in Azure - ASP.NET Core MVC
- Github actions to deploy subdirectory flask project to Azure Web App
- NextJS refused to execute script from fetched resource because its MIME type ('') is not executable, and strict MIME type checking is enabled
- Publish Vue.js + ASP.NET Core on Azure
- how to deploy flutter in azure app services
- pip install for Azure web app with custom deploy script
- Getting error System.Management.Automation.PSSecurityException HResult=0x80131501 in web application
- Third party API call not working from microsoft azure
- Azure Web App Deployment: SQLAlchemy OperationalError with SQL Server Connection for Python Flask Application
- Nuxt 2 azure package starts breaking on build all of a sudden
Related Questions in AZURE-CLOUD-SHELL
- New-AzCognitiveServicesAccount
- Azure Cloud Shell
- Azure Cloud Shell | remove app registration
- Is it possible to use an Azure JSON-View as part of a deployment script?
- Powershell script Azure SQL DB firewall
- How to set FriendlyName to Pfx certificate and upload certificate to webapp using powershell
- How to add the files in $Home directory from blob of Azure cloud shell
- How to execute python script on Azure AKS - Job Deployment
- az vmss delete ..., error: argument --force-deletion: expected one argument
- Azure Synapse - Change on "Public Network Access" destroys Workspace
- How to Run PowerBI REST API in Azure Cloud shell
- Where do python packages get installed in Azure Cloud Shell
- Getting error while trying to connect azure cloud shell in vs code
- How to Delete WEBSITE_TIME_ZONE application setting in Azure. Clicking DELETE does not remove it
- Run SQL query using powershell and AAD authentication with an SSO account
Related Questions in PUBLISH-PROFILES
- Visual Studio Publishing Profile wont accept Install url with spaces
- How to convert a .PublishSettings file to .pubxml and .pubxml.user files using Powershell
- How to fix .NET 6 Blazor Server app "SqlException (0x80131904)" and "SNI_PN11, error: 52"?
- How to deploy a react app on azure using publish profile with Visual Studio Code
- Create Publish Profile to Azure App Service, throw "The file Exists"
- SQL Server Database Publish Profile not using configured property
- More than one package matched with specified pattern. Please restrain the search pattern
- Why does the name of my Publish Profile affect the transformation of my Web.config?
- Creating publish profile for Azure SQL Database
- Visual Studio 2019 - Publish Profile problem
- VS2019 move post build event to post publish event?
- Visual Studio publish generates .pdb file despite using DebugType=None
- Azure Cloud shell to publish Web App using publish profile
- MSBuild Publish Profile .pubxml.user file not found
- Azure Devops Build Pipeline - files are not published
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
When you using the azure cloud shell, it automatically uses the account which logged in the azure portal, so no need to login with
az loginagain, just use the commandaz webapp updirectly. And you should note, the commandaz webapp upis required to run from the folder where the code is present, so you may need to upload your code to the cloud shell first(I have not tested it, not sure if it works in the cloud shell.)Actually, if you want to deploy the webapp using publish profile, the easiest way I recommend is to use the kudu api via powershell in local, just open a powershell session in local and run the commands below, you can find the
$passwordin the publish profile.