Hello @Mehdi Hadeli - Welcome to Microsoft Q&A community forum!
Azure is currently commercially available in 140 countries and Iran isn't listed. Reference URL - https://azure.microsoft.com/en-in/free/free-account-faq/
If you are using Country as Iran it won't be possible to activate using different credit card. You might need to use entire different Country with respective Country details and Credit Card information.
Other option would be - For example: Your friend in US has Azure Account and he is the owner. In that case, your friend can grant you contributor access to his Azure subscription and you can use that same subscription in Iran.
Hope this information helps!
Feel free to reply if you have further questions.
----------------------------------------------------------------------------------------------------------------------
If the response helped, do "Accept Answer" and up-vote it