From above description I could understand that you are facing issues due to your external Identity configuration. Kindly review the guest user settings by navigating to
Entra ID (Azure AD) > External Identities > External collaboration settings
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.