Skip to content

Latest commit

 

History

History
125 lines (76 loc) · 6.17 KB

File metadata and controls

125 lines (76 loc) · 6.17 KB

Information oversharing template setup

Overview

Information oversharing is a security and compliance use case powered by our newly available SharePoint datasets. This allows customers to better understand how secure their SharePoint is, maintain information boundaries, and establish new rules based on how sensitive data is managed and classified.

After you follow these steps, you will have a great set of Power BI dashboards related to SharePoint security, like the one shown below.

Installing Pre-reqs

You need to Enable Microsoft Graph Data Connect, Create an appilication identity to use with MGDC. Create a fabric workspace and Lakehouse to extract the required data from MGDC. All the steps are listed in the blog post. Follow step-by-step guide from the above blog post and make sure steps 0 (Overview) and 1 (all from 1.a to 1.f ) are completed.

Importing a pipeline from gallery and setting up

Next, you will configure a pipeline in Microsoft Fabric. You will import and pipeline to pull SharePoint data from Microsoft 365 and load into Lake house. Here is what you will need to do:

  1. Go to the Fabric Workspace and create a pipeline

    • Navigate to the Microsoft Fabric Portal at https://fabric.microsoft.com
    • In the main Microsoft Fabric page, select the option for “Data Engineering”
    • Find the “Browse” icon on the bar on the left and click on it.
    • Find the Fabric workspace you created and click on it.

  1. In the workspace, click on “+ New” item.

  1. Select “Data pipeline”.
    • Give the new pipeline a name as "Unlock SharePoint Oversharing Insights" and click on “Create”

  1. Select the "Templates” option

    • Select a pre-published pipeline "Unlock SharePoint Oversharing Insights" and click on "Next"
  2. Grab connection string for lakehouse sql endpoint.

    • Goto workspace -> select the SQL analytics endpoint of lakehouse that you created.

    • Click on "Settings/Gear icon" and copy SQL Connection string from "About navigation tab"

  3. Create new connection to lake house sql end point and Microsoft 365 and click on "Use this Template".

  4. This imported pipeline might be missing two note books that are required for pipeline to run. This is due to by design /known issues that exists in pipelines tempaltes that are published to fabric template gallery.

  5. Import downloaded notebooks to workspace

    • Select on fabric workpsace (Data Factory Mode) and click on "Import -> Notebook -> from this computer"

    • Click on "Upload" button and select the two notebooks that you downloaded to local computer and click "Open"

  6. Go to Pipeline (Unlock SharePoint Oversharing Insight) window that you already imported.

    • Select the notebook activity "Read Last Snapshot Dates" and go to the settings tab of that activity
    • Choose "Read Last Snapshot Dates" notebook from dropdown

    • Select the notebook activity "Merge Sites and Permissions To Final Table" and go to the settings tab of that activity
    • Choose "Merge Sites and Permissions To Final Table" notebook from dropdown

  7. Replace the default parameter value for LakehouseName parameter to actual lakehouse name, validate and save pipeline.

  8. Pipeline is now ready to run and extract the data from MGDC to lake house. -

  9. Once pipeline is succesful you will see the data in Sites and Permissions tables in lakehouse.

    • You will see 2 staging tables and 2 final tablesin lake house that contains the data for Sites and Permissions. -

PBI report template

Below steps will help to link datasets that are generated using Fabric pipeline above to link to PowerBI Template.

  1. Download and install Microsoft Power BI Desktop if you don’t have it installed already on your machine.
    • Link to download Download Microsoft Power BI Desktop from Official Microsoft Download Center. here
  2. Download the pre-created PowerBI security report that can generate insights from data that is produced using Fabric pipeline. Link to download PowerBI Report. here

  1. Open the PowerBI file and click on Transform data → Data source settings

  1. You will see a lakehouse data sources in the Data source settings page

  1. Enter Connection string of SQL Endpoint for lakehouse that you want to connect to that is created in fabric in Server textbox. Enter lakehouse name in database textbox.

  1. Now we need to give the right credentials for these data source.

    • Click on Edit Permissions and Edit under credentials and sign in with microsoft account
  2. Congratulations, you are all set and will see that the report will be refreshed with the latest data

  3. If you see any error or data is not being refreshed then please make sure your entered right credentials in data source settings.