Skip to content

Commit 7381121

Browse files
add username rules to entra
1 parent 5c9b1a1 commit 7381121

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/hub/security-sso-entra-id-scim.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,20 @@ This feature is part of the <a href="https://huggingface.co/contact/sales?from=e
5252
| `name.formatted` | `Join(" ", [givenName], [surname])` | |
5353
| `externalId` | `objectId` | `1` |
5454

55-
3. After configuring the user mappings, go back to the Provisioning screen and click on **Provision Microsoft Entra ID Groups** to review group mappings. The default settings for groups are usually sufficient.
55+
3. The Username needs to comply with the following rules.
56+
57+
<Tip warning={true}>
58+
<ul>
59+
<li>Only regular characters and `-` are accepted in the Username.</li>
60+
<li>`--` (double dash) is forbidden.</li>
61+
<li>`-` cannot start or end the name.</li>
62+
<li>Digit-only names are not accepted.</li>
63+
<li>Minimum length is 2 and maximum length is 42.</li>
64+
<li>Username has to be unique within your org.</li>
65+
</ul>
66+
</Tip>
67+
68+
4. After configuring the user mappings, go back to the Provisioning screen and click on **Provision Microsoft Entra ID Groups** to review group mappings. The default settings for groups are usually sufficient.
5669

5770
### Step 5: Start Provisioning
5871

0 commit comments

Comments
 (0)