@Syed Palayathar
Thank you for your post and I apologize for the delayed response!
When it comes to Dynamics 365, please keep in mind that this isn't supported here on Q&A. If you'd like to work with our Dynamics experts, they're actively answering questions within their Microsoft Dynamics 365 Community Forums.
For B2C integration with Dynamics, I did find a Stack overflow post which I'll share below.
There is a built-in integration between Azure AD B2C and Dynamics 365 for Customer Engagement that enables external customer sign-ins using local accounts and/or any federated social identity providers.
See the Customize the Azure AD B2C user interface for portals article for more information about configuring Azure AD B2C as an identity provider for the Dynamics 365 for Customer Engagement portal.
Additional Links:
Configure the Azure Active Directory B2C provider (Preview)
Set up a B2C tenant in Commerce
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.