Master Registration for User Provisioning with Entra ID

幸平
Tera Contributor

Hi all,

User provisioning is set up in conjunction with Microsoft Entra ID.

Provisioning also maps company and departments.
For the user information created by provisioning, the company and department are set only if they exist in the company master and department master on the ServiceNow side.
if the master does not exist, I would like to add a new record to the master and set the company and department in the user master as well.
(I want to prevent blank fields in the case of company or departments that do not exist in the master, and I want to be able to automatically create a master record for a new company or department.

 

If there is a way to make it happen, please let me know.

3 REPLIES 3

SwathiPedireddy
Kilo Sage

Hi @幸平 

Create before business rule on the user table and then check company and department are exists in their respective tables and create if they are not exist and set those on the user record.

Thanks,

Swathi

Thanks for the reply.
Can I see a company or department that is not in the master linked from Entra ID in current.company or previous.company?
If not, how do you check for its existence?

yes, you can check with current.company and current.department

 

Thanks,

Swathi