Skip to content

Commit af65457

Browse files
authored
Merge pull request #175407 from yoelhor/patch-197
Localization policy
2 parents 452d2e0 + 5c06a60 commit af65457

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

articles/active-directory-b2c/deploy-custom-policies-devops.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ A pipeline task is a pre-packaged script that performs an action. Add a task tha
172172

173173

174174
```PowerShell
175-
-ClientID $(clientId) -ClientSecret $(clientSecret) -TenantId $(tenantId) -Folder $(System.DefaultWorkingDirectory)/policyRepo/B2CAssets/ -Files "TrustFrameworkBase.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml,ProfileEdit.xml,PasswordReset.xml"
175+
-ClientID $(clientId) -ClientSecret $(clientSecret) -TenantId $(tenantId) -Folder $(System.DefaultWorkingDirectory)/policyRepo/B2CAssets/ -Files "TrustFrameworkBase.xml,TrustFrameworkLocalization.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml,ProfileEdit.xml,PasswordReset.xml"
176176
```
177177
178178
The `-Files` parameter is a comma delimiter list of policy files to deploy. Update the list with your policy files.
179179
180180
> [!IMPORTANT]
181-
> Ensure the policies are uploaded in the correct order. First the base policy, the extensions policy, then the relying party policies. For example, `TrustFrameworkBase.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml`.
181+
> Ensure the policies are uploaded in the correct order. First the base policy, the extensions policy, then the relying party policies. For example, `TrustFrameworkBase.xml,TrustFrameworkLocalization.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml`.
182182
183183
1. Select **Save** to save the Agent job.
184184

articles/active-directory-b2c/deploy-custom-policies-github-action.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ To create a workflow, follow these steps:
9494
uses: azure-ad-b2c/deploy-trustframework-policy@v3
9595
with:
9696
folder: "./Policies"
97-
files: "TrustFrameworkBase.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml"
97+
files: "TrustFrameworkBase.xml,TrustFrameworkLocalization.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml"
9898
tenant: ${{ env.tenant }}
9999
clientId: ${{ env.clientId }}
100100
clientSecret: ${{ secrets.clientSecret }}
@@ -107,12 +107,13 @@ To create a workflow, follow these steps:
107107
| `env` | `clientId` | **Application (client) ID** of the application you registered in the [Register an MS Graph application](#register-a-microsoft-graph-application) step. |
108108
|`env`| `tenant` | Your Azure AD B2C [tenant name](tenant-management.md#get-your-tenant-name) (for example, contoso.onmicrosoft.com). |
109109
| `with`| `folder`| A folder where the custom policies files are stored, for example, `./Policies`.|
110-
| `with`| `files` | Comma-delimited list of policy files to deploy, for example, `TrustFrameworkBase.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml`.|
110+
| `with`| `files` | Comma-delimited list of policy files to deploy, for example, `TrustFrameworkBase.xml,TrustFrameworkLocalization.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml`.|
111111

112112
> [!IMPORTANT]
113113
> When running the agents and uploading the policy files, make sure they're uploaded in the correct order:
114114
>
115115
> 1. *TrustFrameworkBase.xml*
116+
> 1. *TrustFrameworkLocalization.xml*
116117
> 1. *TrustFrameworkExtensions.xml*
117118
> 1. *SignUpOrSignin.xml*
118119
> 1. *ProfileEdit.xml*

articles/active-directory-b2c/tutorial-create-user-flows.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: celestedg
88
ms.service: active-directory
99
ms.workload: identity
1010
ms.topic: tutorial
11-
ms.date: 09/20/2021
11+
ms.date: 10/12/2021
1212
ms.author: mimart
1313
ms.subservice: B2C
1414
zone_pivot_groups: b2c-policy-type
@@ -251,6 +251,7 @@ Custom policies are a set of XML files you upload to your Azure AD B2C tenant to
251251
Each starter pack contains:
252252

253253
- **Base file** - Few modifications are required to the base. Example: *TrustFrameworkBase.xml*
254+
- **Localization file** - This file is where localization changes are made. Example: *TrustFrameworkLocalization.xml*
254255
- **Extension file** - This file is where most configuration changes are made. Example: *TrustFrameworkExtensions.xml*
255256
- **Relying party files** - Task-specific files called by your application. Examples: *SignUpOrSignin.xml*, *ProfileEdit.xml*, *PasswordReset.xml*
256257

@@ -285,10 +286,11 @@ Add the application IDs to the extensions file *TrustFrameworkExtensions.xml*.
285286
1. Select **Upload custom policy**.
286287
1. In this order, upload the policy files:
287288
1. *TrustFrameworkBase.xml*
288-
1. *TrustFrameworkExtensions.xml*
289-
1. *SignUpOrSignin.xml*
290-
1. *ProfileEdit.xml*
291-
1. *PasswordReset.xml*
289+
2. *TrustFrameworkLocalization.xml*
290+
3. *TrustFrameworkExtensions.xml*
291+
4. *SignUpOrSignin.xml*
292+
5. *ProfileEdit.xml*
293+
6. *PasswordReset.xml*
292294

293295
As you upload the files, Azure adds the prefix `B2C_1A_` to each.
294296

0 commit comments

Comments
 (0)