title | description | services | author | manager | ms.service | ms.workload | ms.topic | ms.date | ms.author | ms.subservice |
---|---|---|---|---|---|---|---|---|---|---|
setting up a programmatic parser for custom policies in Azure Active Directory B2C | Microsoft Docs |
This article will show you how to use MSGraph and the XSD schema for trust framework policy to make changes and control policy. |
active-directory-b2c |
valnav |
active-directory |
identity |
conceptual |
04/14/2019 |
nvalluri |
B2C |
This sample has 2 projects - Parser and the Client. The parser is a library that enables adding and removing relying party policies, adding and removing identity providers. The policies inherit from a TrustFramework Base Policy already running on a tenant.
The Program.cs
calls the B2CClientParser
. The command line option to be passed are:
- pass an integer (default)0, 1 or 2 or 3
- New Tenant Scenario : 0
- Existing Tenant Scenario : 1
- Existing Tenant of 1P Scenario : 2
- Test Auth for the above scenarios: 3