Fetch data into app(online site) from Office 365 client Active directories and vice versa.

Copper Contributor

Need help in fetching data from client office 365 active directory to our(vendor) site.

 

Need architect for this requirement.

2 Replies
Hello Naviwalia,

To fetch data from client Office 365 active directory to your site, you can use Microsoft Graph API, which allows you to access data from multiple Microsoft cloud services, including Office 365. You can use Graph API to retrieve user information, groups, and other directory-related data.

To use Graph API, you will need to register your application in Azure Active Directory (Azure AD) and obtain an access token. You can then use the access token to make API requests to Graph API.

Here are the high-level steps you can follow to fetch data from Office 365 active directory:

1- Register your application in Azure AD and obtain an access token.
2- Use Graph API to retrieve user information, groups, or other directory-related data.
3- Map the retrieved data to your application's data model.
4- Display the data on your application's pages.

To push data from your site to the client's Office 365 active directory, you can use Microsoft Graph API or Azure AD Graph API. These APIs provide methods to create, update, or delete directory data, such as users, groups, and applications.

Here are the high-level steps you can follow to push data to Office 365 active directory:

1- Register your application in Azure AD and obtain an access token with the necessary permissions to create, update, or delete directory data.
2- Use Graph API or Azure AD Graph API to create, update, or delete directory data.
3- Map your application's data to the directory data model.
4- Push the data to the client's Office 365 active directory.

Overall, the approach will depend on the specific requirements of your application and the data you need to fetch or push. You can refer to the Microsoft Graph API documentation (https://learn.microsoft.com/en-us/graph/) or

Azure AD Graph API documentation (https://learn.microsoft.com/en-us/graph/azuread-identity-access-management-concept-overview) for more information on the available APIs and methods.

Hope that helps,

Luke
o fetch data from a client's Office 365 Active Directory to your vendor site, you can use the Microsoft Graph API. The Graph API is a RESTful web API that allows you to access and manage Office 365 data, including user profiles, groups, and other directory objects.