You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -12,7 +12,7 @@ Watch a [video demonstrating SCIM in action](https://www.youtube.com/watch?v=Nw3
12
12
13
13
This page describes how instance and organization admins use the System for Cross-domain Identity Management (SCIM) API to automate identity management in W&B. With the SCIM API, you can provision and deprovision users, manage team membership, and define custom roles programmatically through an identity provider or CI/CD pipeline instead of clicking through the W&B App. SCIM groups map to W&B Teams.
14
14
15
-
W&B's SCIM API is compatible with identity providers such as Okta. For SSO configuration with Oktaand other identity providers, see the [SSO documentation](/platform/hosting/iam/sso/).
15
+
W&B's SCIM API is compatible with identity providers such as Okta and Microsoft Entra. For SSO configuration with Okta, Microsoft Entra, and other identity providers, see the [SSO documentation](/platform/hosting/iam/sso).
16
16
17
17
For practical Python examples that demonstrate how to interact with the SCIM API, visit the [`wandb-scim`](https://github.com/wandb/examples/tree/master/wandb-scim) repository.
18
18
@@ -108,6 +108,58 @@ For example, authorize with API key `sa-p@55w0rd`:
108
108
Authorization: Basic OnNhLXBANTV3MHJk
109
109
```
110
110
111
+
## Microsoft Entra ID configuration
112
+
113
+
Use this section when you configure automatic user and group provisioning from Microsoft Entra ID to W&B through the SCIM API.
114
+
115
+
For Entra SSO setup, see [Configure SSO with Entra](/platform/hosting/iam/sso).
116
+
117
+
### Tenant URL
118
+
119
+
In your Entra enterprise application's provisioning settings, set **Tenant URL** to your W&B SCIM base URL with the Entra feature flag query parameter `aadOptscim062020` appended:
120
+
121
+
```text
122
+
[HOST-URL]/scim?aadOptscim062020
123
+
```
124
+
125
+
For example, if your instance is at `https://wandb.example.com`, set the tenant URL to `https://wandb.example.com/scim?aadOptscim062020`.
126
+
127
+
The `aadOptscim062020` parameter enables Entra-specific handling in the W&B SCIM API. Without it, Entra can send user deactivation requests with string boolean values (`"False"` or `"True"`) instead of JSON booleans (`false` or `true`), which can cause deactivation to fail.
128
+
129
+
Set **Secret Token** to the API key from an organization admin user or an organization-scoped service account. See [Authentication](#authentication).
130
+
131
+
<Note>
132
+
When you append `aadOptscim062020` to the tenant URL, user deactivation from Entra's **Provision on demand** UI in the Microsoft Entra admin center might not work because that UI still sends string boolean values. To test deactivation manually, send a SCIM `PATCH` request using the `PatchOp``Operations` format that replaces `active` with `false` (see [Deactivate user](#deactivate-user)).
133
+
</Note>
134
+
135
+
### Team names
136
+
137
+
Name Entra groups that map to W&B teams using lowercase letters and hyphens, for example `ml-platform` or `data-science`. Avoid spaces, underscores, and other special characters in group display names that you sync to W&B.
138
+
139
+
### User attribute mappings
140
+
141
+
Configure the following attribute mappings in Entra for SCIM user provisioning:
142
+
143
+
| W&B custom app attribute | Source attribute (Entra) | Apply this mapping | Match objects using this attribute |
|`userName`|`displayName`| Only on object creation ||
149
+
150
+
<Note>
151
+
On **Multi-tenant Cloud**, a user's account isn't managed by the organization. W&B doesn't support updating `displayName` through SCIM on Multi-tenant Cloud. See [Update user display name](#update-user-display-name).
152
+
</Note>
153
+
154
+
### Group attribute mappings
155
+
156
+
Configure the following attribute mappings in Entra for SCIM group (team) provisioning:
157
+
158
+
| W&B custom app attribute | Source attribute (Entra) | Apply this mapping | Match objects using this attribute |
159
+
| --- | --- | --- | --- |
160
+
|`displayName`|`displayName`| Only on object creation | Yes |
161
+
|`members`|`members`| Always ||
162
+
111
163
## User management
112
164
113
165
The SCIM user resource maps to W&B users and service accounts. Use the endpoints in this section to provision, update, and remove users and service accounts in your organization, for example, when you onboard new employees, rotate service credentials, or remove access for departing users.
0 commit comments