Thank you for reaching out. If you're using a personal account and are part of a foreign tenant which you want to leave then, you'll need to use a My Account URL that includes your tenant's name or tenant ID and perform below steps:
- For example: https://myaccount.microsoft.com?tenantId=wingtiptoys.onmicrosoft.com or https://myaccount.microsoft.com?tenantId=ab123456-cd12-ef12-gh12-ijk123456789.
- You might need to open this URL in a private browser session.
- Select Organizations from the left navigation pane or select the Manage organizations link from the Organizations block.
- The Organizations page appears, where you can view and manage the organizations you belong to.
- You can click on leave and leave the organization.
- If you select Leave for an organization but you see the following message, it means you’ll need to contact the organization's admin, or privacy contact and ask them to remove you from their organization.
For more details, please review following documentation link: Leave an organization as an external user.
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.