@KumawatSumeet-4295 Thanks for reaching out.
Accessing the file folder/fileshare via SMB currently no supported way to do so via an Azure Web App. The sandbox that those Apps run in blocks the required ports for that protocol, see here: https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#restricted-outgoing-ports
Alternatively, you can use [Azure File Share] (https://learn.microsoft.com/en-gb/rest/api/storageservices/file-service-rest-api) and access using REST.
You can use Azure Logic App to connect to your on-premises File-Share using on-premises data gateway and perform actions/triggers according to your requirements and you need to call the logic app from the App service.