Optimized version of the Capacity Template now uses Microsoft Fabric
1. Capacity Scenario
One of the most common scenarios for Microsoft Graph Data Connect (MGDC) for SharePoint is Capacity. This scenario focuses on identifying which sites and files are using the most storage, along with understanding the distribution of these large sites and files by properties like type and age.
The MGDC datasets for this scenario are SharePoint Sites and SharePoint Files. If you’re not familiar with these datasets, you can find details in the schema definitions at https://aka.ms/SharePointDatasets.
To assist you in using these datasets, the team has developed a Capacity Template. Initially published as a template for Azure Synapse, we now have a new Microsoft Fabric template that is simpler and offers more features.
This SharePoint Capacity v2 Template, based on Microsoft Fabric, is now publicly available.
2. Instructions
The template comes with a set of detailed instructions at https://aka.ms/fabriccapacitytemplatesteps. These instructions include:
- How to install the Microsoft Fabric and Microsoft Graph Data Connect prerequisites
- How to import the pipeline template from the Microsoft Fabric gallery and set it up
- How to import the Power BI template and configure the data source settings
See below some additional details about the template.
3. Microsoft Fabric Pipeline
After you import the pipeline template, it will look like this:
4. Pipeline in Microsoft Fabric
The Capacity template for Microsoft Fabric includes a few key improvements:
- The new template uses delta datasets to update the SharePoint Sites and SharePoint Files datasets. It keeps track of the last time the datasets were pulled by this pipeline, requesting just what changed since then.
- The new template uses views to do calculations and create new properties like size bands or date bands. In our previous template, this was done in Power Query, when importing into Power BI.
- The new template also uses a view to aggregate file data, grouping the data by file extension.
You can find details on how to find and deploy the Microsoft Fabric template in the instructions (see item 3).
5. Microsoft Fabric Report
The typical result from this solution is a set of Power BI dashboards pulled from the Microsoft Fabric data source. Here are some examples:
These dashboards serve as examples or starting points and can be modified as necessary for various visualizations of the data within these datasets.
The instructions (see item 3) include details on how to find and deploy a few sample Power BI Capacity templates.
6. Conclusion
I hope this provides a good overview of the Capacity template for Microsoft Fabric. You can read more about the Microsoft Graph Data Connect for SharePoint at https://aka.ms/SharePointData. There you will find many details, including a list of datasets available, other common scenarios and frequently asked questions.