A complete workflow to fetch data from Autodesk Construction Cloud (ACC) using Autodesk Platform Services (APS), load it into Microsoft Fabric Lakehouse, and build Power BI dashboards.
your-project-folder/
βββ auth.py # Handles OAuth authentication
βββ token_store.json # Token file generated after login
- OAuth2 flow with Autodesk API
- ACC review data extraction
- Upload tokens to Fabric Lakehouse
- Scheduled daily refresh via Data Pipeline
- Power BI report based on live Autodesk data
- Python 3.8+
- Microsoft Fabric Workspace
- Autodesk Developer App
- Power BI Access
Install dependencies:
pip install requests flask pandas- Go to: https://aps.autodesk.com/
- Create an app and note:
client_idclient_secret
- Set Redirect URI:
http://localhost:3000/callback - Required Scopes:
data:read,data:write,bucket:read,viewables:read
- Go to ACC β ACC Admin β Custom Integrations
- Register your APS App using the
client_id
Create auth.py and insert the code in auth.py file in the repo:
# auth.py
# [Insert full authentication code here]Run it:
python auth.py- Browser opens β Login β Token saved in
token_store.json
- Go to Fabric Workspace β Lakehouse
- Create folder:
Files/auth/ - Upload
token_store.jsonthere
- In Fabric, create a Notebook
- Paste the Python code to:
- Refresh token
- Run
- It Save as
acc_reviews_dailytable
- Go to workspace β
+ New > Data Pipeline - Drag your notebook
- Add Trigger β Schedule β Daily
- Save & Publish
- Go to workspace β
+ New > Power BI Report - Choose Lakehouse as source
- Select
acc_reviews_dailytable - Build and save your dashboard
- Name:
Raj Agill P K