Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Import groups from Azure to Servicenow

SS1510
Tera Expert

Hello @all ,

I have a requirement to import 4000 records from azure to servicenow (sys_user_group). For that i have created a flow in which i used 'Look up Groups Stream' data stream, in which page size is 999 , when i trigger the flow only upto 999 records it is fetching .

Does anyone has any idea how to fetch all 4000 records from Azure, (we do not have azure account).


Thank you!

9 REPLIES 9

Hi @manish62  ,

 

I have shared a link with you. Try that solution once.

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Thanks @Tanushree Maiti ,

I am checking what should be the mapping of attribute between ServiceNow and Azure to resolve this error, not sure about location and department how it would work as these are reference fields in user table.

Hello @Tanushree Maiti ,

Could you please help me to understand where we can map the integration account which i created as part of this integration and provided admin privileges as connection from azure AD to servicenow happening via Tenant url "https://<instance_name>.service-now.com/api/now/v2/scim" and secret token. 

Hi @manish62 

 

At Servicenow End, Create Connection and credential with your end point and token . Add proper scope as well and establish the connection.

 

Follow URL :https://www.servicenow.com/docs/r/platform-security/connections-and-credentials/connection-alias.htm...

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

manish62
Tera Contributor

Thank you for your response.

I have now configured the out-of-the-box (OOB) ServiceNow application and am no longer using the SCIM plugin. With the OOB integration, user data is successfully being provisioned into ServiceNow, and attributes such as Location and Department are also getting mapped to the user profile, provided those records already exist in the system.

However, I would like to understand how we can automate the complete process. For example, if a new Location or Department is added in Azure AD / Microsoft Entra ID, how can those records be automatically created in ServiceNow so that user provisioning does not fail or require manual intervention?

Do we have any standard approach, best practice, or supported process to automatically create and maintain these reference records in ServiceNow as part of the provisioning lifecycle?