Hi Deepika,
Greetings for the day!
Thank you for reaching out to us on the Microsoft Q&A forum.
We assume that you're practicing the following Learning Path exercise.
Learning Path: Deploy a website to Azure with Azure App Service.
Module: Stage a web app deployment for testing and rollback by using App Service deployment slots
Unit: Exercise - Create deployment slots
Please follow the below troubleshoot steps to get resolve the issue.
we have tried from our end and able to complete the exercise successfully.
- create web app.
- To enable the authentication pls find the below link:
https://learn.microsoft.com/en-us/azure/app-service/configure-basic-auth-disable?tabs=portal - under the web app select (deployment center) from left side blade. you will see settings and Local Git/ FTPS credentials. Please find the below screenshot for your reference.
Now, select the Local Git/ FTPS credentials, Under User scope, enter a unique username and password of your choice. and save it as shown in the below screenshot.
Note: save the username and password in a notepad to use in further steps of the exercise.
Kindly follow the remaining steps to compete the exercise as steps guided in the learn path.
If the information is helpful, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post. If you are still facing any issue, please let us know in the comments and provide screenshot. We are happy to assist you.
Thank you.