Hello @Sriram S,
Thanks for reaching Microsoft Q&A.
From the above comment, you are able to access the file server on domain-joined machines, but non-domain devices are unable to connect.
If the machine is not in domain, it is not possible to login with Entra ID authentication.
The alternate approach is to connect Azure file share from the workgroup machine using Access key. please follow the below steps
Step 1:
Step: 2
Step:3 - Please copy the above script and run it in your local PowerShell and the file share will add to your local machine
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".