Thank you for posting this in Microsoft Q&A.
As I understand by mistake you removed the default directory associated with your account. Now you are getting an error while trying to access your directory.
In this situation you will need to get your account provisioned in your default directory.
You can contact Global admin of the directory and get your account created in the directory. This will help you in regaining access to your tenant.
If you are the only global admin on the account and are unable to access the directory, you can reach out to our support team. You can look into below article to get support numbers depending on your country.
or creating a ticket through a different account: https://learn.microsoft.com/en-us/microsoft-365/admin/get-help-support?view=o365-worldwide#phone-support
Create a ticket with Microsoft support team. Give them the tenant ID which is not accessible in your description. Tell them that no admin account has access anymore and your partners also have no access anymore.
Once you create a ticket with support team you will have to work with our data protection team. You will have to first prove your identity against your tenant for security purpose. Post that this team will help you with help you in getting access to your tenant or unlock your account depending on your scenario.
Also, for the future, you can create an emergency access account (break glass) in Azure AD. This account will help prevent being accidentally locked out of your Azure Active Directory (Azure AD) organization because you can't sign in for any reason.
https://docs.microsoft.com/en-us/azure/active-directory/roles/security-emergency-access
Problems with two-step verification for Azure B2C accounts - Microsoft Q&A
Let me know if you have any further questions.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.