Back to App
⇄ Connections

Connecting Marquis IQ to Excel

Query your Marquis IQ data directly in Excel using a live Azure SQL connection. Setup takes about 3 minutes.

ℹ️
Before you start — you need two things:
  1. A Marquis IQ login (Microsoft account). If you don't have one, email support@marquisdata.com.
  2. An Excel template file from your organization — available in Files → Excel Templates inside Marquis IQ.
1
Whitelist Your IP Address
Do this once per network / location

Marquis IQ's Azure SQL database only accepts connections from known IP addresses. You must whitelist your current IP each time you connect from a new location (office, home, hotel Wi-Fi, etc.).

  1. 1
    Sign in to Marquis IQ

    Go to app.marquisiq.com and click the Sign In button in the top-right corner. Log in with your Microsoft account — use your Marquis Data work account, not a personal or other company account.

    Marquis IQ sign-in page showing Welcome screen and Sign In button
    Sign in at app.marquisiq.com — use your Microsoft work account associated with Marquis IQ.
  2. 2
    Open the User Menu

    After signing in, click the initials avatar in the top-right corner (e.g., CF) to open the User Menu. It shows your name, email, and current IP address.

  3. 3
    Click "Allow Database Access"

    Click the blue Allow Database Access link next to your IP address. A confirmation banner will appear. Your IP is now whitelisted on the Azure SQL firewall.

    User Menu showing email, name, IP address and Allow Database Access link
    The User Menu shows your current IP address. Click Allow Database Access to whitelist it.
  4. 4
    Remember: repeat this for every new location

    Your IP whitelist entry is tied to your current network. Any time you connect from a new IP address (different office, home network, VPN, etc.) you will need to repeat steps 1–3 before Excel can refresh.

💡
Getting an Excel refresh error that mentions your IP address? Jump straight to Phase 1 — your IP just needs to be re-whitelisted.
2
Open the Excel File from Marquis IQ
From Files → Excel Templates

Your organization's pre-configured Excel template files live in the Files area of Marquis IQ. These files already contain the data connection — you don't need to set one up manually.

  1. 5
    Navigate to Files → Excel Templates

    In Marquis IQ, click the FILES tab in the App Bar. In the Folder Browser, open the Excel Templates folder. Click the file you want to work with to download it.

  2. 6
    Open the file and click "Enable Editing"

    When Excel opens the downloaded file, it will show a Protected View warning bar at the top. Click Enable Editing to allow the data connection to work. The file contains customer and operational data — it is safe to enable.

    Excel file open in Protected View with yellow Enable Editing bar and customer data rows
    Excel opens the file in Protected View. Click Enable Editing in the yellow bar to proceed.
3
Refresh the Data Connection
Data tab → Refresh All → sign in with Microsoft
  1. 7
    Click the Data tab → Refresh All

    In Excel, select the Data tab in the ribbon. Click the Refresh All button (or the dropdown arrow beneath it and choose Refresh All).

    Excel Data ribbon with Refresh All dropdown open showing Refresh All option
    Data tab → Refresh All. Use the dropdown arrow if you want to refresh only the current query.
  2. 8
    Approve the Native Database Query

    A Native Database Query dialog will appear asking you to approve the stored procedure query. This is expected — the template runs a pre-built Marquis IQ stored procedure to load your data. Click Run to continue.

    Native Database Query dialog showing EXEC mymarquis.Customers_v101025 with Run and Cancel buttons
    Click Run to approve the native query. The stored procedure shown (e.g., EXEC mymarquis.Customers_v101025) is the Marquis IQ data loader.
  3. 9
    Sign in with your Microsoft account

    A SQL Server database dialog will appear. Click Microsoft account in the left panel, then click Sign in. The Microsoft account picker will open — select your Marquis IQ account (your work email). If you see an error about the selected account not being in the tenant, pick the correct account from the list.

    SQL Server database dialog showing Microsoft account tab with Sign in button
    Select Microsoft account on the left, then click Sign in. Use your Marquis IQ work email.
  4. 10
    Confirm sign-in and click Connect

    After authenticating, the dialog will update to show "You are currently signed in." Click the Connect button. Excel will load your live Marquis IQ data into the spreadsheet.

    SQL Server database dialog showing You are currently signed in with Connect button
    Once signed in, click Connect to load your data. The spreadsheet will populate with live results.
💡
Once connected, Excel will remember your credentials for subsequent refreshes on the same network. Just open the file and click Refresh All — you won't need to sign in again until your IP changes.

Troubleshooting

Clearing Your Data Source Settings

If you're having persistent connection issues (wrong account cached, credential mismatch), clearing the stored data source settings often resolves it.

  1. 1
    Data tab → Get Data → Data Source Settings

    In Excel, click the Data tab. Click the Get Data dropdown button on the far left of the ribbon. At the bottom of the menu, select Data Source Settings…

    Excel Get Data dropdown menu with Data Source Settings option at the bottom
    Get Data → Data Source Settings is near the bottom of the Get Data menu.
  2. 2
    Select the Marquis IQ entry and click "Clear Permissions"

    In the Data Source Settings dialog, select Global permissions. Select the marquis-dev.database.windows.net entry (or the one with ;Demo appended). Click Clear Permissions. Repeat for both entries if both are listed.

    Data source settings dialog with Global permissions selected, Marquis server entries listed, and Clear Permissions button
    Select the Marquis server entry under Global permissions, then click Clear Permissions.
  3. 3
    Close and reconnect

    Click Close to dismiss the dialog. Return to the Data tab and click Refresh All to reconnect from scratch using the steps in Phase 3.

Error Reference

🔶
Error Refreshing Excel Query — IP Not Allowed

Message: "Client with IP address 'x.x.x.x' is not allowed to access the server."
Cause: Your current IP address has not been whitelisted on the Marquis IQ Azure SQL firewall.
Fix: Follow Phase 1 — Whitelist Your IP Address. Changes take up to 5 minutes to propagate.

🔶
Excel — "We couldn't authenticate with the credentials provided"

Cause: A Microsoft account is cached in Excel that doesn't match the account authorized for this Marquis IQ database, or the cached credentials have expired.
Fix: Clear your data source settings to remove the cached account, then go through Phase 3 again and select the correct Microsoft account.

SQL Server database dialog showing We couldn't authenticate with the credentials provided error
This error means the wrong account is cached. Clear data source settings and sign in again.
🔴
Sign-in — "Selected user account does not exist in tenant 'Marquis Data'"

Cause: The Microsoft account you selected has not been granted access to the Marquis Data Azure tenant. This appears at the Microsoft account picker when signing in. It's common when someone has multiple accounts signed in (e.g., a personal account and a work account).
Fix: In the account picker, select your correct Marquis IQ account — typically the email ending in @marquisdata.com or your organization's domain. If none of your accounts work, contact support@marquisdata.com to have your account provisioned.

Microsoft Pick an account dialog showing red error: Selected user account does not exist in tenant Marquis Data
When you see this error, select your Marquis IQ work account from the list rather than a personal or other company account.

Need Help?

The Marquis team is ready to help with connection issues, account access, and Excel template questions.


Related Topics

Link copied