Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove MFA from initial setup #12

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions GettingStarted/Az.ADB2C.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ function Connect-AzADB2C
Filename if only downloading a single file.

.EXAMPLE
Get-AzADB2CStarterPack -PolicyType "SocialAndLocalAccountsWithMfa"
Get-AzADB2CStarterPack -PolicyType "SocialAndLocalAccounts"
#>
function Get-AzADB2CStarterPack(
[Parameter(Mandatory=$false)][Alias('p')][string]$PolicyPath = "",
Expand Down Expand Up @@ -373,10 +373,10 @@ function Get-AzADB2CStarterPack(
New-AzADB2CPolicyProject -PolicyPrefix "demo"

.EXAMPLE
New-AzADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalWithMfa"
New-AzADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalAccounts"

.EXAMPLE
New-AzADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalWithMfa" -NoCustomAttributes:$True
New-AzADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalAccounts" -NoCustomAttributes:$True
#>
function New-AzADB2CPolicyProject
(
Expand Down
6 changes: 3 additions & 3 deletions GettingStarted/AzureADB2C-Scripts.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Filename if only downloading a single file.

.EXAMPLE
Get-AzureADB2CStarterPack -PolicyType "SocialAndLocalAccountsWithMfa"
Get-AzureADB2CStarterPack -PolicyType "SocialAndLocalAccounts"
#>
function Get-AzureADB2CStarterPack(
[Parameter(Mandatory=$false)][Alias('p')][string]$PolicyPath = "",
Expand Down Expand Up @@ -72,10 +72,10 @@ function Get-AzureADB2CStarterPack(
New-AzureADB2CPolicyProject -PolicyPrefix "demo"

.EXAMPLE
New-AzureADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalWithMfa"
New-AzureADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalAccounts"

.EXAMPLE
New-AzureADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalWithMfa" -NoCustomAttributes:$True
New-AzureADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalAccounts" -NoCustomAttributes:$True
#>
function New-AzureADB2CPolicyProject
(
Expand Down
2 changes: 1 addition & 1 deletion GettingStarted/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ New-AzADB2CPolicyProject -PolicyPrefix "demo"
The default PolicyType is `SocialAndLocalAccounts` and if you would like to base your policies on another type, you specify that on the command line.

```powershell
New-AzADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalAccountsWithMfa"
New-AzADB2CPolicyProject -PolicyPrefix "demo" -PolicyType "SocialAndLocalAccounts"
```

After you have run `New-AzADB2CPolicyProject`, you can directly push them to your tenant and test them
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,15 @@ private Dictionary<string, string> GetPolicyFiles(bool removeFb, string dirDomai
{

var policyFileList = new List<string>();
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/localization/SocialAndLocalAccountsWithMfa/TrustFrameworkBase.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/localization/SocialAndLocalAccounts/TrustFrameworkBase.xml"));

if (!removeFb)
{
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccountsWithMfa/TrustFrameworkLocalization.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccountsWithMfa/TrustFrameworkExtensions.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccountsWithMfa/SignUpOrSignin.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccountsWithMfa/PasswordReset.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccountsWithMfa/ProfileEdit.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccounts/TrustFrameworkLocalization.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccounts/TrustFrameworkExtensions.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccounts/SignUpOrSignin.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccounts/PasswordReset.xml"));
policyFileList.Add(new WebClient().DownloadString("https://raw.githubusercontent.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/master/SocialAndLocalAccounts/ProfileEdit.xml"));
}
if (removeFb)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<ul>
<li>
The application will automate the entire process from:
<a href="https://aka.ms/ief" target="_blank">Get started with custom policies in Azure Active Directory B2C</a>. It will deploy the Social, Local and MFA files, with Local Account journeys.
<a href="https://aka.ms/ief" target="_blank">Get started with custom policies in Azure Active Directory B2C</a>. It will deploy the Social, Local files, with Local Account journeys.
This allows you to build upon these foundations without any missing dependancies.
</li>

Expand Down Expand Up @@ -43,10 +43,10 @@
<ol>
<li>
<b>Remove Facebook references</b> - Removes the Facebook references from the deployment process when selected.
Doing so, will provision the <a href="https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack" target="_blank">SocialAndLocalAccountsWithMFA starter pack</a> with the User Journeys from the <a href="https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack">LocalAccount starter pack</a>.
Doing so, will provision the <a href="https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack" target="_blank">SocialAndLocalAccounts starter pack</a> with the User Journeys from the <a href="https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack">LocalAccount starter pack</a>.
</li>
<li>
<b>Deploy Phone SignIn Journeys</b> - Deploys the <a href="https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/tree/master/scenarios/phone-number-passwordless" target="_blank">Phone Sign In/Up passwordless journeys</a> in addition to the LocalAndSocialWithMFA starter pack.
<b>Deploy Phone SignIn Journeys</b> - Deploys the <a href="https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/tree/master/scenarios/phone-number-passwordless" target="_blank">Phone Sign In/Up passwordless journeys</a> in addition to the LocalAccounts starter pack.
</li>
<li>
<b>Enable JavaScript</b> - Enables the custom policies to support <a href="https://docs.microsoft.com/en-us/azure/active-directory-b2c/javascript-and-page-layout?pivots=b2c-custom-policy#select-a-page-layout-version" target="_blank">JavaScript execution on your custom HTML pages</a>.
Expand Down