Get user detail from Ad/Exchange online using jquery

520 views Asked by At

I have list of users in Ad/Exchange online that we can view from https://portal.office.com/Admin/Default.aspx#ActiveUsersPage . I want to get some details (office phone, fax) for a specific user from SharePoint site. Is it possible? In other words, i am running javascript from mysite.sharepoint.com/sitepages/test.aspx and want to show an user detail that we have in https://portal.office.com/Admin/Default.aspx#ActiveUsersPage

Thanks in advance

1

There are 1 answers

0
Venkat Ayyadevara - MSFT On

Take a look at https://msdn.microsoft.com/en-us/office/office365/howto/office-365-unified-api-overview User should give you the details you are looking for. This API is currently in public preview and applies to only Office 365 users. If you are looking for an API that can be used in production, please use Azure AD Graph API.