# Setup verification tool

We provide a Python script that automatically checks your Power BI configuration and permissions.

### Prerequisites

* Python 3.6 or higher installed
  * [Download Python for Windows](https://www.python.org/downloads/)
  * Mac: `brew install python3`
  * Linux: `sudo apt-get install python3`

{% file src="/files/NVAbFhYKpeHOQWvgrPBR" %}
Troubleshooting python script
{% endfile %}

### Running the setup verification tool

1. Download and unzip `powerbi_troubleshooting.zip`
2. Follow the instructions in the test\_scripts/README
3. Read the script output carefully!

### Manual Verification Steps

1. **Azure Portal Checks**
   * App Registration exists
   * Required permissions granted
   * Admin consent provided
2. **Power BI Service Checks**
   * Security group added to workspace
   * Service principal enabled
   * Dataset refreshed recently
3. **Integration Checks**
   * Correct workspace name
   * Exact table name match
   * Security group name matches exactly

### Need More Help?

Contact support with test script output.  Please contact <support@smaply.com> and we'll try and get you up and running as fast as we can.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdesk.smaply.app/integrations/metrics-tools/powerbi/configuring-the-powerbi-integration/set-up-service-account-for-powerbi/setup-verification-tool.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
