Share via

Modify Azure Static Web App location

Kevin Mulhall Jr 0 Reputation points
2023-11-12T21:22:38.6266667+00:00

Created Azure Static Web App - during deployment I received the following error:

Location does not exist. Try to validate location at: 'Custom'.

37Failed to validate the location.

38App Directory Location: 'Custom' is invalid. Could not detect this directory. Please verify your workflow file reflects your repository structure.

I don't see anywhere in MS documentation (or the dozen YouTube videos I've watched) how to change the location within the GUI...

Is this even possible or will I need to create a new resource from scratch?

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.


1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,251 Reputation points Microsoft Employee Moderator
    2023-11-14T02:16:32.4+00:00

    @Kevin Mulhall Jr Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    As per my investigation, while creating the static webapp you will be selecting source either GitHub or Azure devOps repo to store your application code. Once the static webapp is created it will generate an yml file in the selected repo which contains all the necessary action (all configuration settings, build actions & publish the app).

    If you want to change the App location, you can edit .yml file and there is no way to update this app location through the Azure portal GUI.

    Feel Free to reach back to me if you have any further questions on this.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.