Skip to content

Commit

Permalink
[v14] docs: Fix username attribute transformation in Azure AD guide (#…
Browse files Browse the repository at this point in the history
…47800)

* docs: Fix username attribute transformation in Azure AD guide

* Value -> Transformation
  • Loading branch information
webvictim authored Oct 22, 2024
1 parent c0076f7 commit 913f401
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Binary file modified docs/img/azuread/azuread-8c-usernameclaim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions docs/pages/admin-guides/access-controls/sso/azuread.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,18 @@ Before you get started, you’ll need:

![Put in Security group claim](../../../../img/azuread/azuread-8b-groupclaim.png)

1. Add a claim that transforms the format of the Azure AD username to lower case, in order to pass it to
Teleport. Set the Source to "Transformation". In the new panel:
1. (optional) Add a claim that transforms the format of the Azure AD username to lower case, in order to use it inside
Teleport roles as the `{{external.username}}` property.

Set the Source to "Transformation". In the new panel:

- Set the Transformation value to "Extract()"

- Set the Attribute name to `user.userprincipalname`.

- Set the Value to `ToLowercase()`.
- Set the Value to `@`.

- Click "Add Transformation" and set the Transformation to `ToLowercase()`.

![Add a transformed username](../../../../img/azuread/azuread-8c-usernameclaim.png)

Expand Down

0 comments on commit 913f401

Please sign in to comment.