To delete your default payment method, Azure requires that it first be replaced with another active payment method.
Please follow the step-by-step process outlined below:
Sign in to the Azure portal.
Search for and select Cost Management + Billing.
In the left-hand menu, select Billing profiles.
Choose the billing profile currently using the payment method you want to delete.
Click on Payment methods from the menu.
Under the Default payment method section, select Replace.
Choose an existing payment method from the dropdown or select Add payment method to add a new one.
After setting a new default, you can now delete the old card.
Note:
If you're looking to close and delete the entire billing profile, please make sure:
There are no active subscriptions linked to the profile.
There are no pending charges or invoices due.
Once these conditions are met, you’ll be able to proceed with closing the billing profile directly from the Azure portal.
Please follow the below documentation for reference
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 upvote it wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.