Customer is a leading Personal Data Privacy and Protection provider.
It enables organizations to discover and map all types of data from all enterprise data sources; automatically classify, correlate, and catalogue identity & entity data into profiles; manage and protect enterprise data with advanced data intelligence; and automate data privacy and protection.
It identifies all PII across structured, unstructured, cloud & Big Data.
Customer requested to build a Connector app to integrate their platform with Microsoft Office 365 to scan the data present in the Outlook for finding the PII information.
Office 365 is a line of subscription services offered by Microsoft as part of the Microsoft Office product line. The email service, task management, calender application, and contact manager included with business and enterprise Office 365 subscriptions are under the Outlook on the web brand.
Sacumen developed the Connector app to integrate Microsoft O365 using C# 8.0 (.NET Core 3.0). The Connector app performs the following actions:
Set up the prerequisites
O365 Account with Admin privileges
Registered app which will give the appid & app secret
Grant the required permissions (User.Read, User.ReadBasic.All and Mail.Send)
Requests for access token by using OAuth flow (appid & app secret) and sign in the user to authenticate.
Retrieves the outlook mails and attachments data using the Graph API.
Samples the fetched data using predefined sampling techniques.
Formats the data and pass it to the customer.