Forum Discussion

voonsionglum's avatar
voonsionglum
Brass Contributor
Mar 07, 2022

Unable to deploy to Azure Web App because path, file name, or both are too long

Hi,

I have recently encountered the following error when I tried to deploy my web app to Azure using Visual Studio Code.

 

"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."

 

I have tried to use Azure CLI to deploy the web app, by following the steps outlined in https://docs.microsoft.com/en-us/azure/app-service/deploy-zip?tabs=cli.  However, I am getting the same error.

 

My colleague who is using a Macbook, is able to deploy to the web app to Azure without any issues.  I am using Windows 10 Enterprise.  

 

Can anyone advise?

 

Thank You

No RepliesBe the first to reply

Resources