- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 11:14 AM - edited 04-17-2024 12:01 PM
We are using graph api rest message to get users from Azure Prod to ServiceNow Dev. We are getting only some users from azure. Is there any restriction from azure stopping?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 08:22 PM
Well, you can build from scratch using REST APIs but why reinvent the wheel?
If you want to use REST API, you will have to add paginations so that the payload doesn't get too big
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 01:22 PM
Can you elaborate on what users are not being fetched?
Maybe the payload is too big or only fetches x number of records per transaction.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 07:32 PM
Hi @James Chun ,
Thanks for your reply. Yes payload is big. So how to get all users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 07:47 PM
Why are you retrieving all the users? Is it for user provisioning?
If so, refer to this - https://learn.microsoft.com/en-us/entra/identity/saas-apps/servicenow-provisioning-tutorial
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 07:55 PM - edited 04-17-2024 08:02 PM
Hi @James Chun ,
Yes, for user provisioning we are using Oauth Rest Api as per SOW.
Can we not pull all users using Rest Api ?