@Mahima Sharma Welcome to Microsoft Q&A, thank you for posting your here!!
Please check this GitHub article for similar issue: https://github.com/Azure/azure-sdk-for-python/issues/11593
Hope this helps!
Kindly let us know if the above helps or you need further assistance on this issue.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.