Skip to content

Commit 7dbf2fc

Browse files
Typo in the New-AzureADPolicy example
Existing example powershell code for creating new AzureADPolicy with transformation contains a typo in the name of the property ClaimsTransformation, it should be ClaimsTransformations (missing "s" at the end)
1 parent a161313 commit 7dbf2fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/active-directory/develop/active-directory-claims-mapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ In this example, you create a policy that emits a custom claim "JoinedData" to J
123123
1. To create the policy, run the following command:
124124
125125
```powershell
126-
New-AzureADPolicy -Definition @('{"ClaimsMappingPolicy":{"Version":1,"IncludeBasicClaimSet":"true", "ClaimsSchema":[{"Source":"user","ID":"extensionattribute1"},{"Source":"transformation","ID":"DataJoin","TransformationId":"JoinTheData","JwtClaimType":"JoinedData"}],"ClaimsTransformation":[{"ID":"JoinTheData","TransformationMethod":"Join","InputClaims":[{"ClaimTypeReferenceId":"extensionattribute1","TransformationClaimType":"string1"}], "InputParameters": [{"ID":"string2","Value":"sandbox"},{"ID":"separator","Value":"."}],"OutputClaims":[{"ClaimTypeReferenceId":"DataJoin","TransformationClaimType":"outputClaim"}]}]}}') -DisplayName "TransformClaimsExample" -Type "ClaimsMappingPolicy"
126+
-
127127
```
128128
129129
2. To see your new policy, and to get the policy ObjectId, run the following command:

0 commit comments

Comments
 (0)