Hi,
I have added a specific Distribution List (e.g. ContosoAdmins) of AD as Site Collection Admin.
This ContosoAdmins consist of below listed user,
1. AdminUser1
2. AdminUser2
3. AdminUser3
While I am try to fetch these users by using below REST api call,
http://<SiteCollection>/_api/web/siteusers?$filter=IsSiteAdmin%20eq%20true
It only fetches ContosoAdmins details as response whereas expected result should fetch details of all 3 users i.e. AdminUser1, AdminUser2, AdminUser3.
Kindly help, if we have alternate rest api to fetch this expected result.
Hope this help.
Vote - if you find this helpful
Marked as Answer - if you see this reply being an answer to the question of the thread
Regards,
Amjad Khan
Blog: https://amjadk.com