title: Delete a corrupted Azure Functions App
body: <p>I have created a functions app and then created a function, The function name defaulted to <code>TriggerCSharp1</code> or similar. </p>
  
  <p>After adding code I was wondering how to change the function name so I tried Ftp'ing into the functions app and manually changed the folder name <code>TriggerCSharp1</code>. I went back to the Azure portal and now when I click on the function app I get an error <code>The access token is invalid.</code> and nothing appears beneath, see screen-shot below.</p>
  
  <p><a href="https://i.stack.imgur.com/DdKeb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DdKeb.png" alt="enter image description here"></a></p>
  
  <p>I am not sure how I can delete this function app now since I can't get in its blade. The only way I can think of now is to delete the resource group that contains this function app but that is not something I can do since I have tons of other resources in there too.</p>