@islem labidi
Thank you for your post!
Error message:
You are not eligible for a free Azure account
From your error message, have you used an Azure subscription in the past? If so, the Azure Terms of Use agreement limits free trial activation only for a user that's new to Azure. If you have had any other type of Azure subscription, you can't activate a free trial. Because of this, you'll have to sign up for a Pay-As-You-Go subscription. For more info.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.