@Mohammed Elmostafa Moawia Thank you for reaching out to Microsoft Q&A.
If you webapp is running on the windows app service plan then in your kudu
console you will get two Debug Console's
- CMD --> If you want to rename the file using CMD then you can use the cmdlet
ren <CurrentFileName> <NewFileName>
- Power Shell --> you need to use the cmdlet
Rename-item <CurrentFileName> <NewFileName>
If you webapp is running on Linux app service plan, then in your kudu you will have bash console. In bash if you want to rename a file you can make use of cmdlet mv <currentFileName> <NewFileName>
Feel free to reach back to me if you have any further questions on this.