The app should already have read/write permissions to App_Data
. That is where it is recommended that app data be stored. I'm assuming that you are seeing errors when trying to write to this folder so something got messed up. One cause of this is if your App_Data
folder is empty when you publish. If it is then the folder won't be created and therefore you won't have write access.
However I've also seen blog articles indicating that in Azure your app has full write access to the entire structure under it which is different than a traditional IIS. But users don't have write permissions. So provided you're running your app is running as a typical web app it should just work.