Populate ServiceNow custom fields from Azure AD user provisioning

Andrew Welle
Tera Contributor

Hi all,

 

I have a use case where I need to populate a custom ServiceNow field with an attribute from Azure AD through Azure's automatic user provisioning. Do you know if this is possible? Thanks for the help in advance.

 

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

 

Hi @Andrew Welle ,

 

Do the below configuration in Azure:

 

  • To do mapping with the custom fields select “show advanced options” and click “edit attribute list for ServiceNow.”

      

Sai149_0-1716216518895.png

 

  • Add the backend values of the custom fields and save it.

Sai149_1-1716216519441.png

 

  • Now click on “add new mapping” and map the azure attributes to ServiceNow custom fields.

Sai149_2-1716216519403.png

 

Here I have added mappings to two custom fields (u_department,u_location).

 

I started answering community questions recently. If my answer helped you in any way, please mark it as helpful or correct. It would be a great boost.

 

View solution in original post

3 REPLIES 3

AJ-TechTrek
Giga Sage
Giga Sage

Hi @Andrew Welle ,

 

Please check and map the custom attribute in Azure side for auto update in ServiceNow.


Also refer the below.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0635951

 

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

Ajay Kumar

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024

Community Alums
Not applicable

Hi @Andrew Welle ,

  • In the Mappings section, select Synchronize Azure Active Directory Users to ServiceNow.

Select Provisioning to manage user account provisioning settings for the selected app.

Expand Mappings to view and edit the user attributes that flow between Azure AD and the target application. If the target application supports it, this section lets you optionally configure provisioning of groups and user accounts

 

Select a Mappings configuration to open the related Attribute Mapping screen. Some attribute-mappings are required by a SaaS application to function correctly. For required attributes, the Delete feature is unavailable.

  • Review the user attributes that are synchronized from Azure AD to ServiceNow in the Attribute-Mapping section. The attributes selected as Matching properties are used to match the user accounts in ServiceNow for update operations.
  • If you choose to change the **matching target attribute, you'll need to ensure that the ServiceNow API supports filtering users based on that attribute.**
  • Select the Save button to commit any changes.
  • In the Mappings section, select Synchronize Azure Active Directory Groups to ServiceNow.
  • Review the group attributes that are synchronized from Azure AD to ServiceNow in the Attribute-Mapping section. The attributes selected as Matching properties are used to match the groups in ServiceNow for update operations. Select the Save button to commit any changes.

Also, Please refer to this link :

https://www.servicenow.com/community/now-platform-forum/azure-user-provisioning-adding-department-qu...

 

Community Alums
Not applicable

 

Hi @Andrew Welle ,

 

Do the below configuration in Azure:

 

  • To do mapping with the custom fields select “show advanced options” and click “edit attribute list for ServiceNow.”

      

Sai149_0-1716216518895.png

 

  • Add the backend values of the custom fields and save it.

Sai149_1-1716216519441.png

 

  • Now click on “add new mapping” and map the azure attributes to ServiceNow custom fields.

Sai149_2-1716216519403.png

 

Here I have added mappings to two custom fields (u_department,u_location).

 

I started answering community questions recently. If my answer helped you in any way, please mark it as helpful or correct. It would be a great boost.