This composite GitHub Action extracts metadata from a Power BI workspace using the XMLA endpoint and uploads it as a JSON artifact.
| Name | Description | Required |
|---|---|---|
workspace_name |
Name of the Power BI workspace | β |
tenant_id |
Azure AD Tenant ID | β |
client_id |
Azure AD App Client ID | β |
client_secret |
Azure AD App Client Secret | β |
| Name | Description |
|---|---|
artifact-name |
Name of the uploaded metadata artifact |
jobs:
extract-metadata:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reecetech/pbi-metadata-action@0.0.1
with:
workspace_name: ${{ inputs.workspace_name }}
tenant_id: ${{ secrets.TENANT_ID }}
client_id: ${{ secrets.CLIENT_ID }}
client_secret: ${{ secrets.CLIENT_SECRET }}