This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserJourney Id="SignUpOrSignIn-withConsent"> | |
<OrchestrationSteps> | |
<OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin"> | |
<ClaimsProviderSelections> | |
<ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange" /> | |
</ClaimsProviderSelections> | |
<ClaimsExchanges> | |
<ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" /> | |
</ClaimsExchanges> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TechnicalProfile Id="SelfAsserted-Consent"> | |
<DisplayName>User Consent</DisplayName> | |
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> | |
<Metadata> | |
<Item Key="ContentDefinitionReferenceId">api.selfasserted.consent</Item> | |
</Metadata> | |
<CryptographicKeys> | |
<Key Id="issuer_secret" StorageReferenceId="B2C_1A_TokenSigningKeyContainer" /> | |
</CryptographicKeys> | |
<InputClaims /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TechnicalProfile Id="AAD-WriteUserConsentByObjectId-ThrowIfNotExists"> | |
<Metadata> | |
<Item Key="Operation">Write</Item> | |
<Item Key="RaiseErrorIfClaimsPrincipalDoesNotExist">true</Item> | |
</Metadata> | |
<IncludeInSso>false</IncludeInSso> | |
<InputClaims> | |
<InputClaim ClaimTypeReferenceId="objectId" Required="true" /> | |
</InputClaims> | |
<PersistedClaims> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<OutputClaim ClaimTypeReferenceId="extension_TermsOfUseConsented" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ContentDefinition Id="api.selfasserted.consent"> | |
<LoadUri>~/tenant/default/selfasserted.cshtml</LoadUri> | |
<RecoveryUri>~/common/default_page_error.html</RecoveryUri> | |
<DataUri>urn:com:microsoft:aad:b2c:elements:selfasserted:1.1.0</DataUri> | |
<Metadata> | |
<Item Key="DisplayName">Consent</Item> | |
</Metadata> | |
</ContentDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ClaimType Id="extension_TermsOfUseConsented"> | |
<DisplayName>Terms of Use Consented</DisplayName> | |
<DataType>string</DataType> | |
<UserInputType>CheckboxMultiSelect</UserInputType> | |
<Restriction> | |
<Enumeration Text="I am agreeing to the terms of use" Value="2018-09-15" SelectByDefault="false" /> | |
</Restriction> | |
</ClaimType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$upn = "firstname.lastname@mydomain.com" | |
$method1 = New-Object -TypeName Microsoft.Online.Administration.StrongAuthenticationMethod | |
$method1.IsDefault = $true | |
$method1.MethodType = "OneWaySMS" | |
$method2 = New-Object -TypeName Microsoft.Online.Administration.StrongAuthenticationMethod | |
$method2.IsDefault = $false | |
$method2.MethodType = "TwoWayVoiceMobile" | |
$methods = @($method1, $method2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<B2BHouseKeepSolution> | |
<!-- Configuration parameter for all PowerShell connector script --> | |
<PowerShell> | |
<TenantName>domain.onmicrosoft.com</TenantName> | |
<ClientID>XXXXXXX</ClientID> | |
<ClientSecret>XXXXXXX</ClientSecret> | |
<LastLoginExtAttribute>extension_XXXXXXXXXX_LastLogin</LastLoginExtAttribute> | |
</PowerShell> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.Synopsis | |
Compare the CLIXML output files of PowerShell cmdlets | |
.Description | |
Compares the PowerShell cmdlet output stored in reference and difference CLIXML file | |
.Example | |
PSOutputCompare.ps1 -ReferenceCLIXMLFile <reference.xml> -DifferenceCLIXMLFile <difference.xml> -ObjectIdentifierName ObjectId -NameAttribute DisplayName | |
Compares both files and identify objects by the ObjectIdentifierName attribute while showing DisplayName in the output object |