Share via

How to create Custom Policies for multiple clients

Gurpreet0101Singh-9444 70 Reputation points
2025-08-05T09:41:29.54+00:00

As IDP we have to handle multiple clients and some business logic could only be implemented in custom policies. As the policy needs clientid and other variables for each client, whats the right way to do it.

Should we create custom policy for each client?

Or can it be parameterized?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-08-20T07:43:37.38+00:00

    Hello Gurpreet0101Singh-9444,

    Thank you for Reaching Out Microsoft Q&A Platform.

    You do not need to create separate custom policies for each client. Instead, you can parameterize a single policy using techniques like:

    1. Custom Attributes
    1. Claims-Based Branching
    1. REST API Integration
    1. Custom Domains and UI Branding
    1. Multitenant Architecture

    If clients are in separate tenants, consider using federation or multi-tenant sign-in.

    https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant?pivots=b2c-user-flow

    Hope this helps to resolve your issue.
    Regards,

    Monalisha

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.