Skip to content

Commit f35e25b

Browse files
authored
chore: update polis entra scim logs to include custom attr info (#2686)
1 parent b573a9f commit f35e25b

1 file changed

Lines changed: 28 additions & 2 deletions

File tree

docs/polis/directory-sync/providers/azure.mdx

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,39 @@ From the right side of the screen, select the users you want to assign to the ap
7474

7575
## FAQ
7676

77-
#### How frequently does Microsoft Entra ID SCIM perform sync by default?
77+
### How frequently does Microsoft Entra ID SCIM perform sync by default?
7878

7979
Microsoft Entra ID automatically provisions and updates user accounts in an app based on things like user and group assignment.
8080
The sync happens at a regularly scheduled time interval, typically every 20-40 minutes.
8181

82-
#### Why does the PATCH request fail in Microsoft Entra ID SCIM?
82+
### Why does the PATCH request fail in Microsoft Entra ID SCIM?
8383

8484
This is a known issue with Entra ID SCIM implementation. You have to add the query param `?aadOptscim062020` to the SCIM endpoint
8585
URL to make PATCH requests work. This query param update PATCH behavior and ensure SCIM compliance.
8686
[Read More](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/application-provisioning-config-problem-scim-compatibility#flags-to-alter-the-scim-behavior)
87+
88+
### Why is a custom attribute not showing up in Ory Polis?
89+
90+
If you map a custom attribute and it doesn't appear in the user record in Ory Polis, the cause is almost always on the Microsoft
91+
Entra ID side. Ory Polis stores every attribute it receives under the schema it arrives in, so a missing attribute means Entra ID
92+
didn't send it. Check the following in Microsoft Entra ID:
93+
94+
- **The source attribute has a value.** Microsoft Entra ID
95+
[doesn't provision null values](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/customize-application-attributes#what-you-should-know).
96+
If the mapped source resolves to empty (shown as `undefined` in the provisioning view), Entra ID sends nothing. Directory
97+
extension attributes (`extensionAttribute1–15`) are often empty on cloud-only users and can only be set through Microsoft Graph
98+
or Exchange, not the user profile page.
99+
- **The mapping applies to updates.** Set **Apply this mapping** to **Always** so the attribute flows on both create and update.
100+
Entra ID only re-sends an attribute when its value changes, so change the value — or restart provisioning — to force a fresh
101+
sync for users that already exist.
102+
- **Custom attributes may be sent on update, not on create.** Microsoft Entra ID can omit custom attributes from the initial
103+
create (`POST`) and send them in a later update (`PATCH`). Use **Provision on demand** against a user that already exists to
104+
trigger an update.
105+
- **Use a custom extension schema for non-standard attributes.** The enterprise extension schema
106+
`urn:ietf:params:scim:schemas:extension:enterprise:2.0:User` is reserved for the RFC 7643 attributes (`employeeNumber`,
107+
`department`, `manager`, and so on). Define your own attributes under a custom namespace such as
108+
`urn:ietf:params:scim:schemas:extension:CustomExtensionName:2.0:User:CustomAttribute` through **Edit attribute list**.
109+
[Read More](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/customize-application-attributes#editing-the-list-of-supported-attributes)
110+
111+
To see exactly what Microsoft Entra ID sends, open **Provision on demand** (or the **Provisioning logs**) in the Azure portal and
112+
review the **Modified attributes** for the user.

0 commit comments

Comments
 (0)