Just-in-Time provisioning requires the creation of a SAML assertion. Consider the following when creating your SAML assertion.
<saml:Attribute Name="ProvisionVersion" NameFormat=
"urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">1.0</saml:AttributeValue>
</saml:Attribute>
To correctly identify which object to create in Salesforce, you must use the User. prefix for all fields passed in the SAML assertion. In this example, the User. prefix has been added to the Username field name.
<saml:Attribute
Name="User.Username"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">testuser@123.org</saml:AttributeValue>
</saml:Attribute>
The following standard fields are supported.
| Fields | Required | Comments |
|---|---|---|
| AboutMe | ||
| Alias | If not present, a default is derived from FirstName and LastName. | |
| CallCenter | ||
| City | ||
| CommunityNickname | If not present, a default is derived from the UserName. | |
| CompanyName | ||
| Country | ||
| DefaultCurrencyIsoCode | Derived from organization settings. | |
| DelegatedApproverId | ||
| Department | ||
| Division | ||
| Y | ||
| EmailEncodingKey | If not present, a default is derived from the organization settings. | |
| EmployeeNumber | ||
| Extension | ||
| Fax | ||
| FederationIdentifier (insert only) | If present, it must match the SAML subject, or the SAML subject is taken instead. Can't be updated with SAML. | |
| FirstName | ||
| ForecastEnabled | ||
| IsActive | ||
| LastName | Y | |
| LanguageLocaleKey | ||
| LocaleSidKey | If not present, a default is derived from the organization settings. | |
| Manager | ||
| MobilePhone | ||
| Phone | ||
| ProfileId | Y | |
| ReceivesAdminInfoEmails | ||
| ReceivesInfoEmails | ||
| State | ||
| Street | ||
| TimeZoneSidKey | If not present, a default is derived from the organization settings. | |
| Title | ||
| Username (insert only) | Y | Can't update using SAML. |
| UserRoleId | Defaults to “no role” if blank. | |
| Zip |
Other field requirements: