@KumarK In our current Guest Access Portal we have a portal which is setup using the Social Login linked to O365 Application. Which in the Azure app has “Assignments required?” set and 2 groups, a staff and student assigned to control access.in the Azure App we also have supported account types are set to My organization only to restrict only to our Office365 tenant accounts.
If I remember correctly I followed this guide Guest Access using Social Login - Google - Twitter - Facebook -Office 365 - Products / cnMaestro - Cambium Community (cambiumnetworks.com)