You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Add this BuildingBlocks section to the relying party policy. -->
133
138
<BuildingBlocks>
134
-
<!-- Add the XML code outlined in Step 2 if this section. -->
139
+
<!-- Add the XML code outlined in Step 2 in this section. -->
135
140
</BuildingBlocks>
136
141
137
142
<RelyingParty>
@@ -142,6 +147,10 @@ To help prevent fraudulent sign-ups, remove any country/region codes that do not
142
147
143
148
1. In the `BuildingBlocks` section of this policy file, add the following code. Make sure to include only the country/region codes relevant to your organization:
144
149
150
+
> [!IMPORTANT]
151
+
> This code must be added to the **relying party policy** to ensure the country/region code restrictions are properly enforced on the server side.
152
+
> Defining these elements only in the parent policies will not work; they **must be added to the relying party policy**.
153
+
145
154
```xml
146
155
<BuildingBlocks>
147
156
@@ -178,11 +187,8 @@ To help prevent fraudulent sign-ups, remove any country/region codes that do not
178
187
179
188
The countryList acts as an allow list. Only the countries/regions you specify in this list (for example, Japan, Bulgaria, and the United States) are permitted to use MFA. All other countries/regions are blocked.
180
189
181
-
> [!IMPORTANT]
182
-
> This code must be added to the relying party policy to ensure the country/region code restrictions are properly enforced on the server side.
190
+
183
191
184
192
## Related content
185
193
186
194
- Learn about [Identity Protection and Conditional Access for Azure AD B2C](conditional-access-identity-protection-overview.md)
187
-
188
-
- Apply [Conditional Access to user flows in Azure Active Directory B2C](conditional-access-user-flow.md)
0 commit comments